mixr-api/api_v1/migrations/0001_createBasicUserInformation.py

24 lines
670 B
Python

# Generated by Django 5.0.2 on 2024-02-28 12:44
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0012_alter_user_first_name_max_length'),
]
operations = [
migrations.CreateModel(
name='UserInformation',
fields=[
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
('display_name', models.CharField(max_length=150)),
],
),
]