pi-hole/advanced/Scripts/database_migration/gravity/16_to_17.sql

14 lines
219 B
MySQL
Raw Normal View History

.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;