osem-fcy/db/migrate/20181229233812_drop_organizations.rb
2024-11-22 14:15:05 +01:00

11 lines
270 B
Ruby

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
end
end