0007_auto_20180529_0701.py 996 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Generated by Django 2.0.5 on 2018-05-29 07:01
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('contenttypes', '0002_remove_content_type_name'),
  7. ('storage', '0006_auto_20180509_1445'),
  8. ]
  9. operations = [
  10. migrations.RemoveField(
  11. model_name='book',
  12. name='notes',
  13. ),
  14. migrations.RemoveField(
  15. model_name='personofinterest',
  16. name='notes',
  17. ),
  18. migrations.AddField(
  19. model_name='note',
  20. name='content_type',
  21. field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType'),
  22. preserve_default=False,
  23. ),
  24. migrations.AddField(
  25. model_name='note',
  26. name='object_id',
  27. field=models.PositiveIntegerField(default=1),
  28. preserve_default=False,
  29. ),
  30. ]