2014-12-27 19:26:16 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from django.conf import settings
|
2023-02-18 22:46:48 +01:00
|
|
|
from django.db import migrations, models
|
2014-12-27 19:26:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
2023-02-18 22:46:48 +01:00
|
|
|
("osusers", "0002_auto_20141226_1456"),
|
2014-12-27 19:26:16 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2023-02-18 22:46:48 +01:00
|
|
|
model_name="user",
|
|
|
|
name="customer",
|
2018-11-19 23:28:40 +01:00
|
|
|
field=models.ForeignKey(
|
2023-02-18 22:46:48 +01:00
|
|
|
default=1, to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE
|
|
|
|
),
|
2014-12-27 19:26:16 +01:00
|
|
|
preserve_default=False,
|
|
|
|
),
|
|
|
|
]
|