diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-10-09 19:42:51 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-10-09 19:42:51 -0500 |
commit | 999ac0672355fe7aa6f57563097a173ed20b99d9 (patch) | |
tree | c929634fd5bcf722c1c80981213600ad89ad401f /db | |
parent | ce6a7055159a169ca38162eb2e38825f9331c8d9 (diff) |
custom filters can now match media descriptions
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20191009231327_add_desc_to_custom_filters.rb | 7 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/db/migrate/20191009231327_add_desc_to_custom_filters.rb b/db/migrate/20191009231327_add_desc_to_custom_filters.rb new file mode 100644 index 000000000..f53f6849f --- /dev/null +++ b/db/migrate/20191009231327_add_desc_to_custom_filters.rb @@ -0,0 +1,7 @@ +class AddDescToCustomFilters < ActiveRecord::Migration[5.2] + def change + safety_assured { + add_column :custom_filters, :desc, :boolean, null: false, default: false + } + end +end diff --git a/db/schema.rb b/db/schema.rb index 4a5115285..9636d0e6a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2019_08_31_022432) do +ActiveRecord::Schema.define(version: 2019_10_09_231327) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -258,6 +258,7 @@ ActiveRecord::Schema.define(version: 2019_08_31_022432) do t.boolean "status_text", default: false, null: false t.text "custom_cw" t.boolean "override_cw", default: false, null: false + t.boolean "desc", default: false, null: false t.index ["account_id"], name: "index_custom_filters_on_account_id" end |