0003_auto_20210909_2239.py 673 B

12345678910111213141516171819202122232425
  1. # Generated by Django 3.2.5 on 2021-09-09 14:39
  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. ('file', '0002_alter_file_folder'),
  8. ]
  9. operations = [
  10. migrations.RemoveField(
  11. model_name='file',
  12. name='file_path',
  13. ),
  14. migrations.AddField(
  15. model_name='file',
  16. name='owner',
  17. field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, related_name='files', to='account.user'),
  18. preserve_default=False,
  19. ),
  20. ]