@open-mercato/core 0.6.2-develop.3439.1.94b9d9733c → 0.6.2-develop.3446.1.bd060c6017
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/.turbo/turbo-build.log +1 -1
- package/dist/generated/entities/entity_index_row/index.js +2 -0
- package/dist/generated/entities/entity_index_row/index.js.map +2 -2
- package/dist/generated/entity-fields-registry.js +1 -0
- package/dist/generated/entity-fields-registry.js.map +2 -2
- package/dist/helpers/integration/queue-runner.js +58 -0
- package/dist/helpers/integration/queue-runner.js.map +7 -0
- package/dist/helpers/integration/queue.js +67 -0
- package/dist/helpers/integration/queue.js.map +7 -0
- package/dist/helpers/integration/salesUi.js +33 -15
- package/dist/helpers/integration/salesUi.js.map +2 -2
- package/dist/modules/customers/ai-agents.js +5 -2
- package/dist/modules/customers/ai-agents.js.map +2 -2
- package/dist/modules/customers/ai-tools/deals-pack.js +52 -8
- package/dist/modules/customers/ai-tools/deals-pack.js.map +2 -2
- package/dist/modules/customers/ai-tools/types.js.map +2 -2
- package/dist/modules/customers/api/people/[id]/route.js +10 -1
- package/dist/modules/customers/api/people/[id]/route.js.map +2 -2
- package/dist/modules/query_index/data/entities.js +13 -1
- package/dist/modules/query_index/data/entities.js.map +2 -2
- package/dist/modules/query_index/migrations/Migration20260518162054_query_index.js +43 -0
- package/dist/modules/query_index/migrations/Migration20260518162054_query_index.js.map +7 -0
- package/generated/entities/entity_index_row/index.ts +1 -0
- package/generated/entity-fields-registry.ts +1 -0
- package/package.json +8 -8
- package/src/helpers/integration/queue-runner.ts +72 -0
- package/src/helpers/integration/queue.ts +70 -0
- package/src/helpers/integration/salesUi.ts +38 -23
- package/src/modules/attachments/i18n/de.json +13 -0
- package/src/modules/attachments/i18n/en.json +13 -0
- package/src/modules/attachments/i18n/es.json +13 -0
- package/src/modules/attachments/i18n/pl.json +13 -0
- package/src/modules/customers/ai-agents.ts +4 -1
- package/src/modules/customers/ai-tools/deals-pack.ts +68 -10
- package/src/modules/customers/ai-tools/types.ts +6 -0
- package/src/modules/customers/api/people/[id]/route.ts +10 -1
- package/src/modules/query_index/data/entities.ts +12 -0
- package/src/modules/query_index/migrations/.snapshot-open-mercato.json +792 -343
- package/src/modules/query_index/migrations/Migration20260518162054_query_index.ts +43 -0
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "public",
|
|
2
3
|
"namespaces": [
|
|
3
4
|
"public"
|
|
4
5
|
],
|
|
5
|
-
"name": "public",
|
|
6
6
|
"tables": [
|
|
7
7
|
{
|
|
8
|
+
"name": "entity_index_coverage",
|
|
9
|
+
"schema": "public",
|
|
8
10
|
"columns": {
|
|
9
|
-
"
|
|
10
|
-
"name": "
|
|
11
|
-
"type": "
|
|
11
|
+
"base_count": {
|
|
12
|
+
"name": "base_count",
|
|
13
|
+
"type": "int",
|
|
12
14
|
"unsigned": false,
|
|
13
15
|
"autoincrement": false,
|
|
14
16
|
"primary": false,
|
|
15
17
|
"nullable": false,
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
+
"unique": false,
|
|
19
|
+
"length": null,
|
|
20
|
+
"precision": null,
|
|
21
|
+
"scale": null,
|
|
22
|
+
"default": "0",
|
|
23
|
+
"comment": null,
|
|
24
|
+
"enumItems": [],
|
|
25
|
+
"mappedType": "integer"
|
|
18
26
|
},
|
|
19
27
|
"entity_type": {
|
|
20
28
|
"name": "entity_type",
|
|
@@ -23,17 +31,47 @@
|
|
|
23
31
|
"autoincrement": false,
|
|
24
32
|
"primary": false,
|
|
25
33
|
"nullable": false,
|
|
34
|
+
"unique": true,
|
|
35
|
+
"length": null,
|
|
36
|
+
"precision": null,
|
|
37
|
+
"scale": null,
|
|
38
|
+
"default": null,
|
|
39
|
+
"comment": null,
|
|
40
|
+
"enumItems": [],
|
|
26
41
|
"mappedType": "text"
|
|
27
42
|
},
|
|
28
|
-
"
|
|
29
|
-
"name": "
|
|
43
|
+
"id": {
|
|
44
|
+
"name": "id",
|
|
30
45
|
"type": "uuid",
|
|
31
46
|
"unsigned": false,
|
|
32
47
|
"autoincrement": false,
|
|
33
|
-
"primary":
|
|
34
|
-
"nullable":
|
|
48
|
+
"primary": true,
|
|
49
|
+
"nullable": false,
|
|
50
|
+
"unique": false,
|
|
51
|
+
"length": null,
|
|
52
|
+
"precision": null,
|
|
53
|
+
"scale": null,
|
|
54
|
+
"default": "gen_random_uuid()",
|
|
55
|
+
"comment": null,
|
|
56
|
+
"enumItems": [],
|
|
35
57
|
"mappedType": "uuid"
|
|
36
58
|
},
|
|
59
|
+
"indexed_count": {
|
|
60
|
+
"name": "indexed_count",
|
|
61
|
+
"type": "int",
|
|
62
|
+
"unsigned": false,
|
|
63
|
+
"autoincrement": false,
|
|
64
|
+
"primary": false,
|
|
65
|
+
"nullable": false,
|
|
66
|
+
"unique": false,
|
|
67
|
+
"length": null,
|
|
68
|
+
"precision": null,
|
|
69
|
+
"scale": null,
|
|
70
|
+
"default": "0",
|
|
71
|
+
"comment": null,
|
|
72
|
+
"enumItems": [],
|
|
73
|
+
"mappedType": "integer"
|
|
74
|
+
},
|
|
37
75
|
"organization_id": {
|
|
38
76
|
"name": "organization_id",
|
|
39
77
|
"type": "uuid",
|
|
@@ -41,102 +79,113 @@
|
|
|
41
79
|
"autoincrement": false,
|
|
42
80
|
"primary": false,
|
|
43
81
|
"nullable": true,
|
|
82
|
+
"unique": false,
|
|
83
|
+
"length": null,
|
|
84
|
+
"precision": null,
|
|
85
|
+
"scale": null,
|
|
86
|
+
"default": null,
|
|
87
|
+
"comment": null,
|
|
88
|
+
"enumItems": [],
|
|
44
89
|
"mappedType": "uuid"
|
|
45
90
|
},
|
|
46
|
-
"
|
|
47
|
-
"name": "
|
|
48
|
-
"type": "
|
|
91
|
+
"refreshed_at": {
|
|
92
|
+
"name": "refreshed_at",
|
|
93
|
+
"type": "timestamptz(6)",
|
|
49
94
|
"unsigned": false,
|
|
50
95
|
"autoincrement": false,
|
|
51
96
|
"primary": false,
|
|
52
97
|
"nullable": false,
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"primary": false,
|
|
62
|
-
"nullable": false,
|
|
63
|
-
"default": "0",
|
|
64
|
-
"mappedType": "integer"
|
|
98
|
+
"unique": false,
|
|
99
|
+
"length": 6,
|
|
100
|
+
"precision": null,
|
|
101
|
+
"scale": null,
|
|
102
|
+
"default": null,
|
|
103
|
+
"comment": null,
|
|
104
|
+
"enumItems": [],
|
|
105
|
+
"mappedType": "datetime"
|
|
65
106
|
},
|
|
66
|
-
"
|
|
67
|
-
"name": "
|
|
68
|
-
"type": "
|
|
69
|
-
"unsigned":
|
|
107
|
+
"tenant_id": {
|
|
108
|
+
"name": "tenant_id",
|
|
109
|
+
"type": "uuid",
|
|
110
|
+
"unsigned": false,
|
|
70
111
|
"autoincrement": false,
|
|
71
112
|
"primary": false,
|
|
72
|
-
"nullable":
|
|
73
|
-
"
|
|
74
|
-
"
|
|
113
|
+
"nullable": true,
|
|
114
|
+
"unique": false,
|
|
115
|
+
"length": null,
|
|
116
|
+
"precision": null,
|
|
117
|
+
"scale": null,
|
|
118
|
+
"default": null,
|
|
119
|
+
"comment": null,
|
|
120
|
+
"enumItems": [],
|
|
121
|
+
"mappedType": "uuid"
|
|
75
122
|
},
|
|
76
123
|
"vector_indexed_count": {
|
|
77
124
|
"name": "vector_indexed_count",
|
|
78
125
|
"type": "int",
|
|
79
|
-
"unsigned":
|
|
126
|
+
"unsigned": false,
|
|
80
127
|
"autoincrement": false,
|
|
81
128
|
"primary": false,
|
|
82
129
|
"nullable": false,
|
|
130
|
+
"unique": false,
|
|
131
|
+
"length": null,
|
|
132
|
+
"precision": null,
|
|
133
|
+
"scale": null,
|
|
83
134
|
"default": "0",
|
|
135
|
+
"comment": null,
|
|
136
|
+
"enumItems": [],
|
|
84
137
|
"mappedType": "integer"
|
|
85
138
|
},
|
|
86
|
-
"
|
|
87
|
-
"name": "
|
|
88
|
-
"type": "
|
|
139
|
+
"with_deleted": {
|
|
140
|
+
"name": "with_deleted",
|
|
141
|
+
"type": "boolean",
|
|
89
142
|
"unsigned": false,
|
|
90
143
|
"autoincrement": false,
|
|
91
144
|
"primary": false,
|
|
92
145
|
"nullable": false,
|
|
93
|
-
"
|
|
94
|
-
"
|
|
146
|
+
"unique": false,
|
|
147
|
+
"length": null,
|
|
148
|
+
"precision": null,
|
|
149
|
+
"scale": null,
|
|
150
|
+
"default": "false",
|
|
151
|
+
"comment": null,
|
|
152
|
+
"enumItems": [],
|
|
153
|
+
"mappedType": "boolean"
|
|
95
154
|
}
|
|
96
155
|
},
|
|
97
|
-
"name": "entity_index_coverage",
|
|
98
|
-
"schema": "public",
|
|
99
156
|
"indexes": [
|
|
100
157
|
{
|
|
101
|
-
"keyName": "entity_index_coverage_scope_idx",
|
|
102
158
|
"columnNames": [
|
|
103
|
-
"
|
|
104
|
-
"tenant_id",
|
|
105
|
-
"organization_id",
|
|
106
|
-
"with_deleted"
|
|
159
|
+
"id"
|
|
107
160
|
],
|
|
108
|
-
"composite":
|
|
161
|
+
"composite": false,
|
|
109
162
|
"constraint": true,
|
|
110
|
-
"
|
|
163
|
+
"keyName": "entity_index_coverage_pkey",
|
|
164
|
+
"primary": true,
|
|
111
165
|
"unique": true
|
|
112
166
|
},
|
|
113
167
|
{
|
|
114
|
-
"keyName": "entity_index_coverage_pkey",
|
|
115
168
|
"columnNames": [
|
|
116
|
-
"
|
|
169
|
+
"entity_type",
|
|
170
|
+
"tenant_id",
|
|
171
|
+
"organization_id",
|
|
172
|
+
"with_deleted"
|
|
117
173
|
],
|
|
118
|
-
"composite":
|
|
174
|
+
"composite": true,
|
|
119
175
|
"constraint": true,
|
|
120
|
-
"
|
|
176
|
+
"keyName": "entity_index_coverage_scope_idx",
|
|
177
|
+
"primary": false,
|
|
121
178
|
"unique": true
|
|
122
179
|
}
|
|
123
180
|
],
|
|
124
181
|
"checks": [],
|
|
125
182
|
"foreignKeys": {},
|
|
126
|
-
"
|
|
183
|
+
"comment": null
|
|
127
184
|
},
|
|
128
185
|
{
|
|
186
|
+
"name": "entity_index_jobs",
|
|
187
|
+
"schema": "public",
|
|
129
188
|
"columns": {
|
|
130
|
-
"id": {
|
|
131
|
-
"name": "id",
|
|
132
|
-
"type": "uuid",
|
|
133
|
-
"unsigned": false,
|
|
134
|
-
"autoincrement": false,
|
|
135
|
-
"primary": false,
|
|
136
|
-
"nullable": false,
|
|
137
|
-
"default": "gen_random_uuid()",
|
|
138
|
-
"mappedType": "uuid"
|
|
139
|
-
},
|
|
140
189
|
"entity_type": {
|
|
141
190
|
"name": "entity_type",
|
|
142
191
|
"type": "text",
|
|
@@ -144,34 +193,78 @@
|
|
|
144
193
|
"autoincrement": false,
|
|
145
194
|
"primary": false,
|
|
146
195
|
"nullable": false,
|
|
196
|
+
"unique": false,
|
|
197
|
+
"length": null,
|
|
198
|
+
"precision": null,
|
|
199
|
+
"scale": null,
|
|
200
|
+
"default": null,
|
|
201
|
+
"comment": null,
|
|
202
|
+
"enumItems": [],
|
|
147
203
|
"mappedType": "text"
|
|
148
204
|
},
|
|
149
|
-
"
|
|
150
|
-
"name": "
|
|
151
|
-
"type": "
|
|
205
|
+
"finished_at": {
|
|
206
|
+
"name": "finished_at",
|
|
207
|
+
"type": "timestamptz(6)",
|
|
152
208
|
"unsigned": false,
|
|
153
209
|
"autoincrement": false,
|
|
154
210
|
"primary": false,
|
|
155
211
|
"nullable": true,
|
|
156
|
-
"
|
|
212
|
+
"unique": false,
|
|
213
|
+
"length": 6,
|
|
214
|
+
"precision": null,
|
|
215
|
+
"scale": null,
|
|
216
|
+
"default": null,
|
|
217
|
+
"comment": null,
|
|
218
|
+
"enumItems": [],
|
|
219
|
+
"mappedType": "datetime"
|
|
157
220
|
},
|
|
158
|
-
"
|
|
159
|
-
"name": "
|
|
160
|
-
"type": "
|
|
221
|
+
"heartbeat_at": {
|
|
222
|
+
"name": "heartbeat_at",
|
|
223
|
+
"type": "timestamptz(6)",
|
|
161
224
|
"unsigned": false,
|
|
162
225
|
"autoincrement": false,
|
|
163
226
|
"primary": false,
|
|
164
227
|
"nullable": true,
|
|
228
|
+
"unique": false,
|
|
229
|
+
"length": 6,
|
|
230
|
+
"precision": null,
|
|
231
|
+
"scale": null,
|
|
232
|
+
"default": null,
|
|
233
|
+
"comment": null,
|
|
234
|
+
"enumItems": [],
|
|
235
|
+
"mappedType": "datetime"
|
|
236
|
+
},
|
|
237
|
+
"id": {
|
|
238
|
+
"name": "id",
|
|
239
|
+
"type": "uuid",
|
|
240
|
+
"unsigned": false,
|
|
241
|
+
"autoincrement": false,
|
|
242
|
+
"primary": true,
|
|
243
|
+
"nullable": false,
|
|
244
|
+
"unique": false,
|
|
245
|
+
"length": null,
|
|
246
|
+
"precision": null,
|
|
247
|
+
"scale": null,
|
|
248
|
+
"default": "gen_random_uuid()",
|
|
249
|
+
"comment": null,
|
|
250
|
+
"enumItems": [],
|
|
165
251
|
"mappedType": "uuid"
|
|
166
252
|
},
|
|
167
|
-
"
|
|
168
|
-
"name": "
|
|
169
|
-
"type": "
|
|
253
|
+
"organization_id": {
|
|
254
|
+
"name": "organization_id",
|
|
255
|
+
"type": "uuid",
|
|
170
256
|
"unsigned": false,
|
|
171
257
|
"autoincrement": false,
|
|
172
258
|
"primary": false,
|
|
173
259
|
"nullable": true,
|
|
174
|
-
"
|
|
260
|
+
"unique": false,
|
|
261
|
+
"length": null,
|
|
262
|
+
"precision": null,
|
|
263
|
+
"scale": null,
|
|
264
|
+
"default": null,
|
|
265
|
+
"comment": null,
|
|
266
|
+
"enumItems": [],
|
|
267
|
+
"mappedType": "uuid"
|
|
175
268
|
},
|
|
176
269
|
"partition_count": {
|
|
177
270
|
"name": "partition_count",
|
|
@@ -180,34 +273,61 @@
|
|
|
180
273
|
"autoincrement": false,
|
|
181
274
|
"primary": false,
|
|
182
275
|
"nullable": true,
|
|
276
|
+
"unique": false,
|
|
277
|
+
"length": null,
|
|
278
|
+
"precision": null,
|
|
279
|
+
"scale": null,
|
|
280
|
+
"default": null,
|
|
281
|
+
"comment": null,
|
|
282
|
+
"enumItems": [],
|
|
183
283
|
"mappedType": "integer"
|
|
184
284
|
},
|
|
185
|
-
"
|
|
186
|
-
"name": "
|
|
285
|
+
"partition_index": {
|
|
286
|
+
"name": "partition_index",
|
|
187
287
|
"type": "int",
|
|
188
288
|
"unsigned": false,
|
|
189
289
|
"autoincrement": false,
|
|
190
290
|
"primary": false,
|
|
191
291
|
"nullable": true,
|
|
292
|
+
"unique": false,
|
|
293
|
+
"length": null,
|
|
294
|
+
"precision": null,
|
|
295
|
+
"scale": null,
|
|
296
|
+
"default": null,
|
|
297
|
+
"comment": null,
|
|
298
|
+
"enumItems": [],
|
|
192
299
|
"mappedType": "integer"
|
|
193
300
|
},
|
|
194
|
-
"
|
|
195
|
-
"name": "
|
|
301
|
+
"processed_count": {
|
|
302
|
+
"name": "processed_count",
|
|
196
303
|
"type": "int",
|
|
197
304
|
"unsigned": false,
|
|
198
305
|
"autoincrement": false,
|
|
199
306
|
"primary": false,
|
|
200
307
|
"nullable": true,
|
|
308
|
+
"unique": false,
|
|
309
|
+
"length": null,
|
|
310
|
+
"precision": null,
|
|
311
|
+
"scale": null,
|
|
312
|
+
"default": null,
|
|
313
|
+
"comment": null,
|
|
314
|
+
"enumItems": [],
|
|
201
315
|
"mappedType": "integer"
|
|
202
316
|
},
|
|
203
|
-
"
|
|
204
|
-
"name": "
|
|
205
|
-
"type": "timestamptz",
|
|
317
|
+
"started_at": {
|
|
318
|
+
"name": "started_at",
|
|
319
|
+
"type": "timestamptz(6)",
|
|
206
320
|
"unsigned": false,
|
|
207
321
|
"autoincrement": false,
|
|
208
322
|
"primary": false,
|
|
209
|
-
"nullable":
|
|
323
|
+
"nullable": false,
|
|
324
|
+
"unique": false,
|
|
210
325
|
"length": 6,
|
|
326
|
+
"precision": null,
|
|
327
|
+
"scale": null,
|
|
328
|
+
"default": null,
|
|
329
|
+
"comment": null,
|
|
330
|
+
"enumItems": [],
|
|
211
331
|
"mappedType": "datetime"
|
|
212
332
|
},
|
|
213
333
|
"status": {
|
|
@@ -217,132 +337,199 @@
|
|
|
217
337
|
"autoincrement": false,
|
|
218
338
|
"primary": false,
|
|
219
339
|
"nullable": false,
|
|
340
|
+
"unique": false,
|
|
341
|
+
"length": null,
|
|
342
|
+
"precision": null,
|
|
343
|
+
"scale": null,
|
|
344
|
+
"default": null,
|
|
345
|
+
"comment": null,
|
|
346
|
+
"enumItems": [],
|
|
220
347
|
"mappedType": "text"
|
|
221
348
|
},
|
|
222
|
-
"
|
|
223
|
-
"name": "
|
|
224
|
-
"type": "
|
|
349
|
+
"tenant_id": {
|
|
350
|
+
"name": "tenant_id",
|
|
351
|
+
"type": "uuid",
|
|
225
352
|
"unsigned": false,
|
|
226
353
|
"autoincrement": false,
|
|
227
354
|
"primary": false,
|
|
228
|
-
"nullable":
|
|
229
|
-
"
|
|
230
|
-
"
|
|
355
|
+
"nullable": true,
|
|
356
|
+
"unique": false,
|
|
357
|
+
"length": null,
|
|
358
|
+
"precision": null,
|
|
359
|
+
"scale": null,
|
|
360
|
+
"default": null,
|
|
361
|
+
"comment": null,
|
|
362
|
+
"enumItems": [],
|
|
363
|
+
"mappedType": "uuid"
|
|
231
364
|
},
|
|
232
|
-
"
|
|
233
|
-
"name": "
|
|
234
|
-
"type": "
|
|
365
|
+
"total_count": {
|
|
366
|
+
"name": "total_count",
|
|
367
|
+
"type": "int",
|
|
235
368
|
"unsigned": false,
|
|
236
369
|
"autoincrement": false,
|
|
237
370
|
"primary": false,
|
|
238
371
|
"nullable": true,
|
|
239
|
-
"
|
|
240
|
-
"
|
|
372
|
+
"unique": false,
|
|
373
|
+
"length": null,
|
|
374
|
+
"precision": null,
|
|
375
|
+
"scale": null,
|
|
376
|
+
"default": null,
|
|
377
|
+
"comment": null,
|
|
378
|
+
"enumItems": [],
|
|
379
|
+
"mappedType": "integer"
|
|
241
380
|
}
|
|
242
381
|
},
|
|
243
|
-
"name": "entity_index_jobs",
|
|
244
|
-
"schema": "public",
|
|
245
382
|
"indexes": [
|
|
246
|
-
{
|
|
247
|
-
"columnNames": [
|
|
248
|
-
"entity_type"
|
|
249
|
-
],
|
|
250
|
-
"composite": false,
|
|
251
|
-
"keyName": "entity_index_jobs_type_idx",
|
|
252
|
-
"constraint": false,
|
|
253
|
-
"primary": false,
|
|
254
|
-
"unique": false
|
|
255
|
-
},
|
|
256
383
|
{
|
|
257
384
|
"columnNames": [
|
|
258
385
|
"organization_id"
|
|
259
386
|
],
|
|
260
387
|
"composite": false,
|
|
261
|
-
"keyName": "entity_index_jobs_org_idx",
|
|
262
388
|
"constraint": false,
|
|
389
|
+
"keyName": "entity_index_jobs_org_idx",
|
|
263
390
|
"primary": false,
|
|
264
391
|
"unique": false
|
|
265
392
|
},
|
|
266
393
|
{
|
|
267
|
-
"keyName": "entity_index_jobs_pkey",
|
|
268
394
|
"columnNames": [
|
|
269
395
|
"id"
|
|
270
396
|
],
|
|
271
397
|
"composite": false,
|
|
272
398
|
"constraint": true,
|
|
399
|
+
"keyName": "entity_index_jobs_pkey",
|
|
273
400
|
"primary": true,
|
|
274
401
|
"unique": true
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"columnNames": [
|
|
405
|
+
"entity_type"
|
|
406
|
+
],
|
|
407
|
+
"composite": false,
|
|
408
|
+
"constraint": false,
|
|
409
|
+
"keyName": "entity_index_jobs_type_idx",
|
|
410
|
+
"primary": false,
|
|
411
|
+
"unique": false
|
|
275
412
|
}
|
|
276
413
|
],
|
|
277
414
|
"checks": [],
|
|
278
415
|
"foreignKeys": {},
|
|
279
|
-
"
|
|
416
|
+
"comment": null
|
|
280
417
|
},
|
|
281
418
|
{
|
|
419
|
+
"name": "entity_indexes",
|
|
420
|
+
"schema": "public",
|
|
282
421
|
"columns": {
|
|
283
|
-
"
|
|
284
|
-
"name": "
|
|
285
|
-
"type": "
|
|
422
|
+
"created_at": {
|
|
423
|
+
"name": "created_at",
|
|
424
|
+
"type": "timestamptz(6)",
|
|
286
425
|
"unsigned": false,
|
|
287
426
|
"autoincrement": false,
|
|
288
427
|
"primary": false,
|
|
289
428
|
"nullable": false,
|
|
290
|
-
"
|
|
291
|
-
"
|
|
429
|
+
"unique": false,
|
|
430
|
+
"length": 6,
|
|
431
|
+
"precision": null,
|
|
432
|
+
"scale": null,
|
|
433
|
+
"default": null,
|
|
434
|
+
"comment": null,
|
|
435
|
+
"enumItems": [],
|
|
436
|
+
"mappedType": "datetime"
|
|
292
437
|
},
|
|
293
|
-
"
|
|
294
|
-
"name": "
|
|
295
|
-
"type": "
|
|
438
|
+
"deleted_at": {
|
|
439
|
+
"name": "deleted_at",
|
|
440
|
+
"type": "timestamptz(6)",
|
|
296
441
|
"unsigned": false,
|
|
297
442
|
"autoincrement": false,
|
|
298
443
|
"primary": false,
|
|
299
|
-
"nullable":
|
|
300
|
-
"
|
|
444
|
+
"nullable": true,
|
|
445
|
+
"unique": false,
|
|
446
|
+
"length": 6,
|
|
447
|
+
"precision": null,
|
|
448
|
+
"scale": null,
|
|
449
|
+
"default": null,
|
|
450
|
+
"comment": null,
|
|
451
|
+
"enumItems": [],
|
|
452
|
+
"mappedType": "datetime"
|
|
301
453
|
},
|
|
302
|
-
"
|
|
303
|
-
"name": "
|
|
304
|
-
"type": "
|
|
454
|
+
"doc": {
|
|
455
|
+
"name": "doc",
|
|
456
|
+
"type": "jsonb",
|
|
305
457
|
"unsigned": false,
|
|
306
458
|
"autoincrement": false,
|
|
307
459
|
"primary": false,
|
|
308
460
|
"nullable": false,
|
|
309
|
-
"
|
|
461
|
+
"unique": false,
|
|
462
|
+
"length": null,
|
|
463
|
+
"precision": null,
|
|
464
|
+
"scale": null,
|
|
465
|
+
"default": null,
|
|
466
|
+
"comment": null,
|
|
467
|
+
"enumItems": [],
|
|
468
|
+
"mappedType": "json"
|
|
310
469
|
},
|
|
311
|
-
"
|
|
312
|
-
"name": "
|
|
313
|
-
"type": "
|
|
470
|
+
"embedding": {
|
|
471
|
+
"name": "embedding",
|
|
472
|
+
"type": "jsonb",
|
|
314
473
|
"unsigned": false,
|
|
315
474
|
"autoincrement": false,
|
|
316
475
|
"primary": false,
|
|
317
476
|
"nullable": true,
|
|
318
|
-
"
|
|
477
|
+
"unique": false,
|
|
478
|
+
"length": null,
|
|
479
|
+
"precision": null,
|
|
480
|
+
"scale": null,
|
|
481
|
+
"default": null,
|
|
482
|
+
"comment": null,
|
|
483
|
+
"enumItems": [],
|
|
484
|
+
"mappedType": "json"
|
|
319
485
|
},
|
|
320
|
-
"
|
|
321
|
-
"name": "
|
|
322
|
-
"type": "
|
|
486
|
+
"entity_id": {
|
|
487
|
+
"name": "entity_id",
|
|
488
|
+
"type": "text",
|
|
323
489
|
"unsigned": false,
|
|
324
490
|
"autoincrement": false,
|
|
325
491
|
"primary": false,
|
|
326
|
-
"nullable":
|
|
327
|
-
"
|
|
492
|
+
"nullable": false,
|
|
493
|
+
"unique": false,
|
|
494
|
+
"length": null,
|
|
495
|
+
"precision": null,
|
|
496
|
+
"scale": null,
|
|
497
|
+
"default": null,
|
|
498
|
+
"comment": null,
|
|
499
|
+
"enumItems": [],
|
|
500
|
+
"mappedType": "text"
|
|
328
501
|
},
|
|
329
|
-
"
|
|
330
|
-
"name": "
|
|
331
|
-
"type": "
|
|
502
|
+
"entity_type": {
|
|
503
|
+
"name": "entity_type",
|
|
504
|
+
"type": "text",
|
|
332
505
|
"unsigned": false,
|
|
333
506
|
"autoincrement": false,
|
|
334
507
|
"primary": false,
|
|
335
508
|
"nullable": false,
|
|
336
|
-
"
|
|
509
|
+
"unique": true,
|
|
510
|
+
"length": null,
|
|
511
|
+
"precision": null,
|
|
512
|
+
"scale": null,
|
|
513
|
+
"default": null,
|
|
514
|
+
"comment": null,
|
|
515
|
+
"enumItems": [],
|
|
516
|
+
"mappedType": "text"
|
|
337
517
|
},
|
|
338
|
-
"
|
|
339
|
-
"name": "
|
|
340
|
-
"type": "
|
|
518
|
+
"id": {
|
|
519
|
+
"name": "id",
|
|
520
|
+
"type": "uuid",
|
|
341
521
|
"unsigned": false,
|
|
342
522
|
"autoincrement": false,
|
|
343
|
-
"primary":
|
|
344
|
-
"nullable":
|
|
345
|
-
"
|
|
523
|
+
"primary": true,
|
|
524
|
+
"nullable": false,
|
|
525
|
+
"unique": false,
|
|
526
|
+
"length": null,
|
|
527
|
+
"precision": null,
|
|
528
|
+
"scale": null,
|
|
529
|
+
"default": "gen_random_uuid()",
|
|
530
|
+
"comment": null,
|
|
531
|
+
"enumItems": [],
|
|
532
|
+
"mappedType": "uuid"
|
|
346
533
|
},
|
|
347
534
|
"index_version": {
|
|
348
535
|
"name": "index_version",
|
|
@@ -351,172 +538,222 @@
|
|
|
351
538
|
"autoincrement": false,
|
|
352
539
|
"primary": false,
|
|
353
540
|
"nullable": false,
|
|
541
|
+
"unique": false,
|
|
542
|
+
"length": null,
|
|
543
|
+
"precision": null,
|
|
544
|
+
"scale": null,
|
|
354
545
|
"default": "1",
|
|
546
|
+
"comment": null,
|
|
547
|
+
"enumItems": [],
|
|
355
548
|
"mappedType": "integer"
|
|
356
549
|
},
|
|
357
|
-
"
|
|
358
|
-
"name": "
|
|
359
|
-
"type": "
|
|
550
|
+
"organization_id": {
|
|
551
|
+
"name": "organization_id",
|
|
552
|
+
"type": "uuid",
|
|
360
553
|
"unsigned": false,
|
|
361
554
|
"autoincrement": false,
|
|
362
555
|
"primary": false,
|
|
363
|
-
"nullable":
|
|
364
|
-
"
|
|
365
|
-
"
|
|
556
|
+
"nullable": true,
|
|
557
|
+
"unique": false,
|
|
558
|
+
"length": null,
|
|
559
|
+
"precision": null,
|
|
560
|
+
"scale": null,
|
|
561
|
+
"default": null,
|
|
562
|
+
"comment": null,
|
|
563
|
+
"enumItems": [],
|
|
564
|
+
"mappedType": "uuid"
|
|
366
565
|
},
|
|
367
|
-
"
|
|
368
|
-
"name": "
|
|
369
|
-
"type": "
|
|
566
|
+
"organization_id_coalesced": {
|
|
567
|
+
"name": "organization_id_coalesced",
|
|
568
|
+
"type": "uuid",
|
|
370
569
|
"unsigned": false,
|
|
371
570
|
"autoincrement": false,
|
|
372
571
|
"primary": false,
|
|
373
572
|
"nullable": false,
|
|
374
|
-
"
|
|
375
|
-
"
|
|
573
|
+
"unique": false,
|
|
574
|
+
"length": null,
|
|
575
|
+
"precision": null,
|
|
576
|
+
"scale": null,
|
|
577
|
+
"default": null,
|
|
578
|
+
"comment": null,
|
|
579
|
+
"enumItems": [],
|
|
580
|
+
"mappedType": "uuid",
|
|
581
|
+
"generated": "(coalesce(organization_id, '00000000-0000-0000-0000-000000000000'::uuid)) stored"
|
|
376
582
|
},
|
|
377
|
-
"
|
|
378
|
-
"name": "
|
|
379
|
-
"type": "
|
|
583
|
+
"tenant_id": {
|
|
584
|
+
"name": "tenant_id",
|
|
585
|
+
"type": "uuid",
|
|
380
586
|
"unsigned": false,
|
|
381
587
|
"autoincrement": false,
|
|
382
588
|
"primary": false,
|
|
383
589
|
"nullable": true,
|
|
590
|
+
"unique": false,
|
|
591
|
+
"length": null,
|
|
592
|
+
"precision": null,
|
|
593
|
+
"scale": null,
|
|
594
|
+
"default": null,
|
|
595
|
+
"comment": null,
|
|
596
|
+
"enumItems": [],
|
|
597
|
+
"mappedType": "uuid"
|
|
598
|
+
},
|
|
599
|
+
"updated_at": {
|
|
600
|
+
"name": "updated_at",
|
|
601
|
+
"type": "timestamptz(6)",
|
|
602
|
+
"unsigned": false,
|
|
603
|
+
"autoincrement": false,
|
|
604
|
+
"primary": false,
|
|
605
|
+
"nullable": false,
|
|
606
|
+
"unique": false,
|
|
384
607
|
"length": 6,
|
|
608
|
+
"precision": null,
|
|
609
|
+
"scale": null,
|
|
610
|
+
"default": null,
|
|
611
|
+
"comment": null,
|
|
612
|
+
"enumItems": [],
|
|
385
613
|
"mappedType": "datetime"
|
|
386
614
|
}
|
|
387
615
|
},
|
|
388
|
-
"name": "entity_indexes",
|
|
389
|
-
"schema": "public",
|
|
390
616
|
"indexes": [
|
|
391
617
|
{
|
|
392
|
-
"columnNames": [
|
|
393
|
-
"entity_type"
|
|
394
|
-
],
|
|
395
|
-
"composite": false,
|
|
396
|
-
"keyName": "entity_indexes_type_idx",
|
|
397
|
-
"constraint": false,
|
|
398
|
-
"primary": false,
|
|
399
|
-
"unique": false
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"columnNames": [
|
|
403
|
-
"entity_id"
|
|
404
|
-
],
|
|
618
|
+
"columnNames": [],
|
|
405
619
|
"composite": false,
|
|
406
|
-
"keyName": "entity_indexes_entity_idx",
|
|
407
620
|
"constraint": false,
|
|
621
|
+
"keyName": "entity_indexes_customer_company_profile_doc_idx",
|
|
408
622
|
"primary": false,
|
|
409
|
-
"unique": false
|
|
623
|
+
"unique": false,
|
|
624
|
+
"expression": "create index \"entity_indexes_customer_company_profile_doc_idx\" on \"entity_indexes\" (\"entity_id\", \"organization_id\", \"tenant_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_company_profile' and organization_id is not null and tenant_id is not null"
|
|
410
625
|
},
|
|
411
626
|
{
|
|
412
|
-
"columnNames": [
|
|
413
|
-
"organization_id"
|
|
414
|
-
],
|
|
627
|
+
"columnNames": [],
|
|
415
628
|
"composite": false,
|
|
416
|
-
"keyName": "entity_indexes_org_idx",
|
|
417
|
-
"constraint": false,
|
|
418
|
-
"primary": false,
|
|
419
|
-
"unique": false
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
"keyName": "entity_indexes_type_tenant_idx",
|
|
423
|
-
"columnNames": [
|
|
424
|
-
"entity_type",
|
|
425
|
-
"tenant_id"
|
|
426
|
-
],
|
|
427
|
-
"composite": true,
|
|
428
629
|
"constraint": false,
|
|
630
|
+
"keyName": "entity_indexes_customer_company_profile_tenant_doc_idx",
|
|
429
631
|
"primary": false,
|
|
430
|
-
"unique": false
|
|
632
|
+
"unique": false,
|
|
633
|
+
"expression": "create index \"entity_indexes_customer_company_profile_tenant_doc_idx\" on \"entity_indexes\" (\"tenant_id\", \"entity_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_company_profile' and organization_id is null and tenant_id is not null"
|
|
431
634
|
},
|
|
432
635
|
{
|
|
433
|
-
"keyName": "entity_indexes_customer_company_profile_tenant_doc_idx",
|
|
434
636
|
"columnNames": [],
|
|
435
637
|
"composite": false,
|
|
436
638
|
"constraint": false,
|
|
639
|
+
"keyName": "entity_indexes_customer_entity_doc_idx",
|
|
437
640
|
"primary": false,
|
|
438
641
|
"unique": false,
|
|
439
|
-
"expression": "create index \"
|
|
642
|
+
"expression": "create index \"entity_indexes_customer_entity_doc_idx\" on \"entity_indexes\" (\"entity_id\", \"organization_id\", \"tenant_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_entity' and organization_id is not null and tenant_id is not null"
|
|
440
643
|
},
|
|
441
644
|
{
|
|
442
|
-
"keyName": "entity_indexes_customer_person_profile_tenant_doc_idx",
|
|
443
645
|
"columnNames": [],
|
|
444
646
|
"composite": false,
|
|
445
647
|
"constraint": false,
|
|
648
|
+
"keyName": "entity_indexes_customer_entity_tenant_doc_idx",
|
|
446
649
|
"primary": false,
|
|
447
650
|
"unique": false,
|
|
448
|
-
"expression": "create index \"
|
|
651
|
+
"expression": "create index \"entity_indexes_customer_entity_tenant_doc_idx\" on \"entity_indexes\" (\"tenant_id\", \"entity_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_entity' and organization_id is null and tenant_id is not null"
|
|
449
652
|
},
|
|
450
653
|
{
|
|
451
|
-
"keyName": "entity_indexes_customer_entity_tenant_doc_idx",
|
|
452
654
|
"columnNames": [],
|
|
453
655
|
"composite": false,
|
|
454
656
|
"constraint": false,
|
|
657
|
+
"keyName": "entity_indexes_customer_person_profile_doc_idx",
|
|
455
658
|
"primary": false,
|
|
456
659
|
"unique": false,
|
|
457
|
-
"expression": "create index \"
|
|
660
|
+
"expression": "create index \"entity_indexes_customer_person_profile_doc_idx\" on \"entity_indexes\" (\"entity_id\", \"organization_id\", \"tenant_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_person_profile' and organization_id is not null and tenant_id is not null"
|
|
458
661
|
},
|
|
459
662
|
{
|
|
460
|
-
"keyName": "entity_indexes_customer_company_profile_doc_idx",
|
|
461
663
|
"columnNames": [],
|
|
462
664
|
"composite": false,
|
|
463
665
|
"constraint": false,
|
|
666
|
+
"keyName": "entity_indexes_customer_person_profile_tenant_doc_idx",
|
|
464
667
|
"primary": false,
|
|
465
668
|
"unique": false,
|
|
466
|
-
"expression": "create index \"
|
|
669
|
+
"expression": "create index \"entity_indexes_customer_person_profile_tenant_doc_idx\" on \"entity_indexes\" (\"tenant_id\", \"entity_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_person_profile' and organization_id is null and tenant_id is not null"
|
|
467
670
|
},
|
|
468
671
|
{
|
|
469
|
-
"
|
|
470
|
-
|
|
672
|
+
"columnNames": [
|
|
673
|
+
"entity_id"
|
|
674
|
+
],
|
|
471
675
|
"composite": false,
|
|
472
676
|
"constraint": false,
|
|
677
|
+
"keyName": "entity_indexes_entity_idx",
|
|
473
678
|
"primary": false,
|
|
474
|
-
"unique": false
|
|
475
|
-
"expression": "create index \"entity_indexes_customer_person_profile_doc_idx\" on \"entity_indexes\" (\"entity_id\", \"organization_id\", \"tenant_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_person_profile' and organization_id is not null and tenant_id is not null"
|
|
679
|
+
"unique": false
|
|
476
680
|
},
|
|
477
681
|
{
|
|
478
|
-
"
|
|
479
|
-
|
|
682
|
+
"columnNames": [
|
|
683
|
+
"organization_id"
|
|
684
|
+
],
|
|
480
685
|
"composite": false,
|
|
481
686
|
"constraint": false,
|
|
687
|
+
"keyName": "entity_indexes_org_idx",
|
|
482
688
|
"primary": false,
|
|
483
|
-
"unique": false
|
|
484
|
-
"expression": "create index \"entity_indexes_customer_entity_doc_idx\" on \"entity_indexes\" (\"entity_id\", \"organization_id\", \"tenant_id\") include (\"doc\") where deleted_at is null and entity_type = 'customers:customer_entity' and organization_id is not null and tenant_id is not null"
|
|
689
|
+
"unique": false
|
|
485
690
|
},
|
|
486
691
|
{
|
|
487
|
-
"keyName": "entity_indexes_pkey",
|
|
488
692
|
"columnNames": [
|
|
489
693
|
"id"
|
|
490
694
|
],
|
|
491
695
|
"composite": false,
|
|
492
696
|
"constraint": true,
|
|
697
|
+
"keyName": "entity_indexes_pkey",
|
|
493
698
|
"primary": true,
|
|
494
699
|
"unique": true
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"columnNames": [
|
|
703
|
+
"entity_type",
|
|
704
|
+
"entity_id",
|
|
705
|
+
"organization_id_coalesced"
|
|
706
|
+
],
|
|
707
|
+
"composite": true,
|
|
708
|
+
"constraint": true,
|
|
709
|
+
"keyName": "entity_indexes_type_entity_org_coalesced_unique",
|
|
710
|
+
"primary": false,
|
|
711
|
+
"unique": true
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"columnNames": [
|
|
715
|
+
"entity_type"
|
|
716
|
+
],
|
|
717
|
+
"composite": false,
|
|
718
|
+
"constraint": false,
|
|
719
|
+
"keyName": "entity_indexes_type_idx",
|
|
720
|
+
"primary": false,
|
|
721
|
+
"unique": false
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"columnNames": [
|
|
725
|
+
"entity_type",
|
|
726
|
+
"tenant_id"
|
|
727
|
+
],
|
|
728
|
+
"composite": true,
|
|
729
|
+
"constraint": false,
|
|
730
|
+
"keyName": "entity_indexes_type_tenant_idx",
|
|
731
|
+
"primary": false,
|
|
732
|
+
"unique": false
|
|
495
733
|
}
|
|
496
734
|
],
|
|
497
735
|
"checks": [],
|
|
498
736
|
"foreignKeys": {},
|
|
499
|
-
"
|
|
737
|
+
"comment": null
|
|
500
738
|
},
|
|
501
739
|
{
|
|
740
|
+
"name": "indexer_error_logs",
|
|
741
|
+
"schema": "public",
|
|
502
742
|
"columns": {
|
|
503
|
-
"
|
|
504
|
-
"name": "
|
|
505
|
-
"type": "uuid",
|
|
506
|
-
"unsigned": false,
|
|
507
|
-
"autoincrement": false,
|
|
508
|
-
"primary": false,
|
|
509
|
-
"nullable": false,
|
|
510
|
-
"default": "gen_random_uuid()",
|
|
511
|
-
"mappedType": "uuid"
|
|
512
|
-
},
|
|
513
|
-
"source": {
|
|
514
|
-
"name": "source",
|
|
743
|
+
"entity_type": {
|
|
744
|
+
"name": "entity_type",
|
|
515
745
|
"type": "text",
|
|
516
746
|
"unsigned": false,
|
|
517
747
|
"autoincrement": false,
|
|
518
748
|
"primary": false,
|
|
519
|
-
"nullable":
|
|
749
|
+
"nullable": true,
|
|
750
|
+
"unique": false,
|
|
751
|
+
"length": null,
|
|
752
|
+
"precision": null,
|
|
753
|
+
"scale": null,
|
|
754
|
+
"default": null,
|
|
755
|
+
"comment": null,
|
|
756
|
+
"enumItems": [],
|
|
520
757
|
"mappedType": "text"
|
|
521
758
|
},
|
|
522
759
|
"handler": {
|
|
@@ -526,34 +763,62 @@
|
|
|
526
763
|
"autoincrement": false,
|
|
527
764
|
"primary": false,
|
|
528
765
|
"nullable": false,
|
|
766
|
+
"unique": false,
|
|
767
|
+
"length": null,
|
|
768
|
+
"precision": null,
|
|
769
|
+
"scale": null,
|
|
770
|
+
"default": null,
|
|
771
|
+
"comment": null,
|
|
772
|
+
"enumItems": [],
|
|
529
773
|
"mappedType": "text"
|
|
530
774
|
},
|
|
531
|
-
"
|
|
532
|
-
"name": "
|
|
533
|
-
"type": "
|
|
775
|
+
"id": {
|
|
776
|
+
"name": "id",
|
|
777
|
+
"type": "uuid",
|
|
534
778
|
"unsigned": false,
|
|
535
779
|
"autoincrement": false,
|
|
536
|
-
"primary":
|
|
537
|
-
"nullable":
|
|
538
|
-
"
|
|
780
|
+
"primary": true,
|
|
781
|
+
"nullable": false,
|
|
782
|
+
"unique": false,
|
|
783
|
+
"length": null,
|
|
784
|
+
"precision": null,
|
|
785
|
+
"scale": null,
|
|
786
|
+
"default": "gen_random_uuid()",
|
|
787
|
+
"comment": null,
|
|
788
|
+
"enumItems": [],
|
|
789
|
+
"mappedType": "uuid"
|
|
539
790
|
},
|
|
540
|
-
"
|
|
541
|
-
"name": "
|
|
791
|
+
"message": {
|
|
792
|
+
"name": "message",
|
|
542
793
|
"type": "text",
|
|
543
794
|
"unsigned": false,
|
|
544
795
|
"autoincrement": false,
|
|
545
796
|
"primary": false,
|
|
546
|
-
"nullable":
|
|
797
|
+
"nullable": false,
|
|
798
|
+
"unique": false,
|
|
799
|
+
"length": null,
|
|
800
|
+
"precision": null,
|
|
801
|
+
"scale": null,
|
|
802
|
+
"default": null,
|
|
803
|
+
"comment": null,
|
|
804
|
+
"enumItems": [],
|
|
547
805
|
"mappedType": "text"
|
|
548
806
|
},
|
|
549
|
-
"
|
|
550
|
-
"name": "
|
|
551
|
-
"type": "
|
|
807
|
+
"occurred_at": {
|
|
808
|
+
"name": "occurred_at",
|
|
809
|
+
"type": "timestamptz(6)",
|
|
552
810
|
"unsigned": false,
|
|
553
811
|
"autoincrement": false,
|
|
554
812
|
"primary": false,
|
|
555
|
-
"nullable":
|
|
556
|
-
"
|
|
813
|
+
"nullable": false,
|
|
814
|
+
"unique": false,
|
|
815
|
+
"length": 6,
|
|
816
|
+
"precision": null,
|
|
817
|
+
"scale": null,
|
|
818
|
+
"default": null,
|
|
819
|
+
"comment": null,
|
|
820
|
+
"enumItems": [],
|
|
821
|
+
"mappedType": "datetime"
|
|
557
822
|
},
|
|
558
823
|
"organization_id": {
|
|
559
824
|
"name": "organization_id",
|
|
@@ -562,6 +827,13 @@
|
|
|
562
827
|
"autoincrement": false,
|
|
563
828
|
"primary": false,
|
|
564
829
|
"nullable": true,
|
|
830
|
+
"unique": false,
|
|
831
|
+
"length": null,
|
|
832
|
+
"precision": null,
|
|
833
|
+
"scale": null,
|
|
834
|
+
"default": null,
|
|
835
|
+
"comment": null,
|
|
836
|
+
"enumItems": [],
|
|
565
837
|
"mappedType": "uuid"
|
|
566
838
|
},
|
|
567
839
|
"payload": {
|
|
@@ -571,15 +843,45 @@
|
|
|
571
843
|
"autoincrement": false,
|
|
572
844
|
"primary": false,
|
|
573
845
|
"nullable": true,
|
|
846
|
+
"unique": false,
|
|
847
|
+
"length": null,
|
|
848
|
+
"precision": null,
|
|
849
|
+
"scale": null,
|
|
850
|
+
"default": null,
|
|
851
|
+
"comment": null,
|
|
852
|
+
"enumItems": [],
|
|
574
853
|
"mappedType": "json"
|
|
575
854
|
},
|
|
576
|
-
"
|
|
577
|
-
"name": "
|
|
855
|
+
"record_id": {
|
|
856
|
+
"name": "record_id",
|
|
857
|
+
"type": "text",
|
|
858
|
+
"unsigned": false,
|
|
859
|
+
"autoincrement": false,
|
|
860
|
+
"primary": false,
|
|
861
|
+
"nullable": true,
|
|
862
|
+
"unique": false,
|
|
863
|
+
"length": null,
|
|
864
|
+
"precision": null,
|
|
865
|
+
"scale": null,
|
|
866
|
+
"default": null,
|
|
867
|
+
"comment": null,
|
|
868
|
+
"enumItems": [],
|
|
869
|
+
"mappedType": "text"
|
|
870
|
+
},
|
|
871
|
+
"source": {
|
|
872
|
+
"name": "source",
|
|
578
873
|
"type": "text",
|
|
579
874
|
"unsigned": false,
|
|
580
875
|
"autoincrement": false,
|
|
581
876
|
"primary": false,
|
|
582
877
|
"nullable": false,
|
|
878
|
+
"unique": false,
|
|
879
|
+
"length": null,
|
|
880
|
+
"precision": null,
|
|
881
|
+
"scale": null,
|
|
882
|
+
"default": null,
|
|
883
|
+
"comment": null,
|
|
884
|
+
"enumItems": [],
|
|
583
885
|
"mappedType": "text"
|
|
584
886
|
},
|
|
585
887
|
"stack": {
|
|
@@ -589,76 +891,102 @@
|
|
|
589
891
|
"autoincrement": false,
|
|
590
892
|
"primary": false,
|
|
591
893
|
"nullable": true,
|
|
894
|
+
"unique": false,
|
|
895
|
+
"length": null,
|
|
896
|
+
"precision": null,
|
|
897
|
+
"scale": null,
|
|
898
|
+
"default": null,
|
|
899
|
+
"comment": null,
|
|
900
|
+
"enumItems": [],
|
|
592
901
|
"mappedType": "text"
|
|
593
902
|
},
|
|
594
|
-
"
|
|
595
|
-
"name": "
|
|
596
|
-
"type": "
|
|
903
|
+
"tenant_id": {
|
|
904
|
+
"name": "tenant_id",
|
|
905
|
+
"type": "uuid",
|
|
597
906
|
"unsigned": false,
|
|
598
907
|
"autoincrement": false,
|
|
599
908
|
"primary": false,
|
|
600
|
-
"nullable":
|
|
601
|
-
"
|
|
602
|
-
"
|
|
909
|
+
"nullable": true,
|
|
910
|
+
"unique": false,
|
|
911
|
+
"length": null,
|
|
912
|
+
"precision": null,
|
|
913
|
+
"scale": null,
|
|
914
|
+
"default": null,
|
|
915
|
+
"comment": null,
|
|
916
|
+
"enumItems": [],
|
|
917
|
+
"mappedType": "uuid"
|
|
603
918
|
}
|
|
604
919
|
},
|
|
605
|
-
"name": "indexer_error_logs",
|
|
606
|
-
"schema": "public",
|
|
607
920
|
"indexes": [
|
|
608
921
|
{
|
|
609
|
-
"keyName": "indexer_error_logs_occurred_idx",
|
|
610
922
|
"columnNames": [
|
|
611
923
|
"occurred_at"
|
|
612
924
|
],
|
|
613
925
|
"composite": false,
|
|
614
926
|
"constraint": false,
|
|
927
|
+
"keyName": "indexer_error_logs_occurred_idx",
|
|
615
928
|
"primary": false,
|
|
616
929
|
"unique": false
|
|
617
930
|
},
|
|
618
931
|
{
|
|
619
|
-
"keyName": "indexer_error_logs_source_idx",
|
|
620
932
|
"columnNames": [
|
|
621
|
-
"
|
|
933
|
+
"id"
|
|
622
934
|
],
|
|
623
935
|
"composite": false,
|
|
624
|
-
"constraint":
|
|
625
|
-
"
|
|
626
|
-
"
|
|
936
|
+
"constraint": true,
|
|
937
|
+
"keyName": "indexer_error_logs_pkey",
|
|
938
|
+
"primary": true,
|
|
939
|
+
"unique": true
|
|
627
940
|
},
|
|
628
941
|
{
|
|
629
|
-
"keyName": "indexer_error_logs_pkey",
|
|
630
942
|
"columnNames": [
|
|
631
|
-
"
|
|
943
|
+
"source"
|
|
632
944
|
],
|
|
633
945
|
"composite": false,
|
|
634
|
-
"constraint":
|
|
635
|
-
"
|
|
636
|
-
"
|
|
946
|
+
"constraint": false,
|
|
947
|
+
"keyName": "indexer_error_logs_source_idx",
|
|
948
|
+
"primary": false,
|
|
949
|
+
"unique": false
|
|
637
950
|
}
|
|
638
951
|
],
|
|
639
952
|
"checks": [],
|
|
640
953
|
"foreignKeys": {},
|
|
641
|
-
"
|
|
954
|
+
"comment": null
|
|
642
955
|
},
|
|
643
956
|
{
|
|
957
|
+
"name": "indexer_status_logs",
|
|
958
|
+
"schema": "public",
|
|
644
959
|
"columns": {
|
|
645
|
-
"
|
|
646
|
-
"name": "
|
|
647
|
-
"type": "
|
|
960
|
+
"details": {
|
|
961
|
+
"name": "details",
|
|
962
|
+
"type": "jsonb",
|
|
648
963
|
"unsigned": false,
|
|
649
964
|
"autoincrement": false,
|
|
650
965
|
"primary": false,
|
|
651
|
-
"nullable":
|
|
652
|
-
"
|
|
653
|
-
"
|
|
966
|
+
"nullable": true,
|
|
967
|
+
"unique": false,
|
|
968
|
+
"length": null,
|
|
969
|
+
"precision": null,
|
|
970
|
+
"scale": null,
|
|
971
|
+
"default": null,
|
|
972
|
+
"comment": null,
|
|
973
|
+
"enumItems": [],
|
|
974
|
+
"mappedType": "json"
|
|
654
975
|
},
|
|
655
|
-
"
|
|
656
|
-
"name": "
|
|
976
|
+
"entity_type": {
|
|
977
|
+
"name": "entity_type",
|
|
657
978
|
"type": "text",
|
|
658
979
|
"unsigned": false,
|
|
659
980
|
"autoincrement": false,
|
|
660
981
|
"primary": false,
|
|
661
|
-
"nullable":
|
|
982
|
+
"nullable": true,
|
|
983
|
+
"unique": false,
|
|
984
|
+
"length": null,
|
|
985
|
+
"precision": null,
|
|
986
|
+
"scale": null,
|
|
987
|
+
"default": null,
|
|
988
|
+
"comment": null,
|
|
989
|
+
"enumItems": [],
|
|
662
990
|
"mappedType": "text"
|
|
663
991
|
},
|
|
664
992
|
"handler": {
|
|
@@ -668,8 +996,31 @@
|
|
|
668
996
|
"autoincrement": false,
|
|
669
997
|
"primary": false,
|
|
670
998
|
"nullable": false,
|
|
999
|
+
"unique": false,
|
|
1000
|
+
"length": null,
|
|
1001
|
+
"precision": null,
|
|
1002
|
+
"scale": null,
|
|
1003
|
+
"default": null,
|
|
1004
|
+
"comment": null,
|
|
1005
|
+
"enumItems": [],
|
|
671
1006
|
"mappedType": "text"
|
|
672
1007
|
},
|
|
1008
|
+
"id": {
|
|
1009
|
+
"name": "id",
|
|
1010
|
+
"type": "uuid",
|
|
1011
|
+
"unsigned": false,
|
|
1012
|
+
"autoincrement": false,
|
|
1013
|
+
"primary": true,
|
|
1014
|
+
"nullable": false,
|
|
1015
|
+
"unique": false,
|
|
1016
|
+
"length": null,
|
|
1017
|
+
"precision": null,
|
|
1018
|
+
"scale": null,
|
|
1019
|
+
"default": "gen_random_uuid()",
|
|
1020
|
+
"comment": null,
|
|
1021
|
+
"enumItems": [],
|
|
1022
|
+
"mappedType": "uuid"
|
|
1023
|
+
},
|
|
673
1024
|
"level": {
|
|
674
1025
|
"name": "level",
|
|
675
1026
|
"type": "text",
|
|
@@ -677,123 +1028,183 @@
|
|
|
677
1028
|
"autoincrement": false,
|
|
678
1029
|
"primary": false,
|
|
679
1030
|
"nullable": false,
|
|
1031
|
+
"unique": false,
|
|
1032
|
+
"length": null,
|
|
1033
|
+
"precision": null,
|
|
1034
|
+
"scale": null,
|
|
680
1035
|
"default": "'info'",
|
|
1036
|
+
"comment": null,
|
|
1037
|
+
"enumItems": [],
|
|
681
1038
|
"mappedType": "text"
|
|
682
1039
|
},
|
|
683
|
-
"
|
|
684
|
-
"name": "
|
|
1040
|
+
"message": {
|
|
1041
|
+
"name": "message",
|
|
685
1042
|
"type": "text",
|
|
686
1043
|
"unsigned": false,
|
|
687
1044
|
"autoincrement": false,
|
|
688
1045
|
"primary": false,
|
|
689
|
-
"nullable":
|
|
1046
|
+
"nullable": false,
|
|
1047
|
+
"unique": false,
|
|
1048
|
+
"length": null,
|
|
1049
|
+
"precision": null,
|
|
1050
|
+
"scale": null,
|
|
1051
|
+
"default": null,
|
|
1052
|
+
"comment": null,
|
|
1053
|
+
"enumItems": [],
|
|
690
1054
|
"mappedType": "text"
|
|
691
1055
|
},
|
|
692
|
-
"
|
|
693
|
-
"name": "
|
|
694
|
-
"type": "
|
|
1056
|
+
"occurred_at": {
|
|
1057
|
+
"name": "occurred_at",
|
|
1058
|
+
"type": "timestamptz(6)",
|
|
695
1059
|
"unsigned": false,
|
|
696
1060
|
"autoincrement": false,
|
|
697
1061
|
"primary": false,
|
|
698
|
-
"nullable":
|
|
699
|
-
"
|
|
1062
|
+
"nullable": false,
|
|
1063
|
+
"unique": false,
|
|
1064
|
+
"length": 6,
|
|
1065
|
+
"precision": null,
|
|
1066
|
+
"scale": null,
|
|
1067
|
+
"default": null,
|
|
1068
|
+
"comment": null,
|
|
1069
|
+
"enumItems": [],
|
|
1070
|
+
"mappedType": "datetime"
|
|
700
1071
|
},
|
|
701
|
-
"
|
|
702
|
-
"name": "
|
|
1072
|
+
"organization_id": {
|
|
1073
|
+
"name": "organization_id",
|
|
703
1074
|
"type": "uuid",
|
|
704
1075
|
"unsigned": false,
|
|
705
1076
|
"autoincrement": false,
|
|
706
1077
|
"primary": false,
|
|
707
1078
|
"nullable": true,
|
|
1079
|
+
"unique": false,
|
|
1080
|
+
"length": null,
|
|
1081
|
+
"precision": null,
|
|
1082
|
+
"scale": null,
|
|
1083
|
+
"default": null,
|
|
1084
|
+
"comment": null,
|
|
1085
|
+
"enumItems": [],
|
|
708
1086
|
"mappedType": "uuid"
|
|
709
1087
|
},
|
|
710
|
-
"
|
|
711
|
-
"name": "
|
|
712
|
-
"type": "
|
|
1088
|
+
"record_id": {
|
|
1089
|
+
"name": "record_id",
|
|
1090
|
+
"type": "text",
|
|
713
1091
|
"unsigned": false,
|
|
714
1092
|
"autoincrement": false,
|
|
715
1093
|
"primary": false,
|
|
716
1094
|
"nullable": true,
|
|
717
|
-
"
|
|
1095
|
+
"unique": false,
|
|
1096
|
+
"length": null,
|
|
1097
|
+
"precision": null,
|
|
1098
|
+
"scale": null,
|
|
1099
|
+
"default": null,
|
|
1100
|
+
"comment": null,
|
|
1101
|
+
"enumItems": [],
|
|
1102
|
+
"mappedType": "text"
|
|
718
1103
|
},
|
|
719
|
-
"
|
|
720
|
-
"name": "
|
|
1104
|
+
"source": {
|
|
1105
|
+
"name": "source",
|
|
721
1106
|
"type": "text",
|
|
722
1107
|
"unsigned": false,
|
|
723
1108
|
"autoincrement": false,
|
|
724
1109
|
"primary": false,
|
|
725
1110
|
"nullable": false,
|
|
1111
|
+
"unique": false,
|
|
1112
|
+
"length": null,
|
|
1113
|
+
"precision": null,
|
|
1114
|
+
"scale": null,
|
|
1115
|
+
"default": null,
|
|
1116
|
+
"comment": null,
|
|
1117
|
+
"enumItems": [],
|
|
726
1118
|
"mappedType": "text"
|
|
727
1119
|
},
|
|
728
|
-
"
|
|
729
|
-
"name": "
|
|
730
|
-
"type": "
|
|
1120
|
+
"tenant_id": {
|
|
1121
|
+
"name": "tenant_id",
|
|
1122
|
+
"type": "uuid",
|
|
731
1123
|
"unsigned": false,
|
|
732
1124
|
"autoincrement": false,
|
|
733
1125
|
"primary": false,
|
|
734
1126
|
"nullable": true,
|
|
735
|
-
"
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
"
|
|
739
|
-
"
|
|
740
|
-
"
|
|
741
|
-
"
|
|
742
|
-
"
|
|
743
|
-
"nullable": false,
|
|
744
|
-
"length": 6,
|
|
745
|
-
"mappedType": "datetime"
|
|
1127
|
+
"unique": false,
|
|
1128
|
+
"length": null,
|
|
1129
|
+
"precision": null,
|
|
1130
|
+
"scale": null,
|
|
1131
|
+
"default": null,
|
|
1132
|
+
"comment": null,
|
|
1133
|
+
"enumItems": [],
|
|
1134
|
+
"mappedType": "uuid"
|
|
746
1135
|
}
|
|
747
1136
|
},
|
|
748
|
-
"name": "indexer_status_logs",
|
|
749
|
-
"schema": "public",
|
|
750
1137
|
"indexes": [
|
|
751
1138
|
{
|
|
752
|
-
"keyName": "indexer_status_logs_occurred_idx",
|
|
753
1139
|
"columnNames": [
|
|
754
1140
|
"occurred_at"
|
|
755
1141
|
],
|
|
756
1142
|
"composite": false,
|
|
757
1143
|
"constraint": false,
|
|
1144
|
+
"keyName": "indexer_status_logs_occurred_idx",
|
|
758
1145
|
"primary": false,
|
|
759
1146
|
"unique": false
|
|
760
1147
|
},
|
|
761
1148
|
{
|
|
762
|
-
"keyName": "indexer_status_logs_source_idx",
|
|
763
1149
|
"columnNames": [
|
|
764
|
-
"
|
|
1150
|
+
"id"
|
|
765
1151
|
],
|
|
766
1152
|
"composite": false,
|
|
767
|
-
"constraint":
|
|
768
|
-
"
|
|
769
|
-
"
|
|
1153
|
+
"constraint": true,
|
|
1154
|
+
"keyName": "indexer_status_logs_pkey",
|
|
1155
|
+
"primary": true,
|
|
1156
|
+
"unique": true
|
|
770
1157
|
},
|
|
771
1158
|
{
|
|
772
|
-
"keyName": "indexer_status_logs_pkey",
|
|
773
1159
|
"columnNames": [
|
|
774
|
-
"
|
|
1160
|
+
"source"
|
|
775
1161
|
],
|
|
776
1162
|
"composite": false,
|
|
777
|
-
"constraint":
|
|
778
|
-
"
|
|
779
|
-
"
|
|
1163
|
+
"constraint": false,
|
|
1164
|
+
"keyName": "indexer_status_logs_source_idx",
|
|
1165
|
+
"primary": false,
|
|
1166
|
+
"unique": false
|
|
780
1167
|
}
|
|
781
1168
|
],
|
|
782
1169
|
"checks": [],
|
|
783
1170
|
"foreignKeys": {},
|
|
784
|
-
"
|
|
1171
|
+
"comment": null
|
|
785
1172
|
},
|
|
786
1173
|
{
|
|
1174
|
+
"name": "search_tokens",
|
|
1175
|
+
"schema": "public",
|
|
787
1176
|
"columns": {
|
|
788
|
-
"
|
|
789
|
-
"name": "
|
|
790
|
-
"type": "
|
|
1177
|
+
"created_at": {
|
|
1178
|
+
"name": "created_at",
|
|
1179
|
+
"type": "timestamptz(6)",
|
|
791
1180
|
"unsigned": false,
|
|
792
1181
|
"autoincrement": false,
|
|
793
1182
|
"primary": false,
|
|
794
1183
|
"nullable": false,
|
|
795
|
-
"
|
|
796
|
-
"
|
|
1184
|
+
"unique": false,
|
|
1185
|
+
"length": 6,
|
|
1186
|
+
"precision": null,
|
|
1187
|
+
"scale": null,
|
|
1188
|
+
"default": null,
|
|
1189
|
+
"comment": null,
|
|
1190
|
+
"enumItems": [],
|
|
1191
|
+
"mappedType": "datetime"
|
|
1192
|
+
},
|
|
1193
|
+
"entity_id": {
|
|
1194
|
+
"name": "entity_id",
|
|
1195
|
+
"type": "text",
|
|
1196
|
+
"unsigned": false,
|
|
1197
|
+
"autoincrement": false,
|
|
1198
|
+
"primary": false,
|
|
1199
|
+
"nullable": false,
|
|
1200
|
+
"unique": false,
|
|
1201
|
+
"length": null,
|
|
1202
|
+
"precision": null,
|
|
1203
|
+
"scale": null,
|
|
1204
|
+
"default": null,
|
|
1205
|
+
"comment": null,
|
|
1206
|
+
"enumItems": [],
|
|
1207
|
+
"mappedType": "text"
|
|
797
1208
|
},
|
|
798
1209
|
"entity_type": {
|
|
799
1210
|
"name": "entity_type",
|
|
@@ -802,17 +1213,47 @@
|
|
|
802
1213
|
"autoincrement": false,
|
|
803
1214
|
"primary": false,
|
|
804
1215
|
"nullable": false,
|
|
1216
|
+
"unique": false,
|
|
1217
|
+
"length": null,
|
|
1218
|
+
"precision": null,
|
|
1219
|
+
"scale": null,
|
|
1220
|
+
"default": null,
|
|
1221
|
+
"comment": null,
|
|
1222
|
+
"enumItems": [],
|
|
805
1223
|
"mappedType": "text"
|
|
806
1224
|
},
|
|
807
|
-
"
|
|
808
|
-
"name": "
|
|
1225
|
+
"field": {
|
|
1226
|
+
"name": "field",
|
|
809
1227
|
"type": "text",
|
|
810
1228
|
"unsigned": false,
|
|
811
1229
|
"autoincrement": false,
|
|
812
1230
|
"primary": false,
|
|
813
1231
|
"nullable": false,
|
|
1232
|
+
"unique": false,
|
|
1233
|
+
"length": null,
|
|
1234
|
+
"precision": null,
|
|
1235
|
+
"scale": null,
|
|
1236
|
+
"default": null,
|
|
1237
|
+
"comment": null,
|
|
1238
|
+
"enumItems": [],
|
|
814
1239
|
"mappedType": "text"
|
|
815
1240
|
},
|
|
1241
|
+
"id": {
|
|
1242
|
+
"name": "id",
|
|
1243
|
+
"type": "uuid",
|
|
1244
|
+
"unsigned": false,
|
|
1245
|
+
"autoincrement": false,
|
|
1246
|
+
"primary": true,
|
|
1247
|
+
"nullable": false,
|
|
1248
|
+
"unique": false,
|
|
1249
|
+
"length": null,
|
|
1250
|
+
"precision": null,
|
|
1251
|
+
"scale": null,
|
|
1252
|
+
"default": "gen_random_uuid()",
|
|
1253
|
+
"comment": null,
|
|
1254
|
+
"enumItems": [],
|
|
1255
|
+
"mappedType": "uuid"
|
|
1256
|
+
},
|
|
816
1257
|
"organization_id": {
|
|
817
1258
|
"name": "organization_id",
|
|
818
1259
|
"type": "uuid",
|
|
@@ -820,6 +1261,13 @@
|
|
|
820
1261
|
"autoincrement": false,
|
|
821
1262
|
"primary": false,
|
|
822
1263
|
"nullable": true,
|
|
1264
|
+
"unique": false,
|
|
1265
|
+
"length": null,
|
|
1266
|
+
"precision": null,
|
|
1267
|
+
"scale": null,
|
|
1268
|
+
"default": null,
|
|
1269
|
+
"comment": null,
|
|
1270
|
+
"enumItems": [],
|
|
823
1271
|
"mappedType": "uuid"
|
|
824
1272
|
},
|
|
825
1273
|
"tenant_id": {
|
|
@@ -829,15 +1277,29 @@
|
|
|
829
1277
|
"autoincrement": false,
|
|
830
1278
|
"primary": false,
|
|
831
1279
|
"nullable": true,
|
|
1280
|
+
"unique": false,
|
|
1281
|
+
"length": null,
|
|
1282
|
+
"precision": null,
|
|
1283
|
+
"scale": null,
|
|
1284
|
+
"default": null,
|
|
1285
|
+
"comment": null,
|
|
1286
|
+
"enumItems": [],
|
|
832
1287
|
"mappedType": "uuid"
|
|
833
1288
|
},
|
|
834
|
-
"
|
|
835
|
-
"name": "
|
|
1289
|
+
"token": {
|
|
1290
|
+
"name": "token",
|
|
836
1291
|
"type": "text",
|
|
837
1292
|
"unsigned": false,
|
|
838
1293
|
"autoincrement": false,
|
|
839
1294
|
"primary": false,
|
|
840
|
-
"nullable":
|
|
1295
|
+
"nullable": true,
|
|
1296
|
+
"unique": false,
|
|
1297
|
+
"length": null,
|
|
1298
|
+
"precision": null,
|
|
1299
|
+
"scale": null,
|
|
1300
|
+
"default": null,
|
|
1301
|
+
"comment": null,
|
|
1302
|
+
"enumItems": [],
|
|
841
1303
|
"mappedType": "text"
|
|
842
1304
|
},
|
|
843
1305
|
"token_hash": {
|
|
@@ -847,44 +1309,29 @@
|
|
|
847
1309
|
"autoincrement": false,
|
|
848
1310
|
"primary": false,
|
|
849
1311
|
"nullable": false,
|
|
1312
|
+
"unique": false,
|
|
1313
|
+
"length": null,
|
|
1314
|
+
"precision": null,
|
|
1315
|
+
"scale": null,
|
|
1316
|
+
"default": null,
|
|
1317
|
+
"comment": null,
|
|
1318
|
+
"enumItems": [],
|
|
850
1319
|
"mappedType": "text"
|
|
851
|
-
},
|
|
852
|
-
"token": {
|
|
853
|
-
"name": "token",
|
|
854
|
-
"type": "text",
|
|
855
|
-
"unsigned": false,
|
|
856
|
-
"autoincrement": false,
|
|
857
|
-
"primary": false,
|
|
858
|
-
"nullable": true,
|
|
859
|
-
"mappedType": "text"
|
|
860
|
-
},
|
|
861
|
-
"created_at": {
|
|
862
|
-
"name": "created_at",
|
|
863
|
-
"type": "timestamptz",
|
|
864
|
-
"unsigned": false,
|
|
865
|
-
"autoincrement": false,
|
|
866
|
-
"primary": false,
|
|
867
|
-
"nullable": false,
|
|
868
|
-
"length": 6,
|
|
869
|
-
"mappedType": "datetime"
|
|
870
1320
|
}
|
|
871
1321
|
},
|
|
872
|
-
"name": "search_tokens",
|
|
873
|
-
"schema": "public",
|
|
874
1322
|
"indexes": [
|
|
875
1323
|
{
|
|
876
|
-
"keyName": "search_tokens_entity_idx",
|
|
877
1324
|
"columnNames": [
|
|
878
1325
|
"entity_type",
|
|
879
1326
|
"entity_id"
|
|
880
1327
|
],
|
|
881
1328
|
"composite": true,
|
|
882
1329
|
"constraint": false,
|
|
1330
|
+
"keyName": "search_tokens_entity_idx",
|
|
883
1331
|
"primary": false,
|
|
884
1332
|
"unique": false
|
|
885
1333
|
},
|
|
886
1334
|
{
|
|
887
|
-
"keyName": "search_tokens_lookup_idx",
|
|
888
1335
|
"columnNames": [
|
|
889
1336
|
"entity_type",
|
|
890
1337
|
"field",
|
|
@@ -894,24 +1341,26 @@
|
|
|
894
1341
|
],
|
|
895
1342
|
"composite": true,
|
|
896
1343
|
"constraint": false,
|
|
1344
|
+
"keyName": "search_tokens_lookup_idx",
|
|
897
1345
|
"primary": false,
|
|
898
1346
|
"unique": false
|
|
899
1347
|
},
|
|
900
1348
|
{
|
|
901
|
-
"keyName": "search_tokens_pkey",
|
|
902
1349
|
"columnNames": [
|
|
903
1350
|
"id"
|
|
904
1351
|
],
|
|
905
1352
|
"composite": false,
|
|
906
1353
|
"constraint": true,
|
|
1354
|
+
"keyName": "search_tokens_pkey",
|
|
907
1355
|
"primary": true,
|
|
908
1356
|
"unique": true
|
|
909
1357
|
}
|
|
910
1358
|
],
|
|
911
1359
|
"checks": [],
|
|
912
1360
|
"foreignKeys": {},
|
|
913
|
-
"
|
|
1361
|
+
"comment": null
|
|
914
1362
|
}
|
|
915
1363
|
],
|
|
1364
|
+
"views": [],
|
|
916
1365
|
"nativeEnums": {}
|
|
917
|
-
}
|
|
1366
|
+
}
|