Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" /> Clean up schema file from accidental development migrations
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
class AddSpoilerToStatuses < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :statuses, :spoiler, :boolean, default: false
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user