This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20170112041538_add_spoiler_to_statuses.rb
2017-01-23 21:07:40 -05:00

6 lines
142 B
Ruby

class AddSpoilerToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :spoiler, :boolean, default: false
end
end