Create migration to add latest migration to database

main
sudoer777 2021-12-01 11:04:18 -07:00
parent fa13b227d2
commit 6621bf3d7e
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
BEGIN;
CREATE TABLE IF NOT EXISTS metadata(
property TEXT UNIQUE NOT NULL,
value TEXT NOT NULL
);
INSERT INTO metadata(property, value)
VALUES("latest_migration", "1");
COMMIT;