66 lines
1.9 KiB
Python
66 lines
1.9 KiB
Python
# Generated by Django 3.2.10 on 2022-01-15 10:31
|
|
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('admin_panel', '0002_auto_20220114_1616'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='productinstore',
|
|
name='inventory',
|
|
),
|
|
migrations.AddField(
|
|
model_name='product',
|
|
name='changeDT',
|
|
field=models.DateTimeField(auto_now=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='product',
|
|
name='createdDT',
|
|
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AddField(
|
|
model_name='product',
|
|
name='year',
|
|
field=models.IntegerField(default=1400),
|
|
),
|
|
migrations.AddField(
|
|
model_name='productinstore',
|
|
name='changeDT',
|
|
field=models.DateTimeField(auto_now=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='productinstore',
|
|
name='createdDT',
|
|
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AddField(
|
|
model_name='productinstore',
|
|
name='desc',
|
|
field=models.CharField(default='', max_length=50),
|
|
),
|
|
migrations.AddField(
|
|
model_name='productinstore',
|
|
name='s_in',
|
|
field=models.IntegerField(default=0),
|
|
),
|
|
migrations.AddField(
|
|
model_name='productinstore',
|
|
name='s_out',
|
|
field=models.IntegerField(default=0),
|
|
),
|
|
migrations.AddField(
|
|
model_name='productinstore',
|
|
name='year',
|
|
field=models.IntegerField(default=1400),
|
|
),
|
|
]
|