27 lines
1020 B
Python
27 lines
1020 B
Python
|
# Generated by Django 4.0.3 on 2022-04-13 12:08
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('asset', '0002_auto_20220310_1620'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='GtinProduct',
|
||
|
fields=[
|
||
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('gtin', models.CharField(max_length=40, unique=True)),
|
||
|
('api_request', models.CharField(max_length=250)),
|
||
|
('api_response', models.CharField(max_length=4096)),
|
||
|
('name', models.CharField(blank=True, max_length=200)),
|
||
|
('brand', models.CharField(blank=True, max_length=40)),
|
||
|
('created_ts', models.DateTimeField(auto_now_add=True, verbose_name='datetime created')),
|
||
|
('changed_ts', models.DateTimeField(auto_now=True, verbose_name='datetime updated')),
|
||
|
],
|
||
|
),
|
||
|
]
|