Migration

This commit is contained in:
shamoon 2025-02-07 15:41:47 -08:00
parent 982af2d48f
commit c8d0e014bd
3 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export const FILTER_HAS_ANY_CUSTOM_FIELDS = 41
export const FILTER_CUSTOM_FIELDS_QUERY = 42 export const FILTER_CUSTOM_FIELDS_QUERY = 42
export const FILTER_MIME_TYPE = 43 export const FILTER_MIME_TYPE = 47
export const FILTER_RULE_TYPES: FilterRuleType[] = [ export const FILTER_RULE_TYPES: FilterRuleType[] = [
{ {

View File

@ -62,6 +62,7 @@ class Migration(migrations.Migration):
(44, "created from"), (44, "created from"),
(45, "added to"), (45, "added to"),
(46, "added from"), (46, "added from"),
(47, "mime type is"),
], ],
verbose_name="rule type", verbose_name="rule type",
), ),

View File

@ -526,6 +526,7 @@ class SavedViewFilterRule(models.Model):
(44, _("created from")), (44, _("created from")),
(45, _("added to")), (45, _("added to")),
(46, _("added from")), (46, _("added from")),
(47, _("mime type is")),
] ]
saved_view = models.ForeignKey( saved_view = models.ForeignKey(