Add disable_ddl_transaction to user created_at migration (#4736) [deploy]
This commit is contained in:
parent
dca66bd6a8
commit
2f53034635
1 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,6 @@
|
|||
class AddCreatedAtIndexToUsers < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :users, :created_at, algorithm: :concurrently
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue