diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2018-03-01 23:46:02 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-03-01 23:46:02 +0000 |
commit | c607008ee55e35465e04a938a341f2f24cb6761f (patch) | |
tree | 5fbabbeec70c9129b5db9b184d7620dbc35aaac2 /db/schema.rb | |
parent | 947a7f858765fdbad2f4084bed24994329d62337 (diff) | |
download | gitlab-ce-c607008ee55e35465e04a938a341f2f24cb6761f.tar.gz |
Extend Cluster Applications to install GitLab Runner to Kubernetes cluster
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index 773cf8b4d3f..db8bafe9677 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -582,6 +582,19 @@ ActiveRecord::Schema.define(version: 20180301084653) do t.datetime_with_timezone "updated_at", null: false end + create_table "clusters_applications_runners", force: :cascade do |t| + t.integer "cluster_id", null: false + t.integer "runner_id" + t.integer "status", null: false + t.datetime_with_timezone "created_at", null: false + t.datetime_with_timezone "updated_at", null: false + t.string "version", null: false + t.text "status_reason" + end + + add_index "clusters_applications_runners", ["cluster_id"], name: "index_clusters_applications_runners_on_cluster_id", unique: true, using: :btree + add_index "clusters_applications_runners", ["runner_id"], name: "index_clusters_applications_runners_on_runner_id", using: :btree + create_table "container_repositories", force: :cascade do |t| t.integer "project_id", null: false t.string "name", null: false @@ -1988,6 +2001,8 @@ ActiveRecord::Schema.define(version: 20180301084653) do add_foreign_key "cluster_providers_gcp", "clusters", on_delete: :cascade add_foreign_key "clusters", "users", on_delete: :nullify add_foreign_key "clusters_applications_helm", "clusters", on_delete: :cascade + add_foreign_key "clusters_applications_runners", "ci_runners", column: "runner_id", name: "fk_02de2ded36", on_delete: :nullify + add_foreign_key "clusters_applications_runners", "clusters", on_delete: :cascade add_foreign_key "container_repositories", "projects" add_foreign_key "deploy_keys_projects", "projects", name: "fk_58a901ca7e", on_delete: :cascade add_foreign_key "deployments", "projects", name: "fk_b9a3851b82", on_delete: :cascade |