diff --git a/program/migrations/0031_auto_20220803_2226.py b/program/migrations/0031_auto_20220803_2226.py new file mode 100644 index 0000000000000000000000000000000000000000..e4072b02431cfb8751ee82b03e81c8589b9de3cd --- /dev/null +++ b/program/migrations/0031_auto_20220803_2226.py @@ -0,0 +1,31 @@ +# Generated by Django 3.2.14 on 2022-08-03 20:26 + +import django.db.models.deletion +from django.conf import settings +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ("program", "0030_auto_20220803_2217"), + ] + + operations = [ + migrations.RemoveField( + model_name="note", + name="user", + ), + migrations.AddField( + model_name="note", + name="owner", + field=models.ForeignKey( + default=1, + editable=False, + on_delete=django.db.models.deletion.CASCADE, + related_name="notes", + to=settings.AUTH_USER_MODEL, + ), + ), + ]