django-eav2/eav/migrations/0002_add_entity_ct_field.py
2024-09-01 14:57:47 -07:00

18 lines
469 B
Python

from django.db import migrations, models
class Migration(migrations.Migration):
"""Add entity_ct field to Attribute model."""
dependencies = [
("contenttypes", "0002_remove_content_type_name"),
("eav", "0001_initial"),
]
operations = [
migrations.AddField(
model_name="attribute",
name="entity_ct",
field=models.ManyToManyField(blank=True, to="contenttypes.ContentType"),
),
]