Skip to content

Commit

Permalink
Merge pull request #3485 from hennevogel/bugfix/drop-org-migration
Browse files Browse the repository at this point in the history
First remove reference, then drop table...
  • Loading branch information
hennevogel authored Nov 22, 2024
2 parents 34df0d7 + 81cdec6 commit 299250a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migrate/20181229233812_drop_organizations.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
class DropOrganizations < ActiveRecord::Migration[7.0]
def change
remove_reference :conferences, :organization, index: true

drop_table :organizations do |t|
t.string :name, null: false
t.text :description
t.string :picture
end

remove_reference :conferences, :organization, index: true
end
end

0 comments on commit 299250a

Please sign in to comment.