mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Maximum email confirmation anti-spam column
This commit is contained in:
parent
23992e34ba
commit
cef1611003
1 changed files with 10 additions and 0 deletions
10
migrations/089_maximum_email_confirmations.rb
Normal file
10
migrations/089_maximum_email_confirmations.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :email_confirmation_count, :integer, default: 0
|
||||
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :email_confirmation_count
|
||||
}
|
||||
end
|
Loading…
Add table
Reference in a new issue