From 6a41584aa2c1c11d0b6027eeec71fcab80ea803f Mon Sep 17 00:00:00 2001 From: Jay Date: Tue, 15 Jan 2019 20:32:32 +0800 Subject: [PATCH] add schema --- schema/20190115-1.sql | 5 +++++ schema/dbVersion.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 schema/20190115-1.sql diff --git a/schema/20190115-1.sql b/schema/20190115-1.sql new file mode 100644 index 0000000..65080ae --- /dev/null +++ b/schema/20190115-1.sql @@ -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; diff --git a/schema/dbVersion.json b/schema/dbVersion.json index edfe9ef..6ffd74a 100644 --- a/schema/dbVersion.json +++ b/schema/dbVersion.json @@ -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": [] }