diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-04-27 19:19:32 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:22 -0500 |
commit | 26d90a36ff07aa905db63985886d5c08c934b7b6 (patch) | |
tree | 4a4ac8b60bcd3a02655465e00d8e885918f3959c /app/models | |
parent | 2423830e3c08d319317dd193b7d3ad450016fd4a (diff) |
Custom filters: add ability to create filters that exclude or are exclusive to roars with attachments.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/custom_filter.rb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/app/models/custom_filter.rb b/app/models/custom_filter.rb index 342207a55..d4cb2206e 100644 --- a/app/models/custom_filter.rb +++ b/app/models/custom_filter.rb @@ -3,15 +3,17 @@ # # Table name: custom_filters # -# id :bigint(8) not null, primary key -# account_id :bigint(8) -# expires_at :datetime -# phrase :text default(""), not null -# context :string default([]), not null, is an Array -# whole_word :boolean default(TRUE), not null -# irreversible :boolean default(FALSE), not null -# created_at :datetime not null -# updated_at :datetime not null +# id :bigint(8) not null, primary key +# account_id :bigint(8) +# expires_at :datetime +# phrase :text default(""), not null +# context :string default([]), not null, is an Array +# irreversible :boolean default(FALSE), not null +# created_at :datetime not null +# updated_at :datetime not null +# whole_word :boolean default(TRUE), not null +# exclude_media :boolean default(FALSE), not null +# media_only :boolean default(FALSE), not null # class CustomFilter < ApplicationRecord |