Detect and remove dead custom domains

This commit is contained in:
Kyle Drake 2016-09-17 10:02:51 -07:00
parent ce905200da
commit bfa13e5325
3 changed files with 57 additions and 8 deletions

View 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