diff --git a/initDb.sql b/initDb.sql index 240652a..b9023aa 100644 --- a/initDb.sql +++ b/initDb.sql @@ -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 +); \ No newline at end of file