import device in notification structure
This commit is contained in:
20
apps/notification/migrations/0002_notification_device.py
Normal file
20
apps/notification/migrations/0002_notification_device.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 5.0 on 2025-10-07 05:35
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('notification', '0001_initial'),
|
||||
('pos_device', '0075_posfreeproducts_company_fee'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='notification',
|
||||
name='device',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='notifications', to='pos_device.device'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user