Automatically upgrade the database upon services start-up. So that we don't need to do it manually using cli tools on the server. https://github.com/getredash/redash/pull/7167 has to go in first because upgrading db takes time. The rest of the program has to wait for it to finish.
What type of PR is this?
Description
Automatically upgrade the database upon services start-up. So that we don't need to do it manually using cli tools on the server. https://github.com/getredash/redash/pull/7167 has to go in first because upgrading db takes time. The rest of the program has to wait for it to finish.
I started the discussion https://github.com/getredash/redash/discussions/7005 on automated db migration mechanisms.
Further discussing: https://github.com/getredash/redash/pull/7161#issuecomment-2352747467
How is this tested?
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)