Updates to groups sorting

• Updates to groups sorting
This commit is contained in:
mgabdev
2020-08-08 13:08:48 -05:00
parent d3aa5ddf4b
commit 4a8cd0b585
8 changed files with 47 additions and 6 deletions

View File

@@ -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

View File

@@ -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