-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update auth_token and last_response columns' max lengths
- Loading branch information
1 parent
bf71637
commit 2b73036
Showing
10 changed files
with
72 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
signal_webhooks/migrations/0002_change_auth_token_and_last_response_max_length.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 4.2.6 on 2023-11-25 08:58 | ||
|
||
from django.db import migrations, models | ||
|
||
import signal_webhooks.fields | ||
import signal_webhooks.utils | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("signal_webhooks", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="webhook", | ||
name="auth_token", | ||
field=signal_webhooks.fields.TokenField( | ||
blank=True, | ||
default="", | ||
help_text="Authentication token to use in an Authorization header.", | ||
max_length=8000, | ||
validators=[signal_webhooks.utils.decode_cipher_key], | ||
verbose_name="authentication token", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="webhook", | ||
name="last_response", | ||
field=models.CharField( | ||
blank=True, | ||
default="", | ||
help_text="Latest response to this webhook.", | ||
max_length=8000, | ||
verbose_name="last response", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters