run-migrate.sh 166 B

1234567
  1. #!/usr/bin/env bash
  2. set -e
  3. echo "Run Django migrations"
  4. ./manage.py migrate --skip-checks
  5. echo "Create and delete Postgres partitions"
  6. ./manage.py pgpartition --yes