Create migration to add latest migration to database
parent
fa13b227d2
commit
6621bf3d7e
|
@ -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;
|
Reference in New Issue