Pavel Loginov 2 years ago
parent 963ef82345
commit 7a336ac9d7

@ -280,7 +280,7 @@ class WafRules(BaseModel):
rule_file = CharField() rule_file = CharField()
desc = TextField(null=True) desc = TextField(null=True)
en = IntegerField(constraints=[SQL('DEFAULT 1')]) en = IntegerField(constraints=[SQL('DEFAULT 1')])
service = CharField(constraints=[SQL('haproxy')]) service = CharField(constraints=[SQL('DEFAULT "haproxy"')])
class Meta: class Meta:
table_name = 'waf_rules' table_name = 'waf_rules'

Loading…
Cancel
Save