summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/schema.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 0a46f2f..52a2b2c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20141031114419) do
+ActiveRecord::Schema.define(version: 20141031141708) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -34,6 +34,8 @@ ActiveRecord::Schema.define(version: 20141031114419) do
t.integer "commit_id"
end
+ add_index "builds", ["commit_id"], name: "index_builds_on_commit_id", using: :btree
+ add_index "builds", ["project_id", "commit_id"], name: "index_builds_on_project_id_and_commit_id", using: :btree
add_index "builds", ["project_id", "sha"], name: "index_builds_on_project_id_and_sha", using: :btree
add_index "builds", ["project_id"], name: "index_builds_on_project_id", using: :btree
add_index "builds", ["runner_id"], name: "index_builds_on_runner_id", using: :btree
@@ -49,6 +51,10 @@ ActiveRecord::Schema.define(version: 20141031114419) do
t.datetime "updated_at"
end
+ add_index "commits", ["project_id", "sha"], name: "index_commits_on_project_id_and_sha", using: :btree
+ add_index "commits", ["project_id"], name: "index_commits_on_project_id", using: :btree
+ add_index "commits", ["sha"], name: "index_commits_on_sha", using: :btree
+
create_table "projects", force: true do |t|
t.string "name", null: false
t.integer "timeout", default: 1800, null: false