We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22666c commit 3b02eecCopy full SHA for 3b02eec
files/build_templates/docker_image_ctl.j2
@@ -59,6 +59,11 @@ function postStartAction()
59
60
redis-cli -n 4 SET "CONFIG_DB_INITIALIZED" "1"
61
fi
62
+
63
+ if [[ -x /usr/bin/db_migrator.py ]]; then
64
+ # Migrate the DB to the latest schema version if needed
65
+ /usr/bin/db_migrator.py -o migrate
66
+ fi
67
{%- elif docker_container_name == "swss" %}
68
docker exec swss rm -f /ready # remove cruft
69
if [[ "$BOOT_TYPE" == "fast" ]] && [[ -d /host/fast-reboot ]]; then
0 commit comments