From b17b8cb259beb1a90154985c16845545a768f07c Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Wed, 3 May 2023 18:02:40 +0200 Subject: [PATCH] Changed CORE plugin DB schema --- core/metaData.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/core/metaData.json b/core/metaData.json index e3df92f..07fcab4 100644 --- a/core/metaData.json +++ b/core/metaData.json @@ -9,7 +9,7 @@ "default" : "", "CZ" : "" }, - "schemaVersion" : 1, + "schemaVersion" : 2, "sql" : [ "CREATE TABLE \"User\" ( \"id\" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, @@ -91,7 +91,14 @@ CREATE TABLE \"NumberSeries\" ( FOREIGN KEY (\"season\") REFERENCES \"Season\" (\"id\") DEFERRABLE INITIALLY DEFERRED); -" ], +", + +"DROP INDEX \"Role_listPermissions_index_i\"; +ALTER TABLE \"Role_listPermissions\" DROP \"index\"; +DROP INDEX \"User_listRoles_index_i\"; +ALTER TABLE \"User_listRoles\" DROP \"index\"; +" + ], "dependencies" : [] } }