2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 20:15:44 +00:00

Add 'user' field to attachment

This commit is contained in:
Oliver Walters
2020-05-12 20:50:03 +10:00
parent 2948dad831
commit d4fa7d936e
7 changed files with 99 additions and 1 deletions

View File

@ -0,0 +1,26 @@
# Generated by Django 3.0.5 on 2020-05-12 10:33
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('order', '0032_auto_20200427_0044'),
]
operations = [
migrations.AddField(
model_name='purchaseorderattachment',
name='user',
field=models.ForeignKey(blank=True, help_text='User', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL),
),
migrations.AddField(
model_name='salesorderattachment',
name='user',
field=models.ForeignKey(blank=True, help_text='User', null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL),
),
]