Mercurial > hg > soundsoftware-site
view db/migrate/20110202170156_add_order_column_to_institutions.rb @ 444:b461f84ed41a feature_36
Publications: Routes for regular REST behaviour; Import view and controller action; New beahviour for new action.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Sat, 04 Jun 2011 18:08:01 +0100 |
parents | da7cba64948d |
children |
line wrap: on
line source
class AddOrderColumnToInstitutions < ActiveRecord::Migration def self.up add_column :institutions, :order, :integer end def self.down remove_column :institutions, :order end end