diff --git a/bin/migrate-check b/bin/migrate-check index 43d5c39d127..c58236088bd 100755 --- a/bin/migrate-check +++ b/bin/migrate-check @@ -1,6 +1,8 @@ #!/bin/bash set -e -python manage.py migrate --check -python manage.py migrate_clickhouse --check -python manage.py run_async_migrations --check +if [ -z "$POSTHOG_SKIP_MIGRATION_CHECKS" ]; then + python manage.py migrate --check + python manage.py migrate_clickhouse --check + python manage.py run_async_migrations --check +fi