0005_folder_owner.py 581 B

123456789101112131415161718192021
  1. # Generated by Django 3.2.5 on 2021-09-09 12:38
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('account', '0001_initial'),
  7. ('folder', '0004_alter_folder_father_folder'),
  8. ]
  9. operations = [
  10. migrations.AddField(
  11. model_name='folder',
  12. name='owner',
  13. field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='folders', to='account.user'),
  14. preserve_default=False,
  15. ),
  16. ]