agenda-libre-ruby/db/migrate/20151225194836_add_active_d...

8 lines
254 B
Ruby

# 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