0005_auto_20180509_1121.py 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Generated by Django 2.0.5 on 2018-05-09 11:21
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('storage', '0004_auto_20180509_1056'),
  7. ]
  8. operations = [
  9. migrations.RemoveField(
  10. model_name='book',
  11. name='materials',
  12. ),
  13. migrations.AddField(
  14. model_name='book',
  15. name='materials',
  16. field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Material'),
  17. ),
  18. migrations.RemoveField(
  19. model_name='book',
  20. name='notes',
  21. ),
  22. migrations.AddField(
  23. model_name='book',
  24. name='notes',
  25. field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Note'),
  26. ),
  27. migrations.RemoveField(
  28. model_name='course',
  29. name='materials',
  30. ),
  31. migrations.AddField(
  32. model_name='course',
  33. name='materials',
  34. field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Material'),
  35. ),
  36. migrations.RemoveField(
  37. model_name='personofinterest',
  38. name='notes',
  39. ),
  40. migrations.AddField(
  41. model_name='personofinterest',
  42. name='notes',
  43. field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='storage.Note'),
  44. ),
  45. migrations.AlterField(
  46. model_name='task',
  47. name='priority',
  48. field=models.IntegerField(choices=[(0, 'Unprioritized'), (1, 'Hight'), (2, 'Medium'), (3, 'Low')], default=0),
  49. ),
  50. ]