Open-Source-Access-Control-.../db/migrate/20130125123317_change_users_active_to_member.rb
2014-02-09 00:56:48 -07:00

7 lines
167 B
Ruby
Executable File

class ChangeUsersActiveToMember < ActiveRecord::Migration
def change
change_column :users, :active, :string
rename_column :users, :active, :member
end
end