Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate migration #168

Open
bcomnes opened this issue Jan 25, 2019 · 0 comments
Open

Automate migration #168

bcomnes opened this issue Jan 25, 2019 · 0 comments

Comments

@bcomnes
Copy link
Contributor

bcomnes commented Jan 25, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant