GitHub user dosubot[bot] added a comment to the discussion: How can I downgrade the schema of superset from v4.0.0 to v3.0.0
<!-- Answer --> If you updated the DB URL directly in a Kubernetes Secret or ConfigMap, restarting the Superset deployments will make the pods pick up the new connection info and connect to the new database. However, if you changed the DB URL via Helm values (or Terraform-managed Helm), you should run a `helm upgrade` instead. This not only restarts the pods but also triggers the Superset init job, which runs database migrations and role initialization—something a simple pod restart does not do. This is the recommended and safest approach for Helm-managed deployments to ensure everything is properly initialized and synced with the new database [[Helm chart reference]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/values.yaml). In short: - Direct secret/config change → pod restart is enough - Helm values change → run `helm upgrade` (not just restart) to trigger the init job and apply all changes <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8cea3488-f7c1-4bac-9215-2502eb52d389?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34981) GitHub link: https://github.com/apache/superset/discussions/34981#discussioncomment-14282497 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
