view db/migrate/20110202170156_add_order_column_to_institutions.rb @ 1154:651d2699348e redmine-2.2-integration

Fix remote syntax for Rails 3 (doesn't work though); html safe in label
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 15 Jan 2013 15:45:22 +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