diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-09-05 16:48:46 +0200 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-09-05 17:26:46 +0200 |
commit | c54494e22adf6d157e05933aa37d182d2f3c1ce6 (patch) | |
tree | 8b2e622cb85fdb55ebc685a61f11c7772dd6d13e /db/schema.rb | |
parent | 5e06c377452d839fdec74d9542c115d667b2963b (diff) | |
download | gitlab-ce-c54494e22adf6d157e05933aa37d182d2f3c1ce6.tar.gz |
Make `identifier:` unique
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index c3d4eccd826..5fa471a917f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1712,6 +1712,7 @@ ActiveRecord::Schema.define(version: 20180831164909) do add_index "prometheus_metrics", ["common"], name: "index_prometheus_metrics_on_common", using: :btree add_index "prometheus_metrics", ["group"], name: "index_prometheus_metrics_on_group", using: :btree + add_index "prometheus_metrics", ["identifier"], name: "index_prometheus_metrics_on_identifier", unique: true, using: :btree add_index "prometheus_metrics", ["project_id"], name: "index_prometheus_metrics_on_project_id", using: :btree create_table "protected_branch_merge_access_levels", force: :cascade do |t| |