notification: add firebase notification to web
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 5.2.4 on 2025-10-30 14:56
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('notifications', '0001_initial'),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='notification',
|
||||
name='type',
|
||||
field=models.CharField(choices=[('web', 'web'), ('mobile', 'mobile')], default='mobile', max_length=6),
|
||||
),
|
||||
migrations.AlterUniqueTogether(
|
||||
name='notification',
|
||||
unique_together={('type', 'user', 'token')},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user