@protobase/cli 0.68.4 → 0.68.5
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/dist/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.5",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@better-auth/core": "^1.7.12",
|
|
45
45
|
"@hono/node-server": "^2.1.3",
|
|
46
|
-
"@protobase/config": "0.68.
|
|
47
|
-
"@protobase/layout": "0.68.
|
|
48
|
-
"@protobase/query": "0.68.
|
|
49
|
-
"@protobase/schema": "0.68.
|
|
50
|
-
"@protobase/server": "0.68.
|
|
51
|
-
"@protobase/ui": "0.68.
|
|
52
|
-
"@protobase/workflows": "0.68.
|
|
46
|
+
"@protobase/config": "0.68.5",
|
|
47
|
+
"@protobase/layout": "0.68.5",
|
|
48
|
+
"@protobase/query": "0.68.5",
|
|
49
|
+
"@protobase/schema": "0.68.5",
|
|
50
|
+
"@protobase/server": "0.68.5",
|
|
51
|
+
"@protobase/ui": "0.68.5",
|
|
52
|
+
"@protobase/workflows": "0.68.5",
|
|
53
53
|
"@react-email/render": "^2.1.0",
|
|
54
54
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
55
55
|
"@sentry/vite-plugin": "^11.10.0",
|
|
@@ -30,7 +30,7 @@ The tables users add and their definitions live in two schemas of the app's data
|
|
|
30
30
|
|
|
31
31
|
| Schema | What it holds |
|
|
32
32
|
| --- | --- |
|
|
33
|
-
| `table_definitions` | `tables`, one row per table users add, with its singular and plural label, its title field, a version, 1 when it is added, its organization with organizations, and its table's name, and `fields`, each table's fields in order with their label, type and whether they are required |
|
|
33
|
+
| `table_definitions` | `tables`, one row per table users add, with its singular and plural label, its title field, a version, 1 when it is added, its organization with organizations, and its table's name, and `fields`, each table's fields in order with their label, type and whether they are required, indexed by table and position so a table's fields list in their order |
|
|
34
34
|
| `user_tables` | the tables themselves, each with an `id bigint generated always as identity` primary key and a column per field, and with organizations an `organization_id` column |
|
|
35
35
|
|
|
36
36
|
With `userTables: true`, [`protobase migration`](cli.md#migration) writes a migration that adds both schemas, the two definition tables and the `pg_trgm` extension when it is missing, and grants the app's database role CREATE on `user_tables` alone, and writes nothing once the database has them. Apply it with the project's other migrations; the server never creates them itself. At start, `dev` and `serve` stop while one is missing; `PROTOBASE_STARTUP_CHECKS=false` skips that check in `serve`, as it skips the others.
|