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

22 lines
599 B
Python
Raw Normal View History

2023-03-01 22:58:22 +08:00
# Generated by Django 4.1.7 on 2023-03-01 13:51
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', '0006_note_owner'),
]
operations = [
migrations.AlterField(
model_name='note',
name='owner',
field=models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
),
]