Add ability to destroy a user with 0 posts

This commit is contained in:
Neil Lalonde
2013-04-11 16:04:20 -04:00
parent 8014d7fd25
commit 651cfba93f
21 changed files with 412 additions and 57 deletions

View File

@@ -0,0 +1,15 @@
class CreateAdminLogs < ActiveRecord::Migration
def up
create_table :admin_logs do |t|
t.integer :action, null: false
t.integer :admin_id, null: false
t.integer :target_user_id
t.text :details
t.timestamps
end
end
def down
drop_table :admin_logs
end
end