Skip to content

Commit

Permalink
Merge pull request #9998 from alphagov/fix-schema
Browse files Browse the repository at this point in the history
Fix schema on `main`
  • Loading branch information
ChrisBAshton authored Feb 28, 2025
2 parents ce43364 + 0a62d25 commit f559ca8
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@

create_table "call_for_evidence_responses", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t|
t.integer "edition_id"
t.text "summary", size: :medium
t.text "summary"
t.datetime "created_at", precision: nil
t.datetime "updated_at", precision: nil
t.date "published_on"
Expand Down Expand Up @@ -228,18 +228,16 @@
t.bigint "document_id", null: false
t.datetime "created_at", precision: nil, null: false
t.datetime "updated_at", precision: nil, null: false
t.bigint "user_id"
t.string "state", default: "draft", null: false
t.datetime "scheduled_publication", precision: nil
t.text "instructions_to_publishers", size: :medium
t.text "instructions_to_publishers"
t.string "title", default: "", null: false
t.text "internal_change_note"
t.text "change_note"
t.boolean "major_change"
t.virtual "details_for_indexing", type: :text, as: "json_unquote(`details`)", stored: true
t.index ["document_id"], name: "index_content_block_editions_on_document_id"
t.index ["title", "details_for_indexing", "instructions_to_publishers"], name: "title_details_instructions_to_publishers", type: :fulltext
t.index ["user_id"], name: "index_content_block_editions_on_user_id"
end

create_table "content_block_versions", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t|
Expand All @@ -248,7 +246,7 @@
t.integer "event", null: false
t.string "whodunnit"
t.datetime "created_at", precision: nil, null: false
t.text "state", size: :medium
t.text "state"
t.json "field_diffs"
t.string "updated_embedded_object_type"
t.string "updated_embedded_object_name"
Expand Down Expand Up @@ -459,9 +457,9 @@
t.string "image_display_option"
t.string "auth_bypass_id", null: false
t.string "taxonomy_topic_email_override"
t.integer "main_office_id"
t.string "logo_formatted_name"
t.string "analytics_identifier"
t.integer "main_office_id"
t.boolean "visual_editor"
t.integer "government_id"
t.index ["alternative_format_provider_id"], name: "index_editions_on_alternative_format_provider_id"
Expand Down Expand Up @@ -915,8 +913,8 @@
end

create_table "republishing_events", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t|
t.text "action", size: :medium, null: false
t.text "reason", size: :medium, null: false
t.text "action", null: false
t.text "reason", null: false
t.bigint "user_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
Expand Down Expand Up @@ -1279,8 +1277,8 @@
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "title"
t.text "summary", size: :medium
t.text "body", size: :medium
t.text "summary"
t.text "body"
t.index ["locale"], name: "index_worldwide_organisation_page_translations_on_locale"
t.index ["worldwide_organisation_page_id"], name: "index_bbd0fc4436b2d97c8b36796e9089468751fc0f2e"
end
Expand Down

0 comments on commit f559ca8

Please sign in to comment.