debian-mirror-gitlab/db/migrate/20150206181414_add_index_to_created_at.rb

18 lines
642 B
Ruby
Raw Normal View History

# rubocop:disable all
2018-12-23 12:14:25 +05:30
class AddIndexToCreatedAt < ActiveRecord::Migration[4.2]
2015-04-26 12:48:37 +05:30
def change
add_index "users", [:created_at, :id]
add_index "members", [:created_at, :id]
add_index "projects", [:created_at, :id]
add_index "issues", [:created_at, :id]
add_index "merge_requests", [:created_at, :id]
add_index "milestones", [:created_at, :id]
add_index "namespaces", [:created_at, :id]
add_index "notes", [:created_at, :id]
add_index "identities", [:created_at, :id]
add_index "keys", [:created_at, :id]
add_index "web_hooks", [:created_at, :id]
add_index "snippets", [:created_at, :id]
end
end