From 2f53034635ebdcd482df5cc6524b24caa92fc2b0 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Wed, 6 Nov 2019 17:01:44 -0500 Subject: [PATCH] Add disable_ddl_transaction to user created_at migration (#4736) [deploy] --- db/migrate/20191031131016_add_created_at_index_to_users.rb | 2 ++ 1 file changed, 2 insertions(+) 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