| ... | @@ -10,7 +10,7 @@ |
... | @@ -10,7 +10,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: 2020_01_14_180546) do
|
|
ActiveRecord::Schema.define(version: 2020_01_14_113341) 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 "pg_trgm"
|
|
enable_extension "pg_trgm"
|
| ... | @@ -1538,7 +1538,6 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
... | @@ -1538,7 +1538,6 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
|
|
end
|
|
end
|
|
|
|
|
|
|
|
create_table "epics", id: :serial, force: :cascade do |t|
|
|
create_table "epics", id: :serial, force: :cascade do |t|
|
|
|
t.integer "milestone_id"
|
|
|
|
|
t.integer "group_id", null: false
|
|
t.integer "group_id", null: false
|
|
|
t.integer "author_id", null: false
|
|
t.integer "author_id", null: false
|
|
|
t.integer "assignee_id"
|
|
t.integer "assignee_id"
|
| ... | @@ -1577,7 +1576,6 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
... | @@ -1577,7 +1576,6 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
|
|
t.index ["end_date"], name: "index_epics_on_end_date"
|
|
t.index ["end_date"], name: "index_epics_on_end_date"
|
|
|
t.index ["group_id"], name: "index_epics_on_group_id"
|
|
t.index ["group_id"], name: "index_epics_on_group_id"
|
|
|
t.index ["iid"], name: "index_epics_on_iid"
|
|
t.index ["iid"], name: "index_epics_on_iid"
|
|
|
t.index ["milestone_id"], name: "index_milestone"
|
|
|
|
|
t.index ["parent_id"], name: "index_epics_on_parent_id"
|
|
t.index ["parent_id"], name: "index_epics_on_parent_id"
|
|
|
t.index ["start_date"], name: "index_epics_on_start_date"
|
|
t.index ["start_date"], name: "index_epics_on_start_date"
|
|
|
t.index ["start_date_sourcing_epic_id"], name: "index_epics_on_start_date_sourcing_epic_id", where: "(start_date_sourcing_epic_id IS NOT NULL)"
|
|
t.index ["start_date_sourcing_epic_id"], name: "index_epics_on_start_date_sourcing_epic_id", where: "(start_date_sourcing_epic_id IS NOT NULL)"
|
| ... | @@ -3838,6 +3836,7 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
... | @@ -3838,6 +3836,7 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
|
|
t.string "encrypted_secret_token_iv", limit: 255
|
|
t.string "encrypted_secret_token_iv", limit: 255
|
|
|
t.boolean "secret", default: false, null: false
|
|
t.boolean "secret", default: false, null: false
|
|
|
t.string "repository_storage", limit: 255, default: "default", null: false
|
|
t.string "repository_storage", limit: 255, default: "default", null: false
|
|
|
|
t.integer "storage_version", default: 2, null: false
|
|
|
t.index ["author_id"], name: "index_snippets_on_author_id"
|
|
t.index ["author_id"], name: "index_snippets_on_author_id"
|
|
|
t.index ["content"], name: "index_snippets_on_content_trigram", opclass: :gin_trgm_ops, using: :gin
|
|
t.index ["content"], name: "index_snippets_on_content_trigram", opclass: :gin_trgm_ops, using: :gin
|
|
|
t.index ["created_at"], name: "index_snippets_on_created_at"
|
|
t.index ["created_at"], name: "index_snippets_on_created_at"
|
| ... | @@ -4590,7 +4589,6 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
... | @@ -4590,7 +4589,6 @@ ActiveRecord::Schema.define(version: 2020_01_14_180546) do |
|
|
add_foreign_key "epics", "epics", column: "start_date_sourcing_epic_id", name: "fk_9d480c64b2", on_delete: :nullify
|
|
add_foreign_key "epics", "epics", column: "start_date_sourcing_epic_id", name: "fk_9d480c64b2", on_delete: :nullify
|
|
|
add_foreign_key "epics", "milestones", column: "due_date_sourcing_milestone_id", name: "fk_3c1fd1cccc", on_delete: :nullify
|
|
add_foreign_key "epics", "milestones", column: "due_date_sourcing_milestone_id", name: "fk_3c1fd1cccc", on_delete: :nullify
|
|
|
add_foreign_key "epics", "milestones", column: "start_date_sourcing_milestone_id", name: "fk_1fbed67632", on_delete: :nullify
|
|
add_foreign_key "epics", "milestones", column: "start_date_sourcing_milestone_id", name: "fk_1fbed67632", on_delete: :nullify
|
|
|
add_foreign_key "epics", "milestones", on_delete: :nullify
|
|
|
|
|
add_foreign_key "epics", "namespaces", column: "group_id", name: "fk_f081aa4489", on_delete: :cascade
|
|
add_foreign_key "epics", "namespaces", column: "group_id", name: "fk_f081aa4489", on_delete: :cascade
|
|
|
add_foreign_key "epics", "users", column: "assignee_id", name: "fk_dccd3f98fc", on_delete: :nullify
|
|
add_foreign_key "epics", "users", column: "assignee_id", name: "fk_dccd3f98fc", on_delete: :nullify
|
|
|
add_foreign_key "epics", "users", column: "author_id", name: "fk_3654b61b03", on_delete: :cascade
|
|
add_foreign_key "epics", "users", column: "author_id", name: "fk_3654b61b03", on_delete: :cascade
|
| ... | |
... | |
| ... | | ... | |