mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 13:39:22 +01:00
feat: Add env var to skip migration checks (#17915)
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
This commit is contained in:
parent
31c1cdf301
commit
9939786d63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user