Increase max size of authorization_header in DB (#2720)
# What this PR does Increase size of authorization_header for webhooks to accommodate more data. ## Which issue(s) this PR fixes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
This commit is contained in:
parent
cb73ddcf50
commit
45e70ddd88
2 changed files with 20 additions and 1 deletions
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.2.20 on 2023-08-01 19:29
|
||||
|
||||
from django.db import migrations
|
||||
import mirage.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('webhooks', '0008_auto_20230712_1613'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='webhook',
|
||||
name='authorization_header',
|
||||
field=mirage.fields.EncryptedCharField(default=None, max_length=2000, null=True),
|
||||
),
|
||||
]
|
||||
|
|
@ -112,7 +112,7 @@ class Webhook(models.Model):
|
|||
name = models.CharField(max_length=100, null=True, default=None)
|
||||
username = models.CharField(max_length=100, null=True, default=None)
|
||||
password = mirage_fields.EncryptedCharField(max_length=1000, null=True, default=None)
|
||||
authorization_header = mirage_fields.EncryptedCharField(max_length=1000, null=True, default=None)
|
||||
authorization_header = mirage_fields.EncryptedCharField(max_length=2000, null=True, default=None)
|
||||
trigger_template = models.TextField(null=True, default=None)
|
||||
headers = models.TextField(null=True, default=None)
|
||||
url = models.TextField(null=True, default=None)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue