28 lines
946 B
Python
28 lines
946 B
Python
# Generated by Django 6.0.5 on 2026-05-18 11:13
|
|
|
|
import accounts.models
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, 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')),
|
|
('bio', models.TextField(blank=True, null=True)),
|
|
('image', models.ImageField(blank=True, null=True, upload_to=accounts.models.user_profile_upload_path)),
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|