partition.py 136 B

12345
  1. from django.core.management import call_command
  2. def create_partitions(apps, schema_editor):
  3. call_command("pgpartition", yes=True)