add schema

This commit is contained in:
Jay 2019-01-15 20:32:32 +08:00
parent 56bbdd1393
commit 6a41584aa2
2 changed files with 7 additions and 1 deletions

5
schema/20190115-1.sql Normal file
View File

@ -0,0 +1,5 @@
alter table public.cards
add tcgplayerid int default -1 not null;
alter table public.sets
add tcgplayerid int default -1 not null;

View File

@ -1,7 +1,8 @@
{
"versions": [
{"file": "main.sql", "version": 1},
{"file": "20190106-1.sql", "version": 2}
{"file": "20190106-1.sql", "version": 2},
{"file": "20190115-1.sql", "version": 3}
],
"test": []
}