Skip to content

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

Open
dingn1 wants to merge 1 commit into
joker1007:masterfrom
dingn1:patch-1
Open

Update to fix redshift error as some of the ddl queries can not be run within the same transaction#2
dingn1 wants to merge 1 commit into
joker1007:masterfrom
dingn1:patch-1

Conversation

@dingn1

@dingn1 dingn1 commented Jul 1, 2019

Copy link
Copy Markdown
Contributor

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

dingn1 commented Jul 1, 2019

Copy link
Copy Markdown
Contributor Author

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