@quatronic/sdk 0.7.0-test.d0401ae → 0.7.0-test.e5175ce
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/migrations/bootstrap-qore-env/meta.json +1 -1
- package/migrations/global-error/meta.json +1 -1
- package/migrations/local-db-port/instructions.md +10 -0
- package/migrations/local-db-port/meta.json +1 -1
- package/migrations/mail-reexport/meta.json +1 -1
- package/migrations/no-raw-fetch/meta.json +1 -1
- package/migrations/platform-routes/meta.json +1 -1
- package/migrations/qore-boot/meta.json +1 -1
- package/migrations/qore-proxy/meta.json +1 -1
- package/migrations/sourcemaps-finalize/meta.json +1 -1
- package/package.json +1 -1
|
@@ -31,5 +31,15 @@ node node_modules/@quatronic/sdk/migrations/run.mjs --only local-db-port
|
|
|
31
31
|
|
|
32
32
|
A backend needs no `--env-file`: docker compose reads `.env` by itself.
|
|
33
33
|
|
|
34
|
+
## Did you put `DB_PORT` in `.env`?
|
|
35
|
+
|
|
36
|
+
Apps generated before August 2026 have a README tip: "Create a `.env` file next
|
|
37
|
+
to `docker-compose.yml` with `DB_PORT=5433`". After this migration a Next app's
|
|
38
|
+
`db:up` reads `.env.local` only, so that `.env` is ignored and the database
|
|
39
|
+
starts on 5432 again. Move the line to `.env.local` (or run `qore env pull`,
|
|
40
|
+
which writes the assigned `DB_PORT` there) and delete the `.env` if nothing
|
|
41
|
+
else is in it. `.env` is not committed, so the upgrade bot cannot see or move
|
|
42
|
+
it for you.
|
|
43
|
+
|
|
34
44
|
If your database was already running, restart it once with
|
|
35
45
|
`pnpm db:down && pnpm db:up`. It comes back on the assigned port with its data.
|