mirror of
https://github.com/healthchecks/healthchecks.git
synced 2024-11-23 16:07:39 +00:00
47ec070aee
Each Profile must have a corresponding User object, there should be no profiles with null "user_id" fields.
24 lines
617 B
Python
24 lines
617 B
Python
# Generated by Django 4.2.4 on 2023-08-29 13:16
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
("accounts", "0047_profile_over_limit_date"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="profile",
|
|
name="user",
|
|
field=models.OneToOneField(
|
|
on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL
|
|
),
|
|
),
|
|
]
|