neocities/migrations/097_add_follow_count_to_sites.rb
2017-04-02 20:47:06 -07:00

9 lines
152 B
Ruby

Sequel.migration do
up {
DB.add_column :sites, :follow_count, :integer, default: 0
}
down {
DB.drop_column :sites, :follow_count
}
end