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
path: root/db
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-27 01:05:28 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-01-27 01:24:27 +0300
commit860c7c4bd41ab6353834e8e765f5cd86d93a41c2 (patch)
tree5b3db0206526bae5e8a1e01e7fdc0789374a42f4 /db
parentbca10385539b44b39c28586d2d795e66a5e5e907 (diff)
Update database schema
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb14
1 files changed, 13 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 4e82a688725..fc12e5752b3 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: 20180115201419) do
+ActiveRecord::Schema.define(version: 20180125214301) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -203,6 +203,17 @@ ActiveRecord::Schema.define(version: 20180115201419) do
add_index "broadcast_messages", ["starts_at", "ends_at", "id"], name: "index_broadcast_messages_on_starts_at_and_ends_at_and_id", using: :btree
+ create_table "callouts", force: :cascade do |t|
+ t.string "feature_name", null: false
+ t.boolean "dismissed_state", null: false
+ t.integer "user_id", null: false
+ t.datetime_with_timezone "created_at", null: false
+ t.datetime_with_timezone "updated_at", null: false
+ end
+
+ add_index "callouts", ["feature_name"], name: "index_callouts_on_feature_name", unique: true, using: :btree
+ add_index "callouts", ["user_id"], name: "index_callouts_on_user_id", using: :btree
+
create_table "chat_names", force: :cascade do |t|
t.integer "user_id", null: false
t.integer "service_id", null: false
@@ -1924,6 +1935,7 @@ ActiveRecord::Schema.define(version: 20180115201419) do
add_index "web_hooks", ["type"], name: "index_web_hooks_on_type", using: :btree
add_foreign_key "boards", "projects", name: "fk_f15266b5f9", on_delete: :cascade
+ add_foreign_key "callouts", "users", on_delete: :cascade
add_foreign_key "chat_teams", "namespaces", on_delete: :cascade
add_foreign_key "ci_build_trace_section_names", "projects", on_delete: :cascade
add_foreign_key "ci_build_trace_sections", "ci_build_trace_section_names", column: "section_name_id", name: "fk_264e112c66", on_delete: :cascade