Fixed errors and tests and updated DB
This commit is contained in:
parent
b44a256434
commit
65d5bab444
11 changed files with 1859 additions and 3 deletions
15
share/ddl/PostgreSQL/upgrade/3-4/001-auto.sql
Normal file
15
share/ddl/PostgreSQL/upgrade/3-4/001-auto.sql
Normal file
|
@ -0,0 +1,15 @@
|
|||
-- Convert schema 'share/ddl/_source/deploy/3/001-auto.yml' to 'share/ddl/_source/deploy/4/001-auto.yml':;
|
||||
|
||||
;
|
||||
BEGIN;
|
||||
|
||||
;
|
||||
ALTER TABLE pending_transactions ADD COLUMN purchase_time timestamp;
|
||||
|
||||
UPDATE transactions SET purchase_time = submitted_at;
|
||||
|
||||
ALTER TABLE pending_transactions ALTER COLUMN purchase_time SET NOT NULL;
|
||||
|
||||
;
|
||||
|
||||
COMMIT;
|
Reference in a new issue