view db/migrate/20110202170156_add_order_column_to_institutions.rb @ 253:82caabe96ad4 feature_80

* Add "active" column to attachments table (file downloads) in db
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 03 Mar 2011 15:30:43 +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