neocities/migrations/098_add_follow_count_index.rb
2017-04-02 20:47:06 -07:00

9 lines
128 B
Ruby

Sequel.migration do
up {
DB.add_index :sites, :follow_count
}
down {
DB.drop_index :sites, :follow_count
}
end