Django-NotesApp/project/notes/migrations/0011_alter_note_owner.py

22 lines
593 B
Python
Raw Permalink Normal View History

# Generated by Django 4.1.7 on 2023-03-04 11: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),
('notes', '0010_alter_note_owner'),
]
operations = [
migrations.AlterField(
model_name='note',
name='owner',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
),
]