mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
2b08b0f2b9
- Creation date - Creation user - Responsible user
32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
# Generated by Django 2.2.9 on 2020-03-18 10:44
|
|
|
|
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),
|
|
('part', '0030_auto_20200318_1027'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='part',
|
|
name='creation_date',
|
|
field=models.DateField(auto_now_add=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='part',
|
|
name='creation_user',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='parts_created', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
migrations.AddField(
|
|
model_name='part',
|
|
name='responsible',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='parts_responible', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
]
|