mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 16:21:52 +02:00
Detect and remove dead custom domains
This commit is contained in:
parent
ce905200da
commit
bfa13e5325
3 changed files with 57 additions and 8 deletions
9
migrations/092_domain_check.rb
Normal file
9
migrations/092_domain_check.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Sequel.migration do
|
||||
up {
|
||||
DB.add_column :sites, :domain_fail_count, :integer, default: 0
|
||||
}
|
||||
|
||||
down {
|
||||
DB.drop_column :sites, :domain_fail_count
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue