Updates to groups sorting
• Updates to groups sorting
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class AddIndexToStatusCreatedAt < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :statuses, :created_at, algorithm: :concurrently
|
||||
add_index :statuses, :updated_at, algorithm: :concurrently
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,7 @@
|
||||
class AddIndexToUserCurrentSignInAt < ActiveRecord::Migration[5.2]
|
||||
disable_ddl_transaction!
|
||||
|
||||
def change
|
||||
add_index :users, :current_sign_in_at, algorithm: :concurrently
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user