flask commands not available

In current main, the flask db cli command tree is not available for some reason:

cli:staging.stackspin.net stackspin # kubectl logs -n stackspin job/dashboard-initialize-user
Found 7 pods, using pod/dashboard-initialize-user-2wjlk
[2023-06-17 02:03:42,673] INFO in app: WERKZEUG_RUN_MAIN: unset
[2023-06-17 02:03:42,674] INFO in app: Not running initialization code (dev mode).
Usage: flask [OPTIONS] COMMAND [ARGS]...
Try 'flask --help' for help.

Error: No such command 'db'.

I'm currently bisecting to see what change caused this.

This is currently breaking the helm upgrade to latest dashboard release, although I think we can actually drop the flask db upgrade command from the init job because that's already done inside the backend on startup, so that's a possible workaround.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information