diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170924094327_create_ci_clusters.rb | 8 | ||||
-rw-r--r-- | db/schema.rb | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/db/migrate/20170924094327_create_ci_clusters.rb b/db/migrate/20170924094327_create_ci_clusters.rb index 798c8e03b37..bef39b9808d 100644 --- a/db/migrate/20170924094327_create_ci_clusters.rb +++ b/db/migrate/20170924094327_create_ci_clusters.rb @@ -27,10 +27,10 @@ class CreateCiClusters < ActiveRecord::Migration t.string :encrypted_password_iv # GKE - t.string :gcp_project_id - t.string :cluster_zone - t.string :cluster_name - t.string :cluster_size + t.string :gcp_project_id, null: false + t.string :cluster_zone, null: false + t.string :cluster_name, null: false + t.integer :cluster_size, null: false t.string :machine_type t.string :gcp_operation_id t.string :encrypted_gcp_token diff --git a/db/schema.rb b/db/schema.rb index de844583d56..61245f3f666 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -284,10 +284,10 @@ ActiveRecord::Schema.define(version: 20170924094327) do t.string "encrypted_password" t.string "encrypted_password_salt" t.string "encrypted_password_iv" - t.string "gcp_project_id" - t.string "cluster_zone" - t.string "cluster_name" - t.string "cluster_size" + t.string "gcp_project_id", null: false + t.string "cluster_zone", null: false + t.string "cluster_name", null: false + t.integer "cluster_size", null: false t.string "machine_type" t.string "gcp_operation_id" t.string "encrypted_gcp_token" |