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 --> Since you’re using Helm (and Terraform to manage it), just update the database connection details (host, port, user, password, db name) in your Helm values (typically under `supersetNode.connections` in your values.yaml or Terraform Helm release config). Make sure your DB password is stored securely in a Kubernetes Secret and referenced in your values file using `envFromSecrets` or similar. After updating the values, run a `helm upgrade` (or apply your Terraform changes). This will automatically restart the Superset pods with the new DB URL and trigger the init job via Helm hooks to handle DB initialization and role syncing. No extra Superset-specific manual steps are needed unless you see errors—just check pod status, logs, and the Superset UI to confirm everything works as expected. The chart is designed to handle config changes declaratively and reliably through Helm/Kubernetes best practices. [Reference: Helm chart config and workflow](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/values.yaml) | [External DB setup example](https://github.com/apache/superset/discussions/33957) <!-- 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/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/83fa2b0f-0b58-4c5e-9b89-91565a23d5ac?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-14282450 ---- 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]
