27 lines
722 B
Python
27 lines
722 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("operations", "0014_remove_aiinsight_section_session"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveConstraint(
|
|
model_name="aiinsight",
|
|
name="uniq_ai_insight_cache_scope",
|
|
),
|
|
migrations.RemoveField(
|
|
model_name="aiinsight",
|
|
name="version",
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name="aiinsight",
|
|
constraint=models.UniqueConstraint(
|
|
fields=("cycle", "kandang", "topic", "report_type", "report_period"),
|
|
name="uniq_ai_insight_cache_scope",
|
|
),
|
|
),
|
|
]
|