Rename clusters_applications_jupyters to uncountable
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
c075a047cd
commit
db9f765852
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ module Clusters
|
|||
class Jupyter < ActiveRecord::Base
|
||||
VERSION = '0.0.1'.freeze
|
||||
|
||||
self.table_name = 'clusters_applications_jupyters'
|
||||
self.table_name = 'clusters_applications_jupyter'
|
||||
|
||||
include ::Clusters::Concerns::ApplicationCore
|
||||
include ::Clusters::Concerns::ApplicationStatus
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue