catalog gets email field
This commit is contained in:
31
products/migrations/0001_initial.py
Normal file
31
products/migrations/0001_initial.py
Normal file
@ -0,0 +1,31 @@
|
||||
# Generated by Django 2.2 on 2019-05-15 20:36
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Product',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('sap', models.CharField(db_column='sap_article_number', max_length=10)),
|
||||
('name', models.CharField(db_column='short_name', max_length=100)),
|
||||
('model', models.CharField(db_column='model', max_length=100)),
|
||||
('gender', models.CharField(db_column='gender', max_length=100)),
|
||||
('category', models.CharField(db_column='model_product_type', max_length=100)),
|
||||
('family', models.CharField(db_column='product_family', max_length=100)),
|
||||
('color', models.CharField(db_column='color', max_length=100)),
|
||||
],
|
||||
options={
|
||||
'db_table': 'adilog_product',
|
||||
'managed': False,
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user