neocities/migrations/008_add_nsfw_flag.rb
2013-07-27 00:07:06 -04:00

9 lines
No EOL
145 B
Ruby

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