view db/migrate/20110202170156_add_order_column_to_institutions.rb @ 201:61d8fba252fd feature_72

external repository check box.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 07 Feb 2011 16:04:42 +0000
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