mirror of
https://github.com/neocities/neocities.git
synced 2025-07-24 11:28:29 +02:00
brush up email requirements
This commit is contained in:
parent
933fb9fcfd
commit
d3fc35989d
10 changed files with 149 additions and 10 deletions
11
migrations/037_email_confirmation.rb
Normal file
11
migrations/037_email_confirmation.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :email_confirmation_token, :text
|
||||
DB.add_column :sites, :email_confirmed, :boolean, default: false
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :email_confirmation_token
|
||||
DB.drop_column :sites, :email_confirmed
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue