Mercurial > hg > soundsoftware-site
diff db/migrate/20110202170156_add_order_column_to_institutions.rb @ 247:73ff0e6a11b1 cannam
* Merge from branch cannam-pre-20110113-merge
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 12:11:53 +0000 |
parents | da7cba64948d |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/migrate/20110202170156_add_order_column_to_institutions.rb Thu Mar 03 12:11:53 2011 +0000 @@ -0,0 +1,9 @@ +class AddOrderColumnToInstitutions < ActiveRecord::Migration + def self.up + add_column :institutions, :order, :integer + end + + def self.down + remove_column :institutions, :order + end +end