mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
allow site to disable comments on profile
This commit is contained in:
parent
8274ac3e80
commit
92fcee0aea
6 changed files with 41 additions and 5 deletions
9
migrations/039_privacy.rb
Normal file
9
migrations/039_privacy.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue