@stacksjs/orm 0.75.243 → 0.75.244

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.
@@ -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.243",
5
+ "version": "0.75.244",
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.243",
67
- "@stacksjs/cli": "0.75.243",
68
- "@stacksjs/config": "0.75.243",
69
- "@stacksjs/database": "0.75.243",
70
- "@stacksjs/env": "0.75.243",
71
- "@stacksjs/error-handling": "0.75.243",
72
- "@stacksjs/events": "0.75.243",
73
- "@stacksjs/logging": "0.75.243",
74
- "@stacksjs/model-meta": "0.75.243",
75
- "@stacksjs/pagination": "0.75.243",
76
- "@stacksjs/path": "0.75.243",
77
- "@stacksjs/query-builder": "0.75.243",
78
- "@stacksjs/realtime": "0.75.243",
79
- "@stacksjs/router": "0.75.243",
80
- "@stacksjs/storage": "0.75.243",
81
- "@stacksjs/strings": "0.75.243",
66
+ "@stacksjs/cache": "0.75.244",
67
+ "@stacksjs/cli": "0.75.244",
68
+ "@stacksjs/config": "0.75.244",
69
+ "@stacksjs/database": "0.75.244",
70
+ "@stacksjs/env": "0.75.244",
71
+ "@stacksjs/error-handling": "0.75.244",
72
+ "@stacksjs/events": "0.75.244",
73
+ "@stacksjs/logging": "0.75.244",
74
+ "@stacksjs/model-meta": "0.75.244",
75
+ "@stacksjs/pagination": "0.75.244",
76
+ "@stacksjs/path": "0.75.244",
77
+ "@stacksjs/query-builder": "0.75.244",
78
+ "@stacksjs/realtime": "0.75.244",
79
+ "@stacksjs/router": "0.75.244",
80
+ "@stacksjs/storage": "0.75.244",
81
+ "@stacksjs/strings": "0.75.244",
82
82
  "@stacksjs/ts-validation": "^0.5.6",
83
- "@stacksjs/validation": "0.75.243",
83
+ "@stacksjs/validation": "0.75.244",
84
84
  "bun-query-builder": "^0.3.8"
85
85
  },
86
86
  "peerDependencies": {
87
- "@stacksjs/auth": "0.75.243",
88
- "@stacksjs/payments": "0.75.243",
89
- "@stacksjs/queue": "0.75.243",
90
- "@stacksjs/search-engine": "0.75.243",
87
+ "@stacksjs/auth": "0.75.244",
88
+ "@stacksjs/payments": "0.75.244",
89
+ "@stacksjs/queue": "0.75.244",
90
+ "@stacksjs/search-engine": "0.75.244",
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.243",
111
+ "@stacksjs/types": "0.75.244",
112
112
  "better-dx": "^0.2.24",
113
113
  "stripe": "23.0.0"
114
114
  }