add: add users field for warehouse model

This commit is contained in:
behruz-dev
2025-09-25 17:40:50 +05:00
parent dc079480e6
commit e8e22fe478
5 changed files with 52 additions and 11 deletions

View File

@@ -0,0 +1,20 @@
# Generated by Django 5.2.4 on 2025-09-25 17:30
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('wherehouse', '0016_remove_wherehouse_branch'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.AddField(
model_name='wherehouse',
name='users',
field=models.ManyToManyField(blank=True, related_name='warehouses', to=settings.AUTH_USER_MODEL),
),
]