Drop Organization from database

Rolling back this feature. It was a nice attempt but no one ever followed up
and made this something else than a code of conduct holder...
This commit is contained in:
Henne Vogelsang 2024-06-07 16:11:25 +02:00
parent f7998b8f58
commit b9a50ef20d
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
3 changed files with 25 additions and 15 deletions

View file

@ -0,0 +1,11 @@
class DropOrganizations < ActiveRecord::Migration[7.0]
def change
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

View file

@ -0,0 +1,5 @@
class AddCodeOfConductToConference < ActiveRecord::Migration[7.0]
def change
add_column :conferences, :code_of_conduct, :text
end
end