diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-12-04 09:11:33 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-12-04 09:11:33 +0100 |
commit | 6b4926f2aa9df7582778e3e50b8841d673f1b84c (patch) | |
tree | f292d22e9757913bb91ba38bf64a05f4b16f3130 /db/schema.rb | |
parent | 68780d29ad79627da94d805855254b43d354cfdf (diff) | |
parent | 83f0798e7dc588f0e4cb6816daadeef7dbfc8b81 (diff) | |
download | gitlab-ce-6b4926f2aa9df7582778e3e50b8841d673f1b84c.tar.gz |
Merge commit '83f0798e7dc588f0e4cb6816daadeef7dbfc8b81' into fix/gb/encrypt-runners-tokens
* commit '83f0798e7dc588f0e4cb6816daadeef7dbfc8b81': (101 commits)
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index 2e9b2a9ac89..5627d389677 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1606,6 +1606,15 @@ ActiveRecord::Schema.define(version: 20181126153547) do t.index ["status"], name: "index_project_mirror_data_on_status", using: :btree end + create_table "project_repositories", id: :bigserial, force: :cascade do |t| + t.integer "shard_id", null: false + t.string "disk_path", null: false + t.integer "project_id", null: false + t.index ["disk_path"], name: "index_project_repositories_on_disk_path", unique: true, using: :btree + t.index ["project_id"], name: "index_project_repositories_on_project_id", unique: true, using: :btree + t.index ["shard_id"], name: "index_project_repositories_on_shard_id", using: :btree + end + create_table "project_statistics", force: :cascade do |t| t.integer "project_id", null: false t.integer "namespace_id", null: false @@ -2392,6 +2401,8 @@ ActiveRecord::Schema.define(version: 20181126153547) do add_foreign_key "project_group_links", "projects", name: "fk_daa8cee94c", on_delete: :cascade add_foreign_key "project_import_data", "projects", name: "fk_ffb9ee3a10", on_delete: :cascade add_foreign_key "project_mirror_data", "projects", on_delete: :cascade + add_foreign_key "project_repositories", "projects", on_delete: :cascade + add_foreign_key "project_repositories", "shards", on_delete: :restrict add_foreign_key "project_statistics", "projects", on_delete: :cascade add_foreign_key "projects", "pool_repositories", name: "fk_6e5c14658a", on_delete: :nullify add_foreign_key "prometheus_metrics", "projects", on_delete: :cascade |