allow site to disable comments on profile

This commit is contained in:
Kyle Drake 2014-08-31 20:25:59 -07:00
parent 8274ac3e80
commit 92fcee0aea
6 changed files with 41 additions and 5 deletions

View file

@ -0,0 +1,9 @@
Sequel.migration do
up {
DB.add_column :sites, :profile_comments_enabled, :boolean, default: true
}
down {
DB.drop_column :sites, :profile_comments_enabled
}
end