summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-27 21:01:08 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-27 21:01:08 +0900
commite9d05a2cdc24b4dc771344f26e6ffdcf0240e46c (patch)
tree1aca43cc521894908abb615244927a4d3fc62e70 /db
parent9900933432fc05a07b4c3e742c0ec3f295cf773c (diff)
downloadgitlab-ce-e9d05a2cdc24b4dc771344f26e6ffdcf0240e46c.tar.gz
Add login root. Remove ceration type.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170924094327_create_ci_clusters.rb9
-rw-r--r--db/schema.rb1
2 files changed, 0 insertions, 10 deletions
diff --git a/db/migrate/20170924094327_create_ci_clusters.rb b/db/migrate/20170924094327_create_ci_clusters.rb
index 7a35fe35605..dce3298cde2 100644
--- a/db/migrate/20170924094327_create_ci_clusters.rb
+++ b/db/migrate/20170924094327_create_ci_clusters.rb
@@ -9,7 +9,6 @@ class CreateCiClusters < ActiveRecord::Migration
# General
t.boolean :enabled, default: true
- t.integer :creation_type # manual or on_gke
# k8s integration specific
t.string :project_namespace
@@ -30,14 +29,6 @@ class CreateCiClusters < ActiveRecord::Migration
t.datetime_with_timezone :updated_at, null: false
end
- # create_table :ci_gke_clusters do |t|
- # t.integer :ci_cluster_id
- # t.string :gcp_project_id
- # t.string :cluster_zone
- # t.string :cluster_name
- # end
- # add_foreign_key :ci_gke_clusters, :ci_clusters
-
# TODO: fk, index, encypt
add_foreign_key :ci_clusters, :projects
diff --git a/db/schema.rb b/db/schema.rb
index 8000229d5fa..3908f06821e 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -272,7 +272,6 @@ ActiveRecord::Schema.define(version: 20170924094327) do
t.integer "owner_id"
t.integer "service_id"
t.boolean "enabled", default: true
- t.integer "creation_type"
t.string "project_namespace"
t.string "end_point"
t.text "ca_cert"