diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-05-24 18:11:30 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-05-25 17:16:41 +0300 |
commit | b3cf1530829755411a7057031c2e8ea36ee31b62 (patch) | |
tree | c6e59cba4d4c5f9ed23dcae20dd773d60ef519b9 /db | |
parent | 4220e914db356f4a55c771a7ad7f559e2507dd56 (diff) | |
download | gitlab-ce-b3cf1530829755411a7057031c2e8ea36ee31b62.tar.gz |
Add oauth reference to jupyter cluster app
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20180511131058_create_clusters_applications_jupyter.rb | 1 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20180511131058_create_clusters_applications_jupyter.rb b/db/migrate/20180511131058_create_clusters_applications_jupyter.rb index 5fd39f24d98..53aee1a5abf 100644 --- a/db/migrate/20180511131058_create_clusters_applications_jupyter.rb +++ b/db/migrate/20180511131058_create_clusters_applications_jupyter.rb @@ -9,6 +9,7 @@ class CreateClustersApplicationsJupyter < ActiveRecord::Migration def change create_table :clusters_applications_jupyters do |t| t.references :cluster, null: false, unique: true, foreign_key: { on_delete: :cascade } + t.references :oauth_application t.integer :status, null: false t.string :version, null: false diff --git a/db/schema.rb b/db/schema.rb index 3a57f9ecbd2..1d0b9fab758 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -637,6 +637,7 @@ ActiveRecord::Schema.define(version: 20180521171529) do create_table "clusters_applications_jupyters", force: :cascade do |t| t.integer "cluster_id", null: false + t.integer "oauth_application_id" t.integer "status", null: false t.string "version", null: false t.string "hostname" |