You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
786 B
26 lines
786 B
# Generated by Django 4.1.1 on 2022-10-06 16:48 |
|
|
|
from django.conf import settings |
|
from django.db import migrations, models |
|
import django.db.models.deletion |
|
import weixin.models |
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
|
initial = True |
|
|
|
dependencies = [ |
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|
] |
|
|
|
operations = [ |
|
migrations.CreateModel( |
|
name='Profile', |
|
fields=[ |
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
('items', models.JSONField(default=weixin.models.empty_items)), |
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), |
|
], |
|
), |
|
]
|
|
|