mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 11:58:28 +02:00
better email infrastructure, email for profile comments, webapp format support
This commit is contained in:
parent
85fbfed910
commit
d611a5a290
7 changed files with 167 additions and 7 deletions
13
migrations/053_add_email_controls.rb
Normal file
13
migrations/053_add_email_controls.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue