2017-08-31 00:06:56 -04:00
|
|
|
class AddApprovedToUsers < ActiveRecord::Migration[4.2]
|
2013-02-05 14:16:51 -05:00
|
|
|
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
|