add user_id index in the build_lists table
This commit is contained in:
parent
acbbe5432f
commit
ddf9987d21
|
@ -0,0 +1,5 @@
|
|||
class AddUserIdIndexToBuildLists < ActiveRecord::Migration
|
||||
def change
|
||||
add_index :build_lists, :user_id
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150519032855) do
|
||||
ActiveRecord::Schema.define(version: 20150529034800) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -156,6 +156,7 @@ ActiveRecord::Schema.define(version: 20150519032855) do
|
|||
t.index ["project_id", "save_to_repository_id", "build_for_platform_id", "arch_id"], :name => "maintainer_search_index"
|
||||
t.index ["project_id"], :name => "index_build_lists_on_project_id"
|
||||
t.index ["updated_at"], :name => "index_build_lists_on_updated_at", :order => {"updated_at" => :desc}
|
||||
t.index ["user_id"], :name => "index_build_lists_on_user_id"
|
||||
end
|
||||
|
||||
create_table "projects", force: true do |t|
|
||||
|
|
Loading…
Reference in New Issue