summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-30 12:09:12 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-30 12:09:12 +0300
commitdb9f765852d9fef464e69c0bf47a382f2ab7219d (patch)
tree0d5cb92c6d0ece686e9bfa0e9f676a10a714db49 /db
parentc075a047cd89ad53839b877a6dc8f4dbf970c5fb (diff)
downloadgitlab-ce-db9f765852d9fef464e69c0bf47a382f2ab7219d.tar.gz
Rename clusters_applications_jupyters to uncountable
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180511131058_create_clusters_applications_jupyter.rb2
-rw-r--r--db/schema.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20180511131058_create_clusters_applications_jupyter.rb b/db/migrate/20180511131058_create_clusters_applications_jupyter.rb
index 53aee1a5abf..91210f0caa6 100644
--- a/db/migrate/20180511131058_create_clusters_applications_jupyter.rb
+++ b/db/migrate/20180511131058_create_clusters_applications_jupyter.rb
@@ -7,7 +7,7 @@ class CreateClustersApplicationsJupyter < ActiveRecord::Migration
DOWNTIME = false
def change
- create_table :clusters_applications_jupyters do |t|
+ create_table :clusters_applications_jupyter do |t|
t.references :cluster, null: false, unique: true, foreign_key: { on_delete: :cascade }
t.references :oauth_application
diff --git a/db/schema.rb b/db/schema.rb
index 7c6d5b92c80..207ff976407 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -635,7 +635,7 @@ ActiveRecord::Schema.define(version: 20180521171529) do
t.string "external_ip"
end
- create_table "clusters_applications_jupyters", force: :cascade do |t|
+ create_table "clusters_applications_jupyter", force: :cascade do |t|
t.integer "cluster_id", null: false
t.integer "oauth_application_id"
t.integer "status", null: false