rosa-build/db/migrate/20111026135125_add_on_and_t...

13 lines
256 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
class AddOnAndToToRoles < ActiveRecord::Migration
def self.up
add_column :roles, :on, :string
add_column :roles, :to, :string
end
def self.down
remove_column :roles, :on
remove_column :roles, :to
end
end