Created
February 7, 2018 16:44
-
-
Save ccyrille/09fc3d8fb09a13add2a59ba53df66f5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AddIndexToUsersOnName < ActiveRecord::Migration | |
disable_ddl_transaction! | |
def change | |
add_index :users, :name, algorithm: :concurrently | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment