0003_auto_20210116_2110.py 872 B

12345678910111213141516171819202122232425262728
  1. # Generated by Django 3.1.5 on 2021-01-16 21:10
  2. import django.contrib.postgres.fields.hstore
  3. from django.contrib.postgres.operations import HStoreExtension
  4. from django.db import migrations
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. ("events", "0002_auto_20201229_1643"),
  8. ]
  9. operations = [
  10. migrations.RemoveField(model_name="event", name="tags",),
  11. HStoreExtension(),
  12. migrations.AddField(
  13. model_name="event",
  14. name="tags",
  15. field=django.contrib.postgres.fields.hstore.HStoreField(default=dict),
  16. ),
  17. migrations.DeleteModel(name="EventTag",),
  18. migrations.DeleteModel(name="EventTagKey",),
  19. migrations.RunSQL(
  20. sql="DROP FUNCTION IF EXISTS add_event_tags;",
  21. reverse_sql="DROP FUNCTION IF EXISTS add_event_tags;",
  22. ),
  23. ]