From 9d80d455f289aa72f7d52f986c67c6b572cfbedd Mon Sep 17 00:00:00 2001 From: William278 Date: Sun, 4 Sep 2022 23:11:01 +0300 Subject: [PATCH] Add `tags` column to database schema --- common/src/main/resources/database/mysql_schema.sql | 1 + common/src/main/resources/database/sqlite_schema.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/common/src/main/resources/database/mysql_schema.sql b/common/src/main/resources/database/mysql_schema.sql index 62ebf18d..002a2b51 100644 --- a/common/src/main/resources/database/mysql_schema.sql +++ b/common/src/main/resources/database/mysql_schema.sql @@ -51,6 +51,7 @@ CREATE TABLE IF NOT EXISTS `%saved_positions_table%` `position_id` integer NOT NULL, `name` varchar(64) NOT NULL, `description` varchar(255) NOT NULL, + `tags` mediumtext DEFAULT NULL, `timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), diff --git a/common/src/main/resources/database/sqlite_schema.sql b/common/src/main/resources/database/sqlite_schema.sql index 6aaf641f..9f5d5567 100644 --- a/common/src/main/resources/database/sqlite_schema.sql +++ b/common/src/main/resources/database/sqlite_schema.sql @@ -51,6 +51,7 @@ CREATE TABLE IF NOT EXISTS `%saved_positions_table%` `position_id` integer NOT NULL, `name` varchar(64) NOT NULL, `description` varchar(255) NOT NULL, + `tags` mediumtext DEFAULT NULL, `timestamp` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`),