mirror of
https://github.com/Cernobor/oko-server.git
synced 2025-02-24 08:27:17 +00:00
DB migration, small technicalities.
* DB migration rewritten: * Migration scripts are embedded as FS. * Migration versions are handled automatically. * Use generics in utils.
This commit is contained in:
@@ -21,5 +21,3 @@ CREATE TABLE feature_photos (
|
||||
thumbnail_contents blob NOT NULL,
|
||||
contents blob NOT NULL
|
||||
);
|
||||
|
||||
PRAGMA user_version = 1;
|
||||
@@ -3,5 +3,3 @@ CREATE TABLE proposals (
|
||||
description text NOT NULL,
|
||||
how text NOT NULL
|
||||
);
|
||||
|
||||
PRAGMA user_version = 2;
|
||||
Reference in New Issue
Block a user