You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
# Generated by Django 2.2.7 on 2019-12-26 19:14
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='UserShippingAddress',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('address1', models.CharField(max_length=100)),
|
|
('address2', models.CharField(blank=True, max_length=100)),
|
|
('city', models.CharField(max_length=100)),
|
|
('state', models.CharField(max_length=60)),
|
|
('country', models.CharField(max_length=60)),
|
|
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL)),
|
|
('zip', models.PositiveIntegerField()),
|
|
],
|
|
),
|
|
]
|