GitHub user dosubot[bot] added a comment to the discussion: Superset db upgrade is not triggering upgrade
<!-- Answer --> The most reliable way to confirm your Superset upgrade is finished is to check the alembic_version table in your metadata database. This table should contain the latest migration revision ID—if it matches the latest revision in your codebase, all migrations have been applied. You can check it with a query like: ```sql SELECT * FROM alembic_version; ``` You can also look for a log message like INFO [alembic.env] Migration scripts completed. Duration: ... in your migration logs, which indicates all migrations have finished without errors. If there are no active Alembic-related queries in pg_stat_activity and the alembic_version table is up to date, your upgrade is complete ([source](https://github.com/apache/superset/issues/31887)). <!-- 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/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/ce7aaa0e-e5da-4d58-bcf1-2b616d871f02?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20most%20reliable%20way%20to%20confirm%20your%20Superset%20upgrade%20is%20finished%20is%20to%20check%20the%20alembic_version%20table%20in%20your%20metadata%20database.%20This%20table%20should%20contain%20the%20latest%20migration%20revision%20ID%E2%80%94if%20it%20matches%20the%20latest%20revision%20in%20your%20codebase%2C%20all%20migrations%20have%20been%20applied.%20You%20can%20check%20it%20with%20a%20query%20like%3A%0A%0A%60%60%60sql%0ASELECT%20%2A%20FROM%20alembic_version%3B%0A%60%60%60%0A%0AYou%20can%20also%20look%20for%20a%20log%20message%20like%20INFO%20%20%5Balembic.env%5D%20Migration%20scripts%20completed.%20Duration%3A%20...%20in%20your%20migration%20logs%2C%20which%20indicates%20all%20migrations%20have%20finished%20without%20errors.%20If% 20there%20are%20no%20active%20Alembic-related%20queries%20in%20pg_stat_activity%20and%20the%20alembic_version%20table%20is%20up%20to%20date%2C%20your%20upgrade%20is%20complete%C2%A0%28%5Bsource%5D%28https%3A//github.com/apache/superset/issues/31887%29%29.) [](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/37261) GitHub link: https://github.com/apache/superset/discussions/37261#discussioncomment-15545095 ---- 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]
