femslash-city/migrations/026_add_comment_paranoid_delete.rb

9 lines
157 B
Ruby
Raw Normal View History

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