bracket
bracket copied to clipboard
Docker fix prod
Two bugs have been fixed:
- When the production database starts and is empty, it generates the error "index "ix_users_email" does not exist." This bug has been fixed.
- When using the latest version of PostgreSQL (18), it generates the error /var/lib/postgresql/data #1389. New functionality has been added:
- New functionality has been added to allow APIs to be private, eliminating the need for CORS in production. If APIs need to be published, a parameter has been created for this purpose. See API-MODES.md
@oscartobar is attempting to deploy a commit to the evroon's projects Team on Vercel.
A member of the Team first needs to authorize it.
Thanks for the PR!
Hmm I am not really sure what the changes related to CORS attempt to solve.
Maybe the fix for postgres 18 can be a separate (smaller) PR?
When the production database starts and is empty, it generates the error "index "ix_users_email" does not exist." This bug has been fixed.
That index should be getting created once you run ./cli.py create-dev-db. Why do we need to change the alembic of (two years ago) for this and add more code in db_init.py etc.?