Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-20 14:17:48 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-20 14:30:36 +0300
commite389507650769304bd61f7a82431cc6c07feb364 (patch)
treefb63f427197f8f0a6234569d2b82d71ecce9ee8f /db/schema.rb
parent470661e1a70bd3c8415387e9068823536d1fb1bc (diff)
Add optimistic locking column to ci_stages table
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 862b2e21f4d..567ba4d061b 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: 20170717150329) do
+ActiveRecord::Schema.define(version: 20170720111708) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -366,6 +366,7 @@ ActiveRecord::Schema.define(version: 20170717150329) do
t.datetime "updated_at"
t.string "name"
t.integer "status"
+ t.integer "lock_version"
end
add_index "ci_stages", ["pipeline_id", "name"], name: "index_ci_stages_on_pipeline_id_and_name", using: :btree