Updated DB and added more DateTime

This commit is contained in:
Finn 2017-08-14 12:45:54 +01:00
parent f9703b6561
commit b44a256434
13 changed files with 1885 additions and 3 deletions

View file

@ -0,0 +1,15 @@
-- Convert schema 'share/ddl/_source/deploy/2/001-auto.yml' to 'share/ddl/_source/deploy/3/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE transactions ADD COLUMN purchase_time timestamp;
UPDATE transactions SET purchase_time = submitted_at;
ALTER TABLE transactions ALTER COLUMN purchase_time SET NOT NULL;
;
COMMIT;