neocities/migrations/012_add_banned_flag.rb
2013-06-22 23:21:41 -07:00

9 lines
No EOL
148 B
Ruby

Sequel.migration do
up {
DB.add_column :sites, :is_banned, :boolean, default: false
}
down {
DB.add_column :sites, :is_banned
}
end