mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 15:36:07 +08:00
8 lines
272 B
Ruby
8 lines
272 B
Ruby
class AddApprovedToUsers < ActiveRecord::Migration[4.2]
|
|
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
|