diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-13 16:07:29 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-13 16:07:29 +0200 |
commit | f3a4f854494963edeeae87a5f9b2a483f0c6dbfd (patch) | |
tree | 793f8c23984c94e60f7c793442ba1804b98a3268 /db | |
parent | 251a78022d12c62ff738540d4104bbf0730ef234 (diff) | |
download | gitlab-ce-f3a4f854494963edeeae87a5f9b2a483f0c6dbfd.tar.gz |
Update db/schema.rb
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 44482de467e..f53478a8594 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: 20160331223143) do +ActiveRecord::Schema.define(version: 20160412175417) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -168,14 +168,21 @@ ActiveRecord::Schema.define(version: 20160331223143) do t.text "yaml_errors" t.datetime "committed_at" t.integer "gl_project_id" + t.string "status" + t.datetime "started_at" + t.datetime "finished_at" + t.integer "duration" end + add_index "ci_commits", ["gl_project_id", "sha"], name: "index_ci_commits_on_gl_project_id_and_sha", using: :btree + add_index "ci_commits", ["gl_project_id", "status"], name: "index_ci_commits_on_gl_project_id_and_status", using: :btree add_index "ci_commits", ["gl_project_id"], name: "index_ci_commits_on_gl_project_id", using: :btree add_index "ci_commits", ["project_id", "committed_at", "id"], name: "index_ci_commits_on_project_id_and_committed_at_and_id", using: :btree add_index "ci_commits", ["project_id", "committed_at"], name: "index_ci_commits_on_project_id_and_committed_at", using: :btree add_index "ci_commits", ["project_id", "sha"], name: "index_ci_commits_on_project_id_and_sha", using: :btree add_index "ci_commits", ["project_id"], name: "index_ci_commits_on_project_id", using: :btree add_index "ci_commits", ["sha"], name: "index_ci_commits_on_sha", using: :btree + add_index "ci_commits", ["status"], name: "index_ci_commits_on_status", using: :btree create_table "ci_events", force: :cascade do |t| t.integer "project_id" |