Open-Source-Access-Control-.../db/migrate/20130125123317_change_users_active_to_member.rb

7 lines
167 B
Ruby
Raw Permalink Normal View History

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