forked from 3wordchant/capsul-flask
postgres automatic schema management roughly working
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
CREATE TABLE schemaversion (
|
||||
version INT PRIMARY KEY NOT NULL
|
||||
);
|
||||
|
||||
INSERT INTO schemaversion(version) VALUES (1);
|
1
capsulflask/schema_migrations/02_up_test.sql
Normal file
1
capsulflask/schema_migrations/02_up_test.sql
Normal file
@ -0,0 +1 @@
|
||||
UPDATE schemaversion SET version = 2;
|
Reference in New Issue
Block a user