agenda-libre-ruby/db/migrate/20151225194836_add_active_description_to_orga.rb

8 lines
254 B
Ruby
Raw Normal View History

# Adding an active flag to organisations, and a description
class AddActiveDescriptionToOrga < ActiveRecord::Migration
def change
add_column :orgas, :active, :boolean, null: false, default: true
add_column :orgas, :description, :text
end
end