Added new migrations
• Added: - new migrations
This commit is contained in:
7
db/migrate/20200806162649_add_index_to_statuses_reply.rb
Normal file
7
db/migrate/20200806162649_add_index_to_statuses_reply.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class AddIndexToStatusesReply < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :statuses, :reply, algorithm: :concurrently
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user