import device in notification structure

This commit is contained in:
2025-10-07 09:37:40 +03:30
parent 7f9001069b
commit f93e48c495
5 changed files with 54 additions and 16 deletions

View 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'),
),
]