Skip to content

Commit

Permalink
Merge pull request #8424 from alphagov/topical-event-cleanup
Browse files Browse the repository at this point in the history
Topical event cleanup
  • Loading branch information
lauraghiorghisor-tw authored Nov 2, 2023
2 parents e50b4ed + cd4ac96 commit 457c423
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 74 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20231026145623_remove_topical_event_logo_field.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveTopicalEventLogoField < ActiveRecord::Migration[7.0]
def change
remove_column :topical_events, :carrierwave_image, :string
end
end
3 changes: 1 addition & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
t.string "email"
t.integer "call_for_evidence_response_form_id"
t.text "postal_address"
t.index ["call_for_evidence_response_form_id"], name: "index_cons_participations_on_cons_response_form_id"
t.index ["call_for_evidence_response_form_id"], name: "index_cfes_participations_on_cfes_response_form_id"
t.index ["edition_id"], name: "index_call_for_evidence_participations_on_edition_id"
end

Expand Down Expand Up @@ -1094,7 +1094,6 @@
t.text "description"
t.string "slug"
t.string "state"
t.string "carrierwave_image"
t.string "logo_alt_text"
t.date "start_date"
t.date "end_date"
Expand Down
72 changes: 0 additions & 72 deletions lib/tasks/migrate_topical_events.rake

This file was deleted.

0 comments on commit 457c423

Please sign in to comment.