@vibeorm/schema 5.4.0 → 5.6.0
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/capabilities.d.ts +9 -0
- package/dist/collation.d.ts +26 -0
- package/dist/errors.d.ts +8 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +84 -5
- package/dist/index.js.map +8 -7
- package/dist/ir.d.ts +5 -4
- package/package.json +1 -1
package/dist/ir.d.ts
CHANGED
|
@@ -123,10 +123,11 @@ export type FieldIR = {
|
|
|
123
123
|
readonly validator?: ValidatorRefIR;
|
|
124
124
|
/**
|
|
125
125
|
* Explicit column collation (`@collation("...")`) — String fields. Rendered
|
|
126
|
-
* as `COLLATE` on mysql and
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
126
|
+
* as `COLLATE` on mysql, and on postgres unless it is a MySQL collation
|
|
127
|
+
* name; inert on sqlite (`dialectCollation` is the one rule, so a portable
|
|
128
|
+
* schema's MySQL collation crosses the matrix). An omitted declaration
|
|
129
|
+
* leaves the physical collation unchanged. The runtime skips LOWER()
|
|
130
|
+
* wrapping for insensitive filters on mysql `_ci` collations (board #36).
|
|
130
131
|
* Absent = server/table default (LOWER() kept — conservative).
|
|
131
132
|
*/
|
|
132
133
|
readonly collation?: string;
|