diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-10-09 20:01:45 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-10-09 20:01:45 -0500 |
commit | a9a13421269650b0600008d74ab7c97f386e5618 (patch) | |
tree | 79c0c9ac51e376a219042e49f692b9c5bb32adda /db/migrate | |
parent | 999ac0672355fe7aa6f57563097a173ed20b99d9 (diff) |
custom filters can now also match posts with missing media descriptions
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20191010005320_add_no_desc_to_custom_filters.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20191010005320_add_no_desc_to_custom_filters.rb b/db/migrate/20191010005320_add_no_desc_to_custom_filters.rb new file mode 100644 index 000000000..af8144c87 --- /dev/null +++ b/db/migrate/20191010005320_add_no_desc_to_custom_filters.rb @@ -0,0 +1,7 @@ +class AddNoDescToCustomFilters < ActiveRecord::Migration[5.2] + def change + safety_assured { + add_column :custom_filters, :no_desc, :boolean, null: false, default: false + } + end +end |