Skip to content
Snippets Groups Projects
Unverified Commit db9f7658 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Rename clusters_applications_jupyters to uncountable

parent c075a047
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
 
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment