Skip to content

Update to fix redshift error as some of the ddl queries can not be run within the same transaction #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dingn1
Copy link
Contributor

@dingn1 dingn1 commented Jul 1, 2019

PG::InternalError: ERROR: cannot insert/update into table after dropping non-nullable column

…n within the same transaction

PG::InternalError: ERROR:  cannot insert/update into table after dropping non-nullable column
@dingn1
Copy link
Contributor Author

dingn1 commented Jul 1, 2019

This fixes the error where column changes can not happen in same transaction, movibg each migration to its own transaction so we can put the changes into two migration files instead of having to do it through two deploys.

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

Successfully merging this pull request may close these issues.

1 participant