@fayz-ai/db 0.23.1 → 0.23.2

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.
@@ -0,0 +1,28 @@
1
+ -- ============================================================================
2
+ -- 196 — FullControl becomes GoControl
3
+ --
4
+ -- The general-purpose ERP of the Control family (app id `full`) ships under a
5
+ -- new name, on its own domain: https://gocontrol.app. The app's own bundle
6
+ -- (FayaLabs/control-app) carries the new wordmark; this row is what every OTHER
7
+ -- surface reads — the switcher between a tenant's apps, the module catalog's
8
+ -- "Extends: …" line, the theme catalog.
9
+ --
10
+ -- The url also moves. It pointed at the `full-control` Worker, a build nobody
11
+ -- has deployed since 2026-09-20, so the switcher sent people to a version three
12
+ -- weeks old. gocontrol.app serves what control-app's CI ships.
13
+ --
14
+ -- The id stays `full`: it keys tenant_apps, presets and every grant, and a
15
+ -- product rename is not a reason to move a primary key.
16
+ --
17
+ -- Idempotent.
18
+ -- ============================================================================
19
+
20
+ UPDATE app.apps
21
+ SET name = 'GoControl',
22
+ url = 'https://gocontrol.app',
23
+ theme = CASE WHEN theme ? 'name' THEN jsonb_set(theme, '{name}', '"GoControl"') ELSE theme END,
24
+ updated_at = now()
25
+ WHERE id = 'full'
26
+ AND (name IS DISTINCT FROM 'GoControl'
27
+ OR url IS DISTINCT FROM 'https://gocontrol.app'
28
+ OR theme ->> 'name' IS DISTINCT FROM 'GoControl');
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "fayz": {
4
4
  "status": "beta"
5
5
  },
6
- "version": "0.23.1",
6
+ "version": "0.23.2",
7
7
  "description": "Fayz SDK database layer — Drizzle schema primitives, spine references, and migration helpers shared across plugins.",
8
8
  "type": "module",
9
9
  "sideEffects": false,