uql-orm 0.24.3 → 0.24.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.
- package/dist/type/entity.d.ts +4 -2
- package/package.json +2 -2
package/dist/type/entity.d.ts
CHANGED
|
@@ -279,9 +279,11 @@ export type FieldOptions<V = TsTypeOf<FieldType>> = {
|
|
|
279
279
|
*/
|
|
280
280
|
readonly unique?: boolean;
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
282
|
+
* The column's DDL default, rendered into `CREATE TABLE` by `formatDefaultValue` - not `V`, unlike
|
|
283
|
+
* the generators above. A JSONB column defaults with the SQL literal it stores, `defaultValue: '{}'`,
|
|
284
|
+
* which is a string whatever the field's TypeScript type is.
|
|
283
285
|
*/
|
|
284
|
-
readonly defaultValue?:
|
|
286
|
+
readonly defaultValue?: Scalar | Record<string, unknown>;
|
|
285
287
|
/**
|
|
286
288
|
* Whether the column is auto-incrementing (for integer IDs).
|
|
287
289
|
*/
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"homepage": "https://uql-orm.dev",
|
|
4
4
|
"description": "Extremely fast, type-safe TypeScript ORM - one API for every database",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.24.
|
|
6
|
+
"version": "0.24.4",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"engines": {
|
|
9
9
|
"node": ">=24"
|
|
@@ -198,5 +198,5 @@
|
|
|
198
198
|
"publishConfig": {
|
|
199
199
|
"access": "public"
|
|
200
200
|
},
|
|
201
|
-
"gitHead": "
|
|
201
|
+
"gitHead": "bd6b7f65fcd1c7dfc9e1201f997cda7d687bdd5f"
|
|
202
202
|
}
|