mirror of
https://github.com/neocities/neocities.git
synced 2025-07-22 18:46:07 +02:00
add ip of site creators so we can block spammers
This commit is contained in:
parent
3108ffb516
commit
4b82bdec2e
2 changed files with 10 additions and 1 deletions
9
migrations/013_add_ip_address_of_creator.rb
Normal file
9
migrations/013_add_ip_address_of_creator.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :ip, :text
|
||||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :ip
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue