diff --git a/database/migrations/1_add_metadata_table.sql b/database/migrations/1_add_metadata_table.sql new file mode 100644 index 0000000..2bfb449 --- /dev/null +++ b/database/migrations/1_add_metadata_table.sql @@ -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; \ No newline at end of file