fix: 修复 Migrations 错误

pull/8294/head
ibuler 3 years ago committed by 老广
parent 26cf64ad2d
commit 09ef72a4a8

@ -14,7 +14,6 @@ def create_internal_platform(apps, schema_editor):
model.objects.using(db_alias).update_or_create(
name=name, defaults=defaults
)
migrations.RunPython(create_internal_platform)
class Migration(migrations.Migration):

Loading…
Cancel
Save