@stacksjs/orm 0.75.243 → 0.75.245
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/models/QueryLog.ts +10 -0
- package/package.json +23 -23
package/dist/models/QueryLog.ts
CHANGED
|
@@ -142,38 +142,48 @@ export default defineModel({
|
|
|
142
142
|
rule: schema.string().max(255),
|
|
143
143
|
},
|
|
144
144
|
},
|
|
145
|
+
// `text`, all of these: an EXPLAIN plan, the tables a query touched and the
|
|
146
|
+
// suggestions made about it run past the varchar(255) Postgres enforces, and
|
|
147
|
+
// a log row that does not fit is dropped ("value too long for type character
|
|
148
|
+
// varying(255)") - losing exactly the slow queries this table exists for.
|
|
145
149
|
tags: {
|
|
146
150
|
fillable: true,
|
|
151
|
+
type: 'text',
|
|
147
152
|
validation: {
|
|
148
153
|
rule: schema.string(),
|
|
149
154
|
},
|
|
150
155
|
},
|
|
151
156
|
affected_tables: {
|
|
152
157
|
fillable: true,
|
|
158
|
+
type: 'text',
|
|
153
159
|
validation: {
|
|
154
160
|
rule: schema.string(),
|
|
155
161
|
},
|
|
156
162
|
},
|
|
157
163
|
indexes_used: {
|
|
158
164
|
fillable: true,
|
|
165
|
+
type: 'text',
|
|
159
166
|
validation: {
|
|
160
167
|
rule: schema.string(),
|
|
161
168
|
},
|
|
162
169
|
},
|
|
163
170
|
missing_indexes: {
|
|
164
171
|
fillable: true,
|
|
172
|
+
type: 'text',
|
|
165
173
|
validation: {
|
|
166
174
|
rule: schema.string(),
|
|
167
175
|
},
|
|
168
176
|
},
|
|
169
177
|
explain_plan: {
|
|
170
178
|
fillable: true,
|
|
179
|
+
type: 'text',
|
|
171
180
|
validation: {
|
|
172
181
|
rule: schema.string(),
|
|
173
182
|
},
|
|
174
183
|
},
|
|
175
184
|
optimization_suggestions: {
|
|
176
185
|
fillable: true,
|
|
186
|
+
type: 'text',
|
|
177
187
|
validation: {
|
|
178
188
|
rule: schema.string(),
|
|
179
189
|
},
|
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.245",
|
|
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.245",
|
|
67
|
+
"@stacksjs/cli": "0.75.245",
|
|
68
|
+
"@stacksjs/config": "0.75.245",
|
|
69
|
+
"@stacksjs/database": "0.75.245",
|
|
70
|
+
"@stacksjs/env": "0.75.245",
|
|
71
|
+
"@stacksjs/error-handling": "0.75.245",
|
|
72
|
+
"@stacksjs/events": "0.75.245",
|
|
73
|
+
"@stacksjs/logging": "0.75.245",
|
|
74
|
+
"@stacksjs/model-meta": "0.75.245",
|
|
75
|
+
"@stacksjs/pagination": "0.75.245",
|
|
76
|
+
"@stacksjs/path": "0.75.245",
|
|
77
|
+
"@stacksjs/query-builder": "0.75.245",
|
|
78
|
+
"@stacksjs/realtime": "0.75.245",
|
|
79
|
+
"@stacksjs/router": "0.75.245",
|
|
80
|
+
"@stacksjs/storage": "0.75.245",
|
|
81
|
+
"@stacksjs/strings": "0.75.245",
|
|
82
82
|
"@stacksjs/ts-validation": "^0.5.6",
|
|
83
|
-
"@stacksjs/validation": "0.75.
|
|
83
|
+
"@stacksjs/validation": "0.75.245",
|
|
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.245",
|
|
88
|
+
"@stacksjs/payments": "0.75.245",
|
|
89
|
+
"@stacksjs/queue": "0.75.245",
|
|
90
|
+
"@stacksjs/search-engine": "0.75.245",
|
|
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.245",
|
|
112
112
|
"better-dx": "^0.2.24",
|
|
113
113
|
"stripe": "23.0.0"
|
|
114
114
|
}
|