0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-27 16:26:50 +01:00
posthog/bin/migrate-check

9 lines
198 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
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