mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
9939786d63
Add env var to skip migration checks This will allow us to skip the checks in kubernetes pods that use initContainers but without effecting existing deploys or docker-compose
9 lines
198 B
Bash
Executable File
9 lines
198 B
Bash
Executable File
#!/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
|