diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-01 13:56:27 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-11-01 13:58:08 +0100 |
commit | 1427bdcadf5f4026d141a5c4e93db8b1b00fe40a (patch) | |
tree | 2a7fe415bce79a87bccc154a68b30ea7d45add48 /db | |
parent | ccf09824f6d3ef41db4be3b40aa99b6dfd0dc9ac (diff) | |
download | gitlab-ce-1427bdcadf5f4026d141a5c4e93db8b1b00fe40a.tar.gz |
Revert back FetchKubernetesTokenService
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20171013094327_create_new_clusters_architectures.rb | 4 | ||||
-rw-r--r-- | db/schema.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/db/migrate/20171013094327_create_new_clusters_architectures.rb b/db/migrate/20171013094327_create_new_clusters_architectures.rb index a212288f859..b196aa1949c 100644 --- a/db/migrate/20171013094327_create_new_clusters_architectures.rb +++ b/db/migrate/20171013094327_create_new_clusters_architectures.rb @@ -5,8 +5,8 @@ class CreateNewClustersArchitectures < ActiveRecord::Migration create_table :clusters do |t| t.references :user, null: false, index: true, foreign_key: { on_delete: :nullify } - t.integer :provider_type, null: false - t.integer :platform_type, null: false + t.integer :provider_type + t.integer :platform_type t.datetime_with_timezone :created_at, null: false t.datetime_with_timezone :updated_at, null: false diff --git a/db/schema.rb b/db/schema.rb index 24f2d4b439c..d76977d45f2 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -508,8 +508,8 @@ ActiveRecord::Schema.define(version: 20171017145932) do create_table "clusters", force: :cascade do |t| t.integer "user_id", null: false - t.integer "provider_type", null: false - t.integer "platform_type", null: false + t.integer "provider_type" + t.integer "platform_type" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.boolean "enabled", default: true |