diff --git a/db/migrate/20191031131016_add_created_at_index_to_users.rb b/db/migrate/20191031131016_add_created_at_index_to_users.rb index aeb05eb2d..9c81f780d 100644 --- a/db/migrate/20191031131016_add_created_at_index_to_users.rb +++ b/db/migrate/20191031131016_add_created_at_index_to_users.rb @@ -1,4 +1,6 @@ class AddCreatedAtIndexToUsers < ActiveRecord::Migration[5.2] + disable_ddl_transaction! + def change add_index :users, :created_at, algorithm: :concurrently end