diff options
Diffstat (limited to 'model/sql/migration001.sql')
-rw-r--r-- | model/sql/migration001.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/model/sql/migration001.sql b/model/sql/migration001.sql new file mode 100644 index 0000000..64c7ee3 --- /dev/null +++ b/model/sql/migration001.sql @@ -0,0 +1,8 @@ +-- Database schema 1 is the first schema with numerical versioning. + +DELETE FROM metadata WHERE key = 'version'; + +INSERT INTO metadata + (key, value) +VALUES + ('schema_version', '2'); |