Add antigravity support to gravity
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
13
advanced/Scripts/database_migration/gravity/16_to_17.sql
Normal file
13
advanced/Scripts/database_migration/gravity/16_to_17.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
.timeout 30000
|
||||
|
||||
PRAGMA FOREIGN_KEYS=OFF;
|
||||
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
ALTER TABLE adlist ADD COLUMN type INTEGER NOT NULL DEFAULT 0;
|
||||
|
||||
UPDATE adlist SET type = 0;
|
||||
|
||||
UPDATE info SET value = 17 WHERE property = 'version';
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user