cartodb-4.29/db/migrate/20140627102015_add_extra_fields_to_organizations.rb
2020-06-15 10:58:47 +08:00

18 lines
549 B
Ruby

Sequel.migration do
up do
add_column :organizations, :website, :text
add_column :organizations, :description, :text
add_column :organizations, :display_name, :text
add_column :organizations, :discus_shortname, :text
add_column :organizations, :twitter_username, :text
end
down do
drop_column :organizations, :website
drop_column :organizations, :description
drop_column :organizations, :display_name
drop_column :organizations, :discus_shortname
drop_column :organizations, :twitter_username
end
end