Skip to content

Commit

Permalink
Add missing migration for the new default FCM choices (#714)
Browse files Browse the repository at this point in the history
* Add missing migration for the new default FCM choices

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Justin Köstinger <justin+gitlab@smartfactory.ch>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people committed Apr 24, 2024
1 parent 9e6b9af commit 906fe52
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 5.0.4 on 2024-04-10 11:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('push_notifications', '0009_alter_apnsdevice_device_id'),
]

operations = [
migrations.AlterModelOptions(
name='gcmdevice',
options={'verbose_name': 'FCM device'},
),
migrations.AlterField(
model_name='gcmdevice',
name='cloud_message_type',
field=models.CharField(choices=[('FCM', 'Firebase Cloud Message'), ('GCM', 'Google Cloud Message')], default='FCM', help_text='You should choose FCM, GCM is deprecated', max_length=3, verbose_name='Cloud Message Type'),
),
]

0 comments on commit 906fe52

Please sign in to comment.