gocommerce icon indicating copy to clipboard operation
gocommerce copied to clipboard

Automate migration

Open bcomnes opened this issue 7 years ago • 0 comments

When redeploying the recent changes made by @mraerino, I had to perform a by hand migration:

ALTER TABLE test_invoice_numbers DROP COLUMN id;
ALTER TABLE test_invoice_numbers ADD PRIMARY KEY (instance_id);

We should automate this if we can. Close this issue by doing that, or deciding not to and documenting it somewhere.

bcomnes avatar Jan 25 '19 20:01 bcomnes