@rimori/client 2.5.37-next.3 → 2.5.37-next.4
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.
|
@@ -18,14 +18,8 @@
|
|
|
18
18
|
*/
|
|
19
19
|
/**
|
|
20
20
|
* 'image', 'audio', 'video' and 'file' are stored as `text` (URL) in the database.
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* 2. Register the column for the asset-refs cron, which links rows to bucket
|
|
24
|
-
* files (in the `plugin-assets` Supabase bucket) and deletes orphans when
|
|
25
|
-
* the row is deleted, the column is replaced, or the value is cleared.
|
|
26
|
-
*
|
|
27
|
-
* Use these types instead of `text` for any column whose value is a URL into the
|
|
28
|
-
* `plugin-assets` bucket — that way the file is automatically cleaned up.
|
|
21
|
+
* The migration system adds an `updated_at` trigger and registers the column for
|
|
22
|
+
* the asset-refs cron, which links rows to bucket files and deletes orphans.
|
|
29
23
|
*/
|
|
30
24
|
type DbColumnType = 'decimal' | 'integer' | 'text' | 'boolean' | 'json' | 'timestamp' | 'uuid' | 'markdown' | 'vector' | 'image' | 'audio' | 'video' | 'file';
|
|
31
25
|
/**
|