mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Purge inactive accounts that are older than 7 days
This commit is contained in:
5
db/migrate/20140813175357_add_default_to_active.rb
Normal file
5
db/migrate/20140813175357_add_default_to_active.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddDefaultToActive < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :users, :active, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user