From fee18fc8c348b9e6785443f2b1905dcdc663b313 Mon Sep 17 00:00:00 2001 From: 0d0acre <0d0acre@esiliati.org> Date: Sat, 21 Sep 2024 00:13:00 +0200 Subject: [PATCH] lint init db --- initDb.sql | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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