Commit cee12c79 authored by Renán Sosa Guillen's avatar Renán Sosa Guillen

erased

parent 4dd91f61
# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-08-03 21:30
from __future__ import unicode_literals
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),
('catalog', '0008_auto_20180725_1554'),
]
operations = [
migrations.CreateModel(
name='CartProduct',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('add_date', models.DateTimeField(auto_now=True)),
('prod_uuid', models.CharField(max_length=50)),
('prod_num', models.IntegerField()),
('purchased', models.NullBooleanField()),
('prod_l1c', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='catalog.Product_l1c')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.CreateModel(
name='Purchase',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('pur_date', models.DateTimeField(auto_now=True)),
('prod_list', models.ManyToManyField(to='catalog.Product_l1c')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment