better email infrastructure, email for profile comments, webapp format support

This commit is contained in:
Kyle Drake 2015-01-06 19:14:24 -08:00
parent 85fbfed910
commit d611a5a290
7 changed files with 167 additions and 7 deletions

View file

@ -0,0 +1,13 @@
Sequel.migration do
up {
DB.add_column :sites, :send_emails, :boolean, default: true
DB.add_column :sites, :send_comment_emails, :boolean, default: true
DB.add_column :sites, :send_follow_emails, :boolean, default: true
}
down {
DB.drop_column :sites, :send_emails
DB.drop_column :sites, :send_comment_emails
DB.drop_column :sites, :send_follow_emails
}
end