mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
7 lines
267 B
Ruby
7 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
|