Skip to content

Commit

Permalink
Amend key field to 3027 bytes, update migration file, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrinch committed Aug 5, 2021
1 parent 9201d94 commit 030a0c9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ repos:
- id: pyupgrade
args: ['--py36-plus', '--keep-mock']
- repo: git://github.com/Lucas-C/pre-commit-hooks-markup
rev: v1.0.2
rev: v1.0.1
hooks:
- id: rst-linter
files: >-
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,4 @@ Contributing
------------

To setup the development environment, simply do ``pip install -r requirements.txt``
To manually run the pre-commit hook, run `pre-commit run --all-files`.g
To manually run the pre-commit hook, run `pre-commit run --all-files`.
2 changes: 1 addition & 1 deletion fcm_django/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = "xTrinch"
__email__ = "[email protected]"
__version__ = "1.0.2"
__version__ = "1.0.3"


class NotificationError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion fcm_django/migrations/0006_auto_20210802_1140.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Migration(migrations.Migration):
blank=True,
db_index=True,
help_text="Unique device identifier",
max_length=4096,
max_length=3072,
null=True,
verbose_name="Device ID",
),
Expand Down
2 changes: 1 addition & 1 deletion fcm_django/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class AbstractFCMDevice(Device):
null=True,
db_index=True,
help_text=_("Unique device identifier"),
max_length=4096,
max_length=3072,
)
registration_id = models.TextField(verbose_name=_("Registration token"))
type = models.CharField(choices=DEVICE_TYPES, max_length=10)
Expand Down

0 comments on commit 030a0c9

Please sign in to comment.