Commit 138d0f13 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Rebuild schema from db:migrate:reset

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent dfbfe5d0
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20171106180641) do ActiveRecord::Schema.define(version: 20171107144726) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
...@@ -32,9 +32,9 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -32,9 +32,9 @@ ActiveRecord::Schema.define(version: 20171106180641) do
t.text "description", null: false t.text "description", null: false
t.string "logo" t.string "logo"
t.integer "updated_by" t.integer "updated_by"
t.string "header_logo"
t.datetime_with_timezone "created_at", null: false t.datetime_with_timezone "created_at", null: false
t.datetime_with_timezone "updated_at", null: false t.datetime_with_timezone "updated_at", null: false
t.string "header_logo"
t.text "description_html" t.text "description_html"
t.integer "cached_markdown_version" t.integer "cached_markdown_version"
end end
...@@ -443,8 +443,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -443,8 +443,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do
t.integer "auto_canceled_by_id" t.integer "auto_canceled_by_id"
t.integer "pipeline_schedule_id" t.integer "pipeline_schedule_id"
t.integer "source" t.integer "source"
t.integer "config_source"
t.boolean "protected" t.boolean "protected"
t.integer "config_source"
t.integer "failure_reason" t.integer "failure_reason"
end end
...@@ -710,8 +710,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -710,8 +710,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do
t.datetime "created_at" t.datetime "created_at"
t.datetime "updated_at" t.datetime "updated_at"
t.string "confirmation_token" t.string "confirmation_token"
t.datetime "confirmed_at" t.datetime_with_timezone "confirmed_at"
t.datetime "confirmation_sent_at" t.datetime_with_timezone "confirmation_sent_at"
end end
add_index "emails", ["confirmation_token"], name: "index_emails_on_confirmation_token", unique: true, using: :btree add_index "emails", ["confirmation_token"], name: "index_emails_on_confirmation_token", unique: true, using: :btree
...@@ -1038,8 +1038,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -1038,8 +1038,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do
add_index "gpg_signatures", ["project_id"], name: "index_gpg_signatures_on_project_id", using: :btree add_index "gpg_signatures", ["project_id"], name: "index_gpg_signatures_on_project_id", using: :btree
create_table "group_custom_attributes", force: :cascade do |t| create_table "group_custom_attributes", force: :cascade do |t|
t.datetime "created_at", null: false t.datetime_with_timezone "created_at", null: false
t.datetime "updated_at", null: false t.datetime_with_timezone "updated_at", null: false
t.integer "group_id", null: false t.integer "group_id", null: false
t.string "key", null: false t.string "key", null: false
t.string "value", null: false t.string "value", null: false
...@@ -1667,8 +1667,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -1667,8 +1667,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do
add_index "project_auto_devops", ["project_id"], name: "index_project_auto_devops_on_project_id", unique: true, using: :btree add_index "project_auto_devops", ["project_id"], name: "index_project_auto_devops_on_project_id", unique: true, using: :btree
create_table "project_custom_attributes", force: :cascade do |t| create_table "project_custom_attributes", force: :cascade do |t|
t.datetime "created_at", null: false t.datetime_with_timezone "created_at", null: false
t.datetime "updated_at", null: false t.datetime_with_timezone "updated_at", null: false
t.integer "project_id", null: false t.integer "project_id", null: false
t.string "key", null: false t.string "key", null: false
t.string "value", null: false t.string "value", null: false
...@@ -1757,12 +1757,12 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -1757,12 +1757,12 @@ ActiveRecord::Schema.define(version: 20171106180641) do
t.string "import_status" t.string "import_status"
t.text "merge_requests_template" t.text "merge_requests_template"
t.integer "star_count", default: 0, null: false t.integer "star_count", default: 0, null: false
t.boolean "merge_requests_rebase_enabled", default: false t.boolean "merge_requests_rebase_enabled", default: false, null: false
t.string "import_type" t.string "import_type"
t.string "import_source" t.string "import_source"
t.integer "approvals_before_merge", default: 0, null: false t.integer "approvals_before_merge", default: 0, null: false
t.boolean "reset_approvals_on_push", default: true t.boolean "reset_approvals_on_push", default: true
t.boolean "merge_requests_ff_only_enabled", default: false t.boolean "merge_requests_ff_only_enabled", default: false, null: false
t.text "issues_template" t.text "issues_template"
t.boolean "mirror", default: false, null: false t.boolean "mirror", default: false, null: false
t.datetime "mirror_last_update_at" t.datetime "mirror_last_update_at"
...@@ -2185,8 +2185,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -2185,8 +2185,8 @@ ActiveRecord::Schema.define(version: 20171106180641) do
add_index "user_agent_details", ["subject_id", "subject_type"], name: "index_user_agent_details_on_subject_id_and_subject_type", using: :btree add_index "user_agent_details", ["subject_id", "subject_type"], name: "index_user_agent_details_on_subject_id_and_subject_type", using: :btree
create_table "user_custom_attributes", force: :cascade do |t| create_table "user_custom_attributes", force: :cascade do |t|
t.datetime "created_at", null: false t.datetime_with_timezone "created_at", null: false
t.datetime "updated_at", null: false t.datetime_with_timezone "updated_at", null: false
t.integer "user_id", null: false t.integer "user_id", null: false
t.string "key", null: false t.string "key", null: false
t.string "value", null: false t.string "value", null: false
...@@ -2390,6 +2390,7 @@ ActiveRecord::Schema.define(version: 20171106180641) do ...@@ -2390,6 +2390,7 @@ ActiveRecord::Schema.define(version: 20171106180641) do
add_foreign_key "cluster_providers_gcp", "clusters", on_delete: :cascade add_foreign_key "cluster_providers_gcp", "clusters", on_delete: :cascade
add_foreign_key "clusters", "users", on_delete: :nullify add_foreign_key "clusters", "users", on_delete: :nullify
add_foreign_key "clusters_applications_helm", "clusters", on_delete: :cascade add_foreign_key "clusters_applications_helm", "clusters", on_delete: :cascade
add_foreign_key "clusters_applications_ingress", "clusters", on_delete: :cascade
add_foreign_key "container_repositories", "projects" add_foreign_key "container_repositories", "projects"
add_foreign_key "deploy_keys_projects", "projects", name: "fk_58a901ca7e", on_delete: :cascade add_foreign_key "deploy_keys_projects", "projects", name: "fk_58a901ca7e", on_delete: :cascade
add_foreign_key "deployments", "projects", name: "fk_b9a3851b82", on_delete: :cascade add_foreign_key "deployments", "projects", name: "fk_b9a3851b82", on_delete: :cascade
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment