lint init db

This commit is contained in:
0d0acre 2024-09-21 00:13:00 +02:00
parent eb50553931
commit fee18fc8c3

View file

@ -1,12 +1,12 @@
CREATE DATABASE ruscomap;
CREATE USER 'ruscone'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON ruscomap.* TO 'ruscone'@'localhost';
FLUSH PRIVILEGES;
CREATE DATABASE ruscomap;
CREATE USER 'ruscone'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON ruscomap.* TO 'ruscone'@'localhost';
FLUSH PRIVILEGES;
CREATE TABLE ruscomap.markers (
name VARCHAR(256) NOT NULL,
description VARCHAR(1024),
filename VARCHAR(256) NOT NULL,
coordinate POINT NOT NULL,
ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
CREATE TABLE ruscomap.markers (
name VARCHAR(256) NOT NULL,
description VARCHAR(1024),
filename VARCHAR(256) NOT NULL,
coordinate POINT NOT NULL,
ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);