mirror of
https://github.com/neocities/neocities.git
synced 2025-07-21 01:56:03 +02:00
what's this? is this password reset???
This commit is contained in:
parent
72947b6606
commit
1e1051fd36
8 changed files with 104 additions and 2 deletions
11
migrations/014_add_password_reset_token.rb
Normal file
11
migrations/014_add_password_reset_token.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :password_reset_token, :text
|
||||
DB.add_index :sites, :password_reset_token
|
||||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :password_reset_token
|
||||
DB.drop_index :sites, :password_reset_token
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue