fix pool version ordering
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class AddIndexUpdatedAtOnPoolVersions < ActiveRecord::Migration
|
||||
def up
|
||||
execute "set statement_timeout = 0"
|
||||
add_index :post_versions, :updated_at
|
||||
end
|
||||
|
||||
def down
|
||||
execute "set statement_timeout = 0"
|
||||
remove_index :post_versions, :updated_at
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user