This commit is contained in:
Toks
2014-05-29 22:55:35 -04:00
parent 48b2719031
commit 71cd5ce783
11 changed files with 45 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
class AddShowDeletedChildrenToUsers < ActiveRecord::Migration
def change
execute "set statement_timeout = 0"
add_column :users, :show_deleted_children, :boolean, :null => false, :default => false
add_column :posts, :has_active_children, :boolean
change_column_default(:posts, :has_active_children, false)
end
end