Open-Source-Access-Control-.../db/migrate/20130922064241_change_member_level_to_integer.rb

10 lines
195 B
Ruby
Raw Normal View History

class ChangeMemberLevelToInteger < ActiveRecord::Migration
def up
change_column :users, :member_level, :integer
end
def down
change_column :users, :member_level, :string
end
end