mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Initial release of Discourse
This commit is contained in:
7
db/migrate/20121205162143_add_approved_to_users.rb
Normal file
7
db/migrate/20121205162143_add_approved_to_users.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
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
|
||||
Reference in New Issue
Block a user