26 lines
700 B
Python
26 lines
700 B
Python
|
# Generated by Django 4.2.7 on 2023-12-12 16:31
|
||
|
|
||
|
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),
|
||
|
("DetectionApp", "0002_alter_detectimage_image"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name="detectimage",
|
||
|
name="owner",
|
||
|
field=models.ForeignKey(
|
||
|
default=1,
|
||
|
on_delete=django.db.models.deletion.CASCADE,
|
||
|
to=settings.AUTH_USER_MODEL,
|
||
|
),
|
||
|
preserve_default=False,
|
||
|
),
|
||
|
]
|