Disable transactions for relation member index changes
This commit is contained in:
parent
6e28c5fe19
commit
64952fef8b
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
class CorrectRelationMembersPrimaryKey < ActiveRecord::Migration[7.0]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def up
|
||||
alter_primary_key :current_relation_members, [:relation_id, :sequence_id]
|
||||
alter_primary_key :relation_members, [:relation_id, :version, :sequence_id]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue