diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-25 00:49:08 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-25 01:29:16 +0100 |
commit | 999cde94a6a2d67cf36160365378951d3b55b868 (patch) | |
tree | 51d86739522f79ee545f7c821507997f0a4914cb /db/migrate | |
parent | f8da0dd4907490f57cb14b052b767c66c95c4db3 (diff) |
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
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170112041538_add_spoiler_to_statuses.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/db/migrate/20170112041538_add_spoiler_to_statuses.rb b/db/migrate/20170112041538_add_spoiler_to_statuses.rb deleted file mode 100644 index 3b46433f5..000000000 --- a/db/migrate/20170112041538_add_spoiler_to_statuses.rb +++ /dev/null @@ -1,5 +0,0 @@ -class AddSpoilerToStatuses < ActiveRecord::Migration[5.0] - def change - add_column :statuses, :spoiler, :boolean, default: false - end -end |