Purge inactive accounts that are older than 7 days

This commit is contained in:
Robin Ward
2014-08-13 14:13:41 -04:00
parent 9a1580244a
commit 3c6673aceb
4 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class AddDefaultToActive < ActiveRecord::Migration
def change
change_column :users, :active, :boolean, default: false, null: false
end
end