chat qo'shildi
This commit is contained in:
@@ -11,6 +11,17 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
# Mavjud integer qiymatlar ReferenceItem'da yo'q — FK qo'yishdan oldin NULL qilamiz
|
||||
migrations.RunSQL(
|
||||
sql="""
|
||||
UPDATE "AutoEvaluation"
|
||||
SET form_ownership = NULL,
|
||||
property_rights = NULL,
|
||||
rate_type = NULL,
|
||||
value_determined = NULL;
|
||||
""",
|
||||
reverse_sql=migrations.RunSQL.noop,
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='autoevaluationmodel',
|
||||
name='form_ownership',
|
||||
|
||||
Reference in New Issue
Block a user