1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00
pi-hole/advanced/Scripts/database_migration/gravity/1_to_2.sql

10 lines
237 B
MySQL
Raw Normal View History

CREATE TABLE audit
(
id INTEGER PRIMARY KEY AUTOINCREMENT,
domain TEXT UNIQUE NOT NULL,
date_added INTEGER NOT NULL DEFAULT (cast(strftime('%s', 'now') as int)),
comment TEXT
);
UPDATE info SET value = 2 WHERE property = 'version';