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

12 lines
229 B
Ruby

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