@adaptware/eagles-db 0.5.29 → 0.5.30

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/README.md CHANGED
@@ -6,10 +6,15 @@ Prisma schema and client for the Treadspace hiring database.
6
6
  **CLI binary:** `treadspace-db` (see [docs/eagles-db/cli-reference.md](./docs/eagles-db/cli-reference.md))
7
7
 
8
8
  **Local documentation:** [docs/README.md](./docs/README.md)
9
- **Central monorepo hub:** [docs/README.md](../docs/README.md)
9
+ **Central workspace hub:** [docs/README.md](../docs/README.md)
10
+ **Setup:** [docs/packages/eagles-db/README.md](../docs/packages/eagles-db/README.md)
10
11
 
11
12
  ```bash
12
13
  yarn install
13
- export DATABASE_URL=postgresql://...
14
+ export DATABASE_URL="postgresql://…/treadspace?schema=public"
14
15
  yarn generate
16
+ yarn build
17
+ yarn treadspace-db migrate:deploy
15
18
  ```
19
+
20
+ Schema files live under `prisma/schema/` (multi-file). Prefer migrations over `db push` except greenfield/Docker setup.