@stacksjs/orm 0.75.267 → 0.75.268
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.
|
@@ -162,9 +162,17 @@ export default defineModel({
|
|
|
162
162
|
*/
|
|
163
163
|
|
|
164
164
|
/** Legacy owner column, written as a copy of `tokenable_id`. */
|
|
165
|
+
/**
|
|
166
|
+
* The legacy owner column, a copy of `tokenableId` kept for installs that
|
|
167
|
+
* predate the pair. `ensureAuthTables()` gives it no constraint, since a
|
|
168
|
+
* token can belong to an author as well as a user, so it is not a foreign
|
|
169
|
+
* key. Without saying so, convention inferred `users.id` from the name and
|
|
170
|
+
* a fresh app's first `buddy doctor` failed on it.
|
|
171
|
+
*/
|
|
165
172
|
userId: {
|
|
166
173
|
order: 10,
|
|
167
174
|
guarded: true,
|
|
175
|
+
foreignKey: false,
|
|
168
176
|
validation: {
|
|
169
177
|
rule: schema.number(),
|
|
170
178
|
},
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/orm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.268",
|
|
6
6
|
"description": "The Stacks ORM integration",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -63,31 +63,31 @@
|
|
|
63
63
|
"prepublishOnly": "bun run build"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@stacksjs/cache": "0.75.
|
|
67
|
-
"@stacksjs/cli": "0.75.
|
|
68
|
-
"@stacksjs/config": "0.75.
|
|
69
|
-
"@stacksjs/database": "0.75.
|
|
70
|
-
"@stacksjs/env": "0.75.
|
|
71
|
-
"@stacksjs/error-handling": "0.75.
|
|
72
|
-
"@stacksjs/events": "0.75.
|
|
73
|
-
"@stacksjs/logging": "0.75.
|
|
74
|
-
"@stacksjs/model-meta": "0.75.
|
|
75
|
-
"@stacksjs/pagination": "0.75.
|
|
76
|
-
"@stacksjs/path": "0.75.
|
|
77
|
-
"@stacksjs/query-builder": "0.75.
|
|
78
|
-
"@stacksjs/realtime": "0.75.
|
|
79
|
-
"@stacksjs/router": "0.75.
|
|
80
|
-
"@stacksjs/storage": "0.75.
|
|
81
|
-
"@stacksjs/strings": "0.75.
|
|
66
|
+
"@stacksjs/cache": "0.75.268",
|
|
67
|
+
"@stacksjs/cli": "0.75.268",
|
|
68
|
+
"@stacksjs/config": "0.75.268",
|
|
69
|
+
"@stacksjs/database": "0.75.268",
|
|
70
|
+
"@stacksjs/env": "0.75.268",
|
|
71
|
+
"@stacksjs/error-handling": "0.75.268",
|
|
72
|
+
"@stacksjs/events": "0.75.268",
|
|
73
|
+
"@stacksjs/logging": "0.75.268",
|
|
74
|
+
"@stacksjs/model-meta": "0.75.268",
|
|
75
|
+
"@stacksjs/pagination": "0.75.268",
|
|
76
|
+
"@stacksjs/path": "0.75.268",
|
|
77
|
+
"@stacksjs/query-builder": "0.75.268",
|
|
78
|
+
"@stacksjs/realtime": "0.75.268",
|
|
79
|
+
"@stacksjs/router": "0.75.268",
|
|
80
|
+
"@stacksjs/storage": "0.75.268",
|
|
81
|
+
"@stacksjs/strings": "0.75.268",
|
|
82
82
|
"@stacksjs/ts-validation": "^0.5.6",
|
|
83
|
-
"@stacksjs/validation": "0.75.
|
|
83
|
+
"@stacksjs/validation": "0.75.268",
|
|
84
84
|
"bun-query-builder": "^0.3.8"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@stacksjs/auth": "0.75.
|
|
88
|
-
"@stacksjs/payments": "0.75.
|
|
89
|
-
"@stacksjs/queue": "0.75.
|
|
90
|
-
"@stacksjs/search-engine": "0.75.
|
|
87
|
+
"@stacksjs/auth": "0.75.268",
|
|
88
|
+
"@stacksjs/payments": "0.75.268",
|
|
89
|
+
"@stacksjs/queue": "0.75.268",
|
|
90
|
+
"@stacksjs/search-engine": "0.75.268",
|
|
91
91
|
"stripe": "23.0.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@stacksjs/types": "0.75.
|
|
111
|
+
"@stacksjs/types": "0.75.268",
|
|
112
112
|
"better-dx": "^0.2.24",
|
|
113
113
|
"stripe": "23.0.0"
|
|
114
114
|
}
|