Skip to content

Commit 906fe52

Browse files
jkoestingerJustin Köstingerpre-commit-ci[bot]
authored
Add missing migration for the new default FCM choices (#714)
* 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 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9e6b9af commit 906fe52

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Generated by Django 5.0.4 on 2024-04-10 11:22
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('push_notifications', '0009_alter_apnsdevice_device_id'),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name='gcmdevice',
15+
options={'verbose_name': 'FCM device'},
16+
),
17+
migrations.AlterField(
18+
model_name='gcmdevice',
19+
name='cloud_message_type',
20+
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'),
21+
),
22+
]

0 commit comments

Comments
 (0)