summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-13 16:55:57 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-13 16:55:57 +0200
commit113372173c757abcbebe26563a4301a3027f5037 (patch)
treedac32e37fc5ede9cf07848aae3ee13e007c0943c /db
parentca8ed65efc8a56aafdb2011da06dd48ec55f1e07 (diff)
downloadgitlab-ce-113372173c757abcbebe26563a4301a3027f5037.tar.gz
Update db/schema.rb
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 5c283141084..bf913e278fe 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: 20160902122721) do
+ActiveRecord::Schema.define(version: 20160907131111) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -181,6 +181,7 @@ ActiveRecord::Schema.define(version: 20160902122721) do
t.string "when"
t.text "yaml_variables"
t.datetime "queued_at"
+ t.string "token"
end
add_index "ci_builds", ["commit_id", "stage_idx", "created_at"], name: "index_ci_builds_on_commit_id_and_stage_idx_and_created_at", using: :btree
@@ -192,6 +193,7 @@ ActiveRecord::Schema.define(version: 20160902122721) do
add_index "ci_builds", ["project_id"], name: "index_ci_builds_on_project_id", using: :btree
add_index "ci_builds", ["runner_id"], name: "index_ci_builds_on_runner_id", using: :btree
add_index "ci_builds", ["status"], name: "index_ci_builds_on_status", using: :btree
+ add_index "ci_builds", ["token"], name: "index_ci_builds_on_token", unique: true, using: :btree
create_table "ci_commits", force: :cascade do |t|
t.integer "project_id"