summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 16:04:58 +0100
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-06 16:04:58 +0100
commitb893a858808f1e2aefca4e3f665d633d31fa5937 (patch)
tree336671349c7ab75ad33093115c70d5e79485e48f /db
parent61501a07cb9c1fff5a30662b3e3815976f2777cb (diff)
downloadgitlab-ce-b893a858808f1e2aefca4e3f665d633d31fa5937.tar.gz
db/schema.rb cleanup
Diffstat (limited to 'db')
-rw-r--r--db/schema.rb12
1 files changed, 3 insertions, 9 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 548f4711339..507024c20de 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -474,8 +474,6 @@ ActiveRecord::Schema.define(version: 20171031100710) do
t.string "encrypted_password_iv"
t.text "encrypted_token"
t.string "encrypted_token_iv"
- t.datetime_with_timezone "created_at", null: false
- t.datetime_with_timezone "updated_at", null: false
end
add_index "cluster_platforms_kubernetes", ["cluster_id"], name: "index_cluster_platforms_kubernetes_on_cluster_id", unique: true, using: :btree
@@ -499,14 +497,11 @@ ActiveRecord::Schema.define(version: 20171031100710) do
t.text "status_reason"
t.string "gcp_project_id", null: false
t.string "zone", null: false
- t.integer "num_nodes", null: false
t.string "machine_type"
t.string "operation_id"
t.string "endpoint"
t.text "encrypted_access_token"
t.string "encrypted_access_token_iv"
- t.datetime_with_timezone "created_at", null: false
- t.datetime_with_timezone "updated_at", null: false
end
add_index "cluster_providers_gcp", ["cluster_id"], name: "index_cluster_providers_gcp_on_cluster_id", unique: true, using: :btree
@@ -519,12 +514,11 @@ ActiveRecord::Schema.define(version: 20171031100710) do
t.datetime_with_timezone "updated_at", null: false
t.boolean "enabled", default: true
t.string "name", 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
end
+ add_index "clusters", ["enabled"], name: "index_clusters_on_enabled", using: :btree
+ add_index "clusters", ["user_id"], name: "index_clusters_on_user_id", using: :btree
+
create_table "clusters_applications_helm", force: :cascade do |t|
t.integer "cluster_id", null: false
t.datetime_with_timezone "created_at", null: false