discourse/db/migrate/20121205162143_add_approved_to_users.rb
2013-02-05 14:16:51 -05:00

8 lines
267 B
Ruby

class AddApprovedToUsers < ActiveRecord::Migration
def change
add_column :users, :approved, :boolean, null: false, default: false
add_column :users, :approved_by_id, :integer, null: true
add_column :users, :approved_at, :timestamp, null: true
end
end