Fix to PostgreSQL upgrade
This commit is contained in:
parent
2bb6287579
commit
08c6b2886e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ BEGIN;
|
|||
;
|
||||
ALTER TABLE pending_transactions ADD COLUMN purchase_time timestamp;
|
||||
|
||||
UPDATE transactions SET purchase_time = submitted_at;
|
||||
UPDATE pending_transactions SET purchase_time = submitted_at;
|
||||
|
||||
ALTER TABLE pending_transactions ALTER COLUMN purchase_time SET NOT NULL;
|
||||
|
||||
|
|
Reference in a new issue