@open-mercato/core 0.4.11-develop.1275.9b2be5ab76 → 0.4.11-develop.1299.78ca9c88e2
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/package.json +3 -3
- package/src/modules/auth/migrations/.snapshot-open-mercato.json +716 -8
- package/src/modules/customers/migrations/.snapshot-open-mercato.json +1619 -278
- package/src/modules/inbox_ops/migrations/.snapshot-open-mercato.json +654 -5
- package/src/modules/payment_gateways/migrations/.snapshot-open-mercato.json +195 -7
|
@@ -11,9 +11,15 @@
|
|
|
11
11
|
"type": "uuid",
|
|
12
12
|
"unsigned": false,
|
|
13
13
|
"autoincrement": false,
|
|
14
|
-
"primary":
|
|
14
|
+
"primary": true,
|
|
15
15
|
"nullable": false,
|
|
16
|
+
"unique": false,
|
|
17
|
+
"length": null,
|
|
18
|
+
"precision": null,
|
|
19
|
+
"scale": null,
|
|
16
20
|
"default": "gen_random_uuid()",
|
|
21
|
+
"comment": null,
|
|
22
|
+
"enumItems": [],
|
|
17
23
|
"mappedType": "uuid"
|
|
18
24
|
},
|
|
19
25
|
"name": {
|
|
@@ -23,6 +29,13 @@
|
|
|
23
29
|
"autoincrement": false,
|
|
24
30
|
"primary": false,
|
|
25
31
|
"nullable": false,
|
|
32
|
+
"unique": false,
|
|
33
|
+
"length": null,
|
|
34
|
+
"precision": null,
|
|
35
|
+
"scale": null,
|
|
36
|
+
"default": null,
|
|
37
|
+
"comment": null,
|
|
38
|
+
"enumItems": [],
|
|
26
39
|
"mappedType": "text"
|
|
27
40
|
},
|
|
28
41
|
"tenant_id": {
|
|
@@ -32,6 +45,13 @@
|
|
|
32
45
|
"autoincrement": false,
|
|
33
46
|
"primary": false,
|
|
34
47
|
"nullable": true,
|
|
48
|
+
"unique": false,
|
|
49
|
+
"length": null,
|
|
50
|
+
"precision": null,
|
|
51
|
+
"scale": null,
|
|
52
|
+
"default": null,
|
|
53
|
+
"comment": null,
|
|
54
|
+
"enumItems": [],
|
|
35
55
|
"mappedType": "uuid"
|
|
36
56
|
},
|
|
37
57
|
"created_at": {
|
|
@@ -41,7 +61,13 @@
|
|
|
41
61
|
"autoincrement": false,
|
|
42
62
|
"primary": false,
|
|
43
63
|
"nullable": false,
|
|
64
|
+
"unique": false,
|
|
44
65
|
"length": 6,
|
|
66
|
+
"precision": null,
|
|
67
|
+
"scale": null,
|
|
68
|
+
"default": null,
|
|
69
|
+
"comment": null,
|
|
70
|
+
"enumItems": [],
|
|
45
71
|
"mappedType": "datetime"
|
|
46
72
|
},
|
|
47
73
|
"deleted_at": {
|
|
@@ -51,7 +77,13 @@
|
|
|
51
77
|
"autoincrement": false,
|
|
52
78
|
"primary": false,
|
|
53
79
|
"nullable": true,
|
|
80
|
+
"unique": false,
|
|
54
81
|
"length": 6,
|
|
82
|
+
"precision": null,
|
|
83
|
+
"scale": null,
|
|
84
|
+
"default": null,
|
|
85
|
+
"comment": null,
|
|
86
|
+
"enumItems": [],
|
|
55
87
|
"mappedType": "datetime"
|
|
56
88
|
}
|
|
57
89
|
},
|
|
@@ -91,9 +123,15 @@
|
|
|
91
123
|
"type": "uuid",
|
|
92
124
|
"unsigned": false,
|
|
93
125
|
"autoincrement": false,
|
|
94
|
-
"primary":
|
|
126
|
+
"primary": true,
|
|
95
127
|
"nullable": false,
|
|
128
|
+
"unique": false,
|
|
129
|
+
"length": null,
|
|
130
|
+
"precision": null,
|
|
131
|
+
"scale": null,
|
|
96
132
|
"default": "gen_random_uuid()",
|
|
133
|
+
"comment": null,
|
|
134
|
+
"enumItems": [],
|
|
97
135
|
"mappedType": "uuid"
|
|
98
136
|
},
|
|
99
137
|
"role_id": {
|
|
@@ -103,6 +141,13 @@
|
|
|
103
141
|
"autoincrement": false,
|
|
104
142
|
"primary": false,
|
|
105
143
|
"nullable": false,
|
|
144
|
+
"unique": false,
|
|
145
|
+
"length": null,
|
|
146
|
+
"precision": null,
|
|
147
|
+
"scale": null,
|
|
148
|
+
"default": null,
|
|
149
|
+
"comment": null,
|
|
150
|
+
"enumItems": [],
|
|
106
151
|
"mappedType": "uuid"
|
|
107
152
|
},
|
|
108
153
|
"tenant_id": {
|
|
@@ -112,6 +157,13 @@
|
|
|
112
157
|
"autoincrement": false,
|
|
113
158
|
"primary": false,
|
|
114
159
|
"nullable": false,
|
|
160
|
+
"unique": false,
|
|
161
|
+
"length": null,
|
|
162
|
+
"precision": null,
|
|
163
|
+
"scale": null,
|
|
164
|
+
"default": null,
|
|
165
|
+
"comment": null,
|
|
166
|
+
"enumItems": [],
|
|
115
167
|
"mappedType": "uuid"
|
|
116
168
|
},
|
|
117
169
|
"features_json": {
|
|
@@ -121,6 +173,13 @@
|
|
|
121
173
|
"autoincrement": false,
|
|
122
174
|
"primary": false,
|
|
123
175
|
"nullable": true,
|
|
176
|
+
"unique": false,
|
|
177
|
+
"length": null,
|
|
178
|
+
"precision": null,
|
|
179
|
+
"scale": null,
|
|
180
|
+
"default": null,
|
|
181
|
+
"comment": null,
|
|
182
|
+
"enumItems": [],
|
|
124
183
|
"mappedType": "json"
|
|
125
184
|
},
|
|
126
185
|
"is_super_admin": {
|
|
@@ -130,7 +189,13 @@
|
|
|
130
189
|
"autoincrement": false,
|
|
131
190
|
"primary": false,
|
|
132
191
|
"nullable": false,
|
|
192
|
+
"unique": false,
|
|
193
|
+
"length": null,
|
|
194
|
+
"precision": null,
|
|
195
|
+
"scale": null,
|
|
133
196
|
"default": "false",
|
|
197
|
+
"comment": null,
|
|
198
|
+
"enumItems": [],
|
|
134
199
|
"mappedType": "boolean"
|
|
135
200
|
},
|
|
136
201
|
"organizations_json": {
|
|
@@ -140,6 +205,13 @@
|
|
|
140
205
|
"autoincrement": false,
|
|
141
206
|
"primary": false,
|
|
142
207
|
"nullable": true,
|
|
208
|
+
"unique": false,
|
|
209
|
+
"length": null,
|
|
210
|
+
"precision": null,
|
|
211
|
+
"scale": null,
|
|
212
|
+
"default": null,
|
|
213
|
+
"comment": null,
|
|
214
|
+
"enumItems": [],
|
|
143
215
|
"mappedType": "json"
|
|
144
216
|
},
|
|
145
217
|
"created_at": {
|
|
@@ -149,7 +221,13 @@
|
|
|
149
221
|
"autoincrement": false,
|
|
150
222
|
"primary": false,
|
|
151
223
|
"nullable": false,
|
|
224
|
+
"unique": false,
|
|
152
225
|
"length": 6,
|
|
226
|
+
"precision": null,
|
|
227
|
+
"scale": null,
|
|
228
|
+
"default": null,
|
|
229
|
+
"comment": null,
|
|
230
|
+
"enumItems": [],
|
|
153
231
|
"mappedType": "datetime"
|
|
154
232
|
},
|
|
155
233
|
"updated_at": {
|
|
@@ -159,7 +237,13 @@
|
|
|
159
237
|
"autoincrement": false,
|
|
160
238
|
"primary": false,
|
|
161
239
|
"nullable": true,
|
|
240
|
+
"unique": false,
|
|
162
241
|
"length": 6,
|
|
242
|
+
"precision": null,
|
|
243
|
+
"scale": null,
|
|
244
|
+
"default": null,
|
|
245
|
+
"comment": null,
|
|
246
|
+
"enumItems": [],
|
|
163
247
|
"mappedType": "datetime"
|
|
164
248
|
},
|
|
165
249
|
"deleted_at": {
|
|
@@ -169,7 +253,13 @@
|
|
|
169
253
|
"autoincrement": false,
|
|
170
254
|
"primary": false,
|
|
171
255
|
"nullable": true,
|
|
256
|
+
"unique": false,
|
|
172
257
|
"length": 6,
|
|
258
|
+
"precision": null,
|
|
259
|
+
"scale": null,
|
|
260
|
+
"default": null,
|
|
261
|
+
"comment": null,
|
|
262
|
+
"enumItems": [],
|
|
173
263
|
"mappedType": "datetime"
|
|
174
264
|
}
|
|
175
265
|
},
|
|
@@ -211,9 +301,15 @@
|
|
|
211
301
|
"type": "uuid",
|
|
212
302
|
"unsigned": false,
|
|
213
303
|
"autoincrement": false,
|
|
214
|
-
"primary":
|
|
304
|
+
"primary": true,
|
|
215
305
|
"nullable": false,
|
|
306
|
+
"unique": false,
|
|
307
|
+
"length": null,
|
|
308
|
+
"precision": null,
|
|
309
|
+
"scale": null,
|
|
216
310
|
"default": "gen_random_uuid()",
|
|
311
|
+
"comment": null,
|
|
312
|
+
"enumItems": [],
|
|
217
313
|
"mappedType": "uuid"
|
|
218
314
|
},
|
|
219
315
|
"role_id": {
|
|
@@ -223,6 +319,13 @@
|
|
|
223
319
|
"autoincrement": false,
|
|
224
320
|
"primary": false,
|
|
225
321
|
"nullable": false,
|
|
322
|
+
"unique": false,
|
|
323
|
+
"length": null,
|
|
324
|
+
"precision": null,
|
|
325
|
+
"scale": null,
|
|
326
|
+
"default": null,
|
|
327
|
+
"comment": null,
|
|
328
|
+
"enumItems": [],
|
|
226
329
|
"mappedType": "uuid"
|
|
227
330
|
},
|
|
228
331
|
"tenant_id": {
|
|
@@ -232,6 +335,13 @@
|
|
|
232
335
|
"autoincrement": false,
|
|
233
336
|
"primary": false,
|
|
234
337
|
"nullable": true,
|
|
338
|
+
"unique": false,
|
|
339
|
+
"length": null,
|
|
340
|
+
"precision": null,
|
|
341
|
+
"scale": null,
|
|
342
|
+
"default": null,
|
|
343
|
+
"comment": null,
|
|
344
|
+
"enumItems": [],
|
|
235
345
|
"mappedType": "uuid"
|
|
236
346
|
},
|
|
237
347
|
"locale": {
|
|
@@ -241,6 +351,13 @@
|
|
|
241
351
|
"autoincrement": false,
|
|
242
352
|
"primary": false,
|
|
243
353
|
"nullable": false,
|
|
354
|
+
"unique": false,
|
|
355
|
+
"length": null,
|
|
356
|
+
"precision": null,
|
|
357
|
+
"scale": null,
|
|
358
|
+
"default": null,
|
|
359
|
+
"comment": null,
|
|
360
|
+
"enumItems": [],
|
|
244
361
|
"mappedType": "text"
|
|
245
362
|
},
|
|
246
363
|
"settings_json": {
|
|
@@ -250,6 +367,13 @@
|
|
|
250
367
|
"autoincrement": false,
|
|
251
368
|
"primary": false,
|
|
252
369
|
"nullable": true,
|
|
370
|
+
"unique": false,
|
|
371
|
+
"length": null,
|
|
372
|
+
"precision": null,
|
|
373
|
+
"scale": null,
|
|
374
|
+
"default": null,
|
|
375
|
+
"comment": null,
|
|
376
|
+
"enumItems": [],
|
|
253
377
|
"mappedType": "json"
|
|
254
378
|
},
|
|
255
379
|
"created_at": {
|
|
@@ -259,7 +383,13 @@
|
|
|
259
383
|
"autoincrement": false,
|
|
260
384
|
"primary": false,
|
|
261
385
|
"nullable": false,
|
|
386
|
+
"unique": false,
|
|
262
387
|
"length": 6,
|
|
388
|
+
"precision": null,
|
|
389
|
+
"scale": null,
|
|
390
|
+
"default": null,
|
|
391
|
+
"comment": null,
|
|
392
|
+
"enumItems": [],
|
|
263
393
|
"mappedType": "datetime"
|
|
264
394
|
},
|
|
265
395
|
"updated_at": {
|
|
@@ -269,7 +399,13 @@
|
|
|
269
399
|
"autoincrement": false,
|
|
270
400
|
"primary": false,
|
|
271
401
|
"nullable": true,
|
|
402
|
+
"unique": false,
|
|
272
403
|
"length": 6,
|
|
404
|
+
"precision": null,
|
|
405
|
+
"scale": null,
|
|
406
|
+
"default": null,
|
|
407
|
+
"comment": null,
|
|
408
|
+
"enumItems": [],
|
|
273
409
|
"mappedType": "datetime"
|
|
274
410
|
},
|
|
275
411
|
"deleted_at": {
|
|
@@ -279,7 +415,13 @@
|
|
|
279
415
|
"autoincrement": false,
|
|
280
416
|
"primary": false,
|
|
281
417
|
"nullable": true,
|
|
418
|
+
"unique": false,
|
|
282
419
|
"length": 6,
|
|
420
|
+
"precision": null,
|
|
421
|
+
"scale": null,
|
|
422
|
+
"default": null,
|
|
423
|
+
"comment": null,
|
|
424
|
+
"enumItems": [],
|
|
283
425
|
"mappedType": "datetime"
|
|
284
426
|
}
|
|
285
427
|
},
|
|
@@ -333,9 +475,15 @@
|
|
|
333
475
|
"type": "uuid",
|
|
334
476
|
"unsigned": false,
|
|
335
477
|
"autoincrement": false,
|
|
336
|
-
"primary":
|
|
478
|
+
"primary": true,
|
|
337
479
|
"nullable": false,
|
|
480
|
+
"unique": false,
|
|
481
|
+
"length": null,
|
|
482
|
+
"precision": null,
|
|
483
|
+
"scale": null,
|
|
338
484
|
"default": "gen_random_uuid()",
|
|
485
|
+
"comment": null,
|
|
486
|
+
"enumItems": [],
|
|
339
487
|
"mappedType": "uuid"
|
|
340
488
|
},
|
|
341
489
|
"tenant_id": {
|
|
@@ -345,6 +493,13 @@
|
|
|
345
493
|
"autoincrement": false,
|
|
346
494
|
"primary": false,
|
|
347
495
|
"nullable": true,
|
|
496
|
+
"unique": false,
|
|
497
|
+
"length": null,
|
|
498
|
+
"precision": null,
|
|
499
|
+
"scale": null,
|
|
500
|
+
"default": null,
|
|
501
|
+
"comment": null,
|
|
502
|
+
"enumItems": [],
|
|
348
503
|
"mappedType": "uuid"
|
|
349
504
|
},
|
|
350
505
|
"organization_id": {
|
|
@@ -354,6 +509,13 @@
|
|
|
354
509
|
"autoincrement": false,
|
|
355
510
|
"primary": false,
|
|
356
511
|
"nullable": true,
|
|
512
|
+
"unique": false,
|
|
513
|
+
"length": null,
|
|
514
|
+
"precision": null,
|
|
515
|
+
"scale": null,
|
|
516
|
+
"default": null,
|
|
517
|
+
"comment": null,
|
|
518
|
+
"enumItems": [],
|
|
357
519
|
"mappedType": "uuid"
|
|
358
520
|
},
|
|
359
521
|
"email": {
|
|
@@ -363,6 +525,13 @@
|
|
|
363
525
|
"autoincrement": false,
|
|
364
526
|
"primary": false,
|
|
365
527
|
"nullable": false,
|
|
528
|
+
"unique": false,
|
|
529
|
+
"length": null,
|
|
530
|
+
"precision": null,
|
|
531
|
+
"scale": null,
|
|
532
|
+
"default": null,
|
|
533
|
+
"comment": null,
|
|
534
|
+
"enumItems": [],
|
|
366
535
|
"mappedType": "text"
|
|
367
536
|
},
|
|
368
537
|
"email_hash": {
|
|
@@ -372,6 +541,13 @@
|
|
|
372
541
|
"autoincrement": false,
|
|
373
542
|
"primary": false,
|
|
374
543
|
"nullable": true,
|
|
544
|
+
"unique": false,
|
|
545
|
+
"length": null,
|
|
546
|
+
"precision": null,
|
|
547
|
+
"scale": null,
|
|
548
|
+
"default": null,
|
|
549
|
+
"comment": null,
|
|
550
|
+
"enumItems": [],
|
|
375
551
|
"mappedType": "text"
|
|
376
552
|
},
|
|
377
553
|
"name": {
|
|
@@ -381,6 +557,13 @@
|
|
|
381
557
|
"autoincrement": false,
|
|
382
558
|
"primary": false,
|
|
383
559
|
"nullable": true,
|
|
560
|
+
"unique": false,
|
|
561
|
+
"length": null,
|
|
562
|
+
"precision": null,
|
|
563
|
+
"scale": null,
|
|
564
|
+
"default": null,
|
|
565
|
+
"comment": null,
|
|
566
|
+
"enumItems": [],
|
|
384
567
|
"mappedType": "text"
|
|
385
568
|
},
|
|
386
569
|
"password_hash": {
|
|
@@ -390,6 +573,13 @@
|
|
|
390
573
|
"autoincrement": false,
|
|
391
574
|
"primary": false,
|
|
392
575
|
"nullable": true,
|
|
576
|
+
"unique": false,
|
|
577
|
+
"length": null,
|
|
578
|
+
"precision": null,
|
|
579
|
+
"scale": null,
|
|
580
|
+
"default": null,
|
|
581
|
+
"comment": null,
|
|
582
|
+
"enumItems": [],
|
|
393
583
|
"mappedType": "text"
|
|
394
584
|
},
|
|
395
585
|
"is_confirmed": {
|
|
@@ -399,7 +589,13 @@
|
|
|
399
589
|
"autoincrement": false,
|
|
400
590
|
"primary": false,
|
|
401
591
|
"nullable": false,
|
|
592
|
+
"unique": false,
|
|
593
|
+
"length": null,
|
|
594
|
+
"precision": null,
|
|
595
|
+
"scale": null,
|
|
402
596
|
"default": "true",
|
|
597
|
+
"comment": null,
|
|
598
|
+
"enumItems": [],
|
|
403
599
|
"mappedType": "boolean"
|
|
404
600
|
},
|
|
405
601
|
"last_login_at": {
|
|
@@ -409,7 +605,13 @@
|
|
|
409
605
|
"autoincrement": false,
|
|
410
606
|
"primary": false,
|
|
411
607
|
"nullable": true,
|
|
608
|
+
"unique": false,
|
|
412
609
|
"length": 6,
|
|
610
|
+
"precision": null,
|
|
611
|
+
"scale": null,
|
|
612
|
+
"default": null,
|
|
613
|
+
"comment": null,
|
|
614
|
+
"enumItems": [],
|
|
413
615
|
"mappedType": "datetime"
|
|
414
616
|
},
|
|
415
617
|
"created_at": {
|
|
@@ -419,7 +621,13 @@
|
|
|
419
621
|
"autoincrement": false,
|
|
420
622
|
"primary": false,
|
|
421
623
|
"nullable": false,
|
|
624
|
+
"unique": false,
|
|
422
625
|
"length": 6,
|
|
626
|
+
"precision": null,
|
|
627
|
+
"scale": null,
|
|
628
|
+
"default": null,
|
|
629
|
+
"comment": null,
|
|
630
|
+
"enumItems": [],
|
|
423
631
|
"mappedType": "datetime"
|
|
424
632
|
},
|
|
425
633
|
"deleted_at": {
|
|
@@ -429,7 +637,13 @@
|
|
|
429
637
|
"autoincrement": false,
|
|
430
638
|
"primary": false,
|
|
431
639
|
"nullable": true,
|
|
640
|
+
"unique": false,
|
|
432
641
|
"length": 6,
|
|
642
|
+
"precision": null,
|
|
643
|
+
"scale": null,
|
|
644
|
+
"default": null,
|
|
645
|
+
"comment": null,
|
|
646
|
+
"enumItems": [],
|
|
433
647
|
"mappedType": "datetime"
|
|
434
648
|
}
|
|
435
649
|
},
|
|
@@ -478,9 +692,15 @@
|
|
|
478
692
|
"type": "uuid",
|
|
479
693
|
"unsigned": false,
|
|
480
694
|
"autoincrement": false,
|
|
481
|
-
"primary":
|
|
695
|
+
"primary": true,
|
|
482
696
|
"nullable": false,
|
|
697
|
+
"unique": false,
|
|
698
|
+
"length": null,
|
|
699
|
+
"precision": null,
|
|
700
|
+
"scale": null,
|
|
483
701
|
"default": "gen_random_uuid()",
|
|
702
|
+
"comment": null,
|
|
703
|
+
"enumItems": [],
|
|
484
704
|
"mappedType": "uuid"
|
|
485
705
|
},
|
|
486
706
|
"user_id": {
|
|
@@ -490,6 +710,13 @@
|
|
|
490
710
|
"autoincrement": false,
|
|
491
711
|
"primary": false,
|
|
492
712
|
"nullable": false,
|
|
713
|
+
"unique": false,
|
|
714
|
+
"length": null,
|
|
715
|
+
"precision": null,
|
|
716
|
+
"scale": null,
|
|
717
|
+
"default": null,
|
|
718
|
+
"comment": null,
|
|
719
|
+
"enumItems": [],
|
|
493
720
|
"mappedType": "uuid"
|
|
494
721
|
},
|
|
495
722
|
"token": {
|
|
@@ -499,6 +726,13 @@
|
|
|
499
726
|
"autoincrement": false,
|
|
500
727
|
"primary": false,
|
|
501
728
|
"nullable": false,
|
|
729
|
+
"unique": false,
|
|
730
|
+
"length": null,
|
|
731
|
+
"precision": null,
|
|
732
|
+
"scale": null,
|
|
733
|
+
"default": null,
|
|
734
|
+
"comment": null,
|
|
735
|
+
"enumItems": [],
|
|
502
736
|
"mappedType": "text"
|
|
503
737
|
},
|
|
504
738
|
"expires_at": {
|
|
@@ -508,7 +742,13 @@
|
|
|
508
742
|
"autoincrement": false,
|
|
509
743
|
"primary": false,
|
|
510
744
|
"nullable": false,
|
|
745
|
+
"unique": false,
|
|
511
746
|
"length": 6,
|
|
747
|
+
"precision": null,
|
|
748
|
+
"scale": null,
|
|
749
|
+
"default": null,
|
|
750
|
+
"comment": null,
|
|
751
|
+
"enumItems": [],
|
|
512
752
|
"mappedType": "datetime"
|
|
513
753
|
},
|
|
514
754
|
"created_at": {
|
|
@@ -518,7 +758,13 @@
|
|
|
518
758
|
"autoincrement": false,
|
|
519
759
|
"primary": false,
|
|
520
760
|
"nullable": false,
|
|
761
|
+
"unique": false,
|
|
521
762
|
"length": 6,
|
|
763
|
+
"precision": null,
|
|
764
|
+
"scale": null,
|
|
765
|
+
"default": null,
|
|
766
|
+
"comment": null,
|
|
767
|
+
"enumItems": [],
|
|
522
768
|
"mappedType": "datetime"
|
|
523
769
|
},
|
|
524
770
|
"last_used_at": {
|
|
@@ -528,7 +774,13 @@
|
|
|
528
774
|
"autoincrement": false,
|
|
529
775
|
"primary": false,
|
|
530
776
|
"nullable": true,
|
|
777
|
+
"unique": false,
|
|
531
778
|
"length": 6,
|
|
779
|
+
"precision": null,
|
|
780
|
+
"scale": null,
|
|
781
|
+
"default": null,
|
|
782
|
+
"comment": null,
|
|
783
|
+
"enumItems": [],
|
|
532
784
|
"mappedType": "datetime"
|
|
533
785
|
},
|
|
534
786
|
"deleted_at": {
|
|
@@ -538,7 +790,13 @@
|
|
|
538
790
|
"autoincrement": false,
|
|
539
791
|
"primary": false,
|
|
540
792
|
"nullable": true,
|
|
793
|
+
"unique": false,
|
|
541
794
|
"length": 6,
|
|
795
|
+
"precision": null,
|
|
796
|
+
"scale": null,
|
|
797
|
+
"default": null,
|
|
798
|
+
"comment": null,
|
|
799
|
+
"enumItems": [],
|
|
542
800
|
"mappedType": "datetime"
|
|
543
801
|
}
|
|
544
802
|
},
|
|
@@ -590,9 +848,15 @@
|
|
|
590
848
|
"type": "uuid",
|
|
591
849
|
"unsigned": false,
|
|
592
850
|
"autoincrement": false,
|
|
593
|
-
"primary":
|
|
851
|
+
"primary": true,
|
|
594
852
|
"nullable": false,
|
|
853
|
+
"unique": false,
|
|
854
|
+
"length": null,
|
|
855
|
+
"precision": null,
|
|
856
|
+
"scale": null,
|
|
595
857
|
"default": "gen_random_uuid()",
|
|
858
|
+
"comment": null,
|
|
859
|
+
"enumItems": [],
|
|
596
860
|
"mappedType": "uuid"
|
|
597
861
|
},
|
|
598
862
|
"user_id": {
|
|
@@ -602,6 +866,13 @@
|
|
|
602
866
|
"autoincrement": false,
|
|
603
867
|
"primary": false,
|
|
604
868
|
"nullable": false,
|
|
869
|
+
"unique": false,
|
|
870
|
+
"length": null,
|
|
871
|
+
"precision": null,
|
|
872
|
+
"scale": null,
|
|
873
|
+
"default": null,
|
|
874
|
+
"comment": null,
|
|
875
|
+
"enumItems": [],
|
|
605
876
|
"mappedType": "uuid"
|
|
606
877
|
},
|
|
607
878
|
"token": {
|
|
@@ -611,6 +882,13 @@
|
|
|
611
882
|
"autoincrement": false,
|
|
612
883
|
"primary": false,
|
|
613
884
|
"nullable": false,
|
|
885
|
+
"unique": false,
|
|
886
|
+
"length": null,
|
|
887
|
+
"precision": null,
|
|
888
|
+
"scale": null,
|
|
889
|
+
"default": null,
|
|
890
|
+
"comment": null,
|
|
891
|
+
"enumItems": [],
|
|
614
892
|
"mappedType": "text"
|
|
615
893
|
},
|
|
616
894
|
"expires_at": {
|
|
@@ -620,7 +898,13 @@
|
|
|
620
898
|
"autoincrement": false,
|
|
621
899
|
"primary": false,
|
|
622
900
|
"nullable": false,
|
|
901
|
+
"unique": false,
|
|
623
902
|
"length": 6,
|
|
903
|
+
"precision": null,
|
|
904
|
+
"scale": null,
|
|
905
|
+
"default": null,
|
|
906
|
+
"comment": null,
|
|
907
|
+
"enumItems": [],
|
|
624
908
|
"mappedType": "datetime"
|
|
625
909
|
},
|
|
626
910
|
"used_at": {
|
|
@@ -630,7 +914,13 @@
|
|
|
630
914
|
"autoincrement": false,
|
|
631
915
|
"primary": false,
|
|
632
916
|
"nullable": true,
|
|
917
|
+
"unique": false,
|
|
633
918
|
"length": 6,
|
|
919
|
+
"precision": null,
|
|
920
|
+
"scale": null,
|
|
921
|
+
"default": null,
|
|
922
|
+
"comment": null,
|
|
923
|
+
"enumItems": [],
|
|
634
924
|
"mappedType": "datetime"
|
|
635
925
|
},
|
|
636
926
|
"created_at": {
|
|
@@ -640,7 +930,13 @@
|
|
|
640
930
|
"autoincrement": false,
|
|
641
931
|
"primary": false,
|
|
642
932
|
"nullable": false,
|
|
933
|
+
"unique": false,
|
|
643
934
|
"length": 6,
|
|
935
|
+
"precision": null,
|
|
936
|
+
"scale": null,
|
|
937
|
+
"default": null,
|
|
938
|
+
"comment": null,
|
|
939
|
+
"enumItems": [],
|
|
644
940
|
"mappedType": "datetime"
|
|
645
941
|
},
|
|
646
942
|
"deleted_at": {
|
|
@@ -650,7 +946,13 @@
|
|
|
650
946
|
"autoincrement": false,
|
|
651
947
|
"primary": false,
|
|
652
948
|
"nullable": true,
|
|
949
|
+
"unique": false,
|
|
653
950
|
"length": 6,
|
|
951
|
+
"precision": null,
|
|
952
|
+
"scale": null,
|
|
953
|
+
"default": null,
|
|
954
|
+
"comment": null,
|
|
955
|
+
"enumItems": [],
|
|
654
956
|
"mappedType": "datetime"
|
|
655
957
|
}
|
|
656
958
|
},
|
|
@@ -702,9 +1004,15 @@
|
|
|
702
1004
|
"type": "uuid",
|
|
703
1005
|
"unsigned": false,
|
|
704
1006
|
"autoincrement": false,
|
|
705
|
-
"primary":
|
|
1007
|
+
"primary": true,
|
|
706
1008
|
"nullable": false,
|
|
1009
|
+
"unique": false,
|
|
1010
|
+
"length": null,
|
|
1011
|
+
"precision": null,
|
|
1012
|
+
"scale": null,
|
|
707
1013
|
"default": "gen_random_uuid()",
|
|
1014
|
+
"comment": null,
|
|
1015
|
+
"enumItems": [],
|
|
708
1016
|
"mappedType": "uuid"
|
|
709
1017
|
},
|
|
710
1018
|
"user_id": {
|
|
@@ -714,6 +1022,13 @@
|
|
|
714
1022
|
"autoincrement": false,
|
|
715
1023
|
"primary": false,
|
|
716
1024
|
"nullable": false,
|
|
1025
|
+
"unique": false,
|
|
1026
|
+
"length": null,
|
|
1027
|
+
"precision": null,
|
|
1028
|
+
"scale": null,
|
|
1029
|
+
"default": null,
|
|
1030
|
+
"comment": null,
|
|
1031
|
+
"enumItems": [],
|
|
717
1032
|
"mappedType": "uuid"
|
|
718
1033
|
},
|
|
719
1034
|
"tenant_id": {
|
|
@@ -723,6 +1038,13 @@
|
|
|
723
1038
|
"autoincrement": false,
|
|
724
1039
|
"primary": false,
|
|
725
1040
|
"nullable": false,
|
|
1041
|
+
"unique": false,
|
|
1042
|
+
"length": null,
|
|
1043
|
+
"precision": null,
|
|
1044
|
+
"scale": null,
|
|
1045
|
+
"default": null,
|
|
1046
|
+
"comment": null,
|
|
1047
|
+
"enumItems": [],
|
|
726
1048
|
"mappedType": "uuid"
|
|
727
1049
|
},
|
|
728
1050
|
"features_json": {
|
|
@@ -732,6 +1054,13 @@
|
|
|
732
1054
|
"autoincrement": false,
|
|
733
1055
|
"primary": false,
|
|
734
1056
|
"nullable": true,
|
|
1057
|
+
"unique": false,
|
|
1058
|
+
"length": null,
|
|
1059
|
+
"precision": null,
|
|
1060
|
+
"scale": null,
|
|
1061
|
+
"default": null,
|
|
1062
|
+
"comment": null,
|
|
1063
|
+
"enumItems": [],
|
|
735
1064
|
"mappedType": "json"
|
|
736
1065
|
},
|
|
737
1066
|
"is_super_admin": {
|
|
@@ -741,7 +1070,13 @@
|
|
|
741
1070
|
"autoincrement": false,
|
|
742
1071
|
"primary": false,
|
|
743
1072
|
"nullable": false,
|
|
1073
|
+
"unique": false,
|
|
1074
|
+
"length": null,
|
|
1075
|
+
"precision": null,
|
|
1076
|
+
"scale": null,
|
|
744
1077
|
"default": "false",
|
|
1078
|
+
"comment": null,
|
|
1079
|
+
"enumItems": [],
|
|
745
1080
|
"mappedType": "boolean"
|
|
746
1081
|
},
|
|
747
1082
|
"organizations_json": {
|
|
@@ -751,6 +1086,13 @@
|
|
|
751
1086
|
"autoincrement": false,
|
|
752
1087
|
"primary": false,
|
|
753
1088
|
"nullable": true,
|
|
1089
|
+
"unique": false,
|
|
1090
|
+
"length": null,
|
|
1091
|
+
"precision": null,
|
|
1092
|
+
"scale": null,
|
|
1093
|
+
"default": null,
|
|
1094
|
+
"comment": null,
|
|
1095
|
+
"enumItems": [],
|
|
754
1096
|
"mappedType": "json"
|
|
755
1097
|
},
|
|
756
1098
|
"created_at": {
|
|
@@ -760,7 +1102,13 @@
|
|
|
760
1102
|
"autoincrement": false,
|
|
761
1103
|
"primary": false,
|
|
762
1104
|
"nullable": false,
|
|
1105
|
+
"unique": false,
|
|
763
1106
|
"length": 6,
|
|
1107
|
+
"precision": null,
|
|
1108
|
+
"scale": null,
|
|
1109
|
+
"default": null,
|
|
1110
|
+
"comment": null,
|
|
1111
|
+
"enumItems": [],
|
|
764
1112
|
"mappedType": "datetime"
|
|
765
1113
|
},
|
|
766
1114
|
"updated_at": {
|
|
@@ -770,7 +1118,13 @@
|
|
|
770
1118
|
"autoincrement": false,
|
|
771
1119
|
"primary": false,
|
|
772
1120
|
"nullable": true,
|
|
1121
|
+
"unique": false,
|
|
773
1122
|
"length": 6,
|
|
1123
|
+
"precision": null,
|
|
1124
|
+
"scale": null,
|
|
1125
|
+
"default": null,
|
|
1126
|
+
"comment": null,
|
|
1127
|
+
"enumItems": [],
|
|
774
1128
|
"mappedType": "datetime"
|
|
775
1129
|
},
|
|
776
1130
|
"deleted_at": {
|
|
@@ -780,7 +1134,13 @@
|
|
|
780
1134
|
"autoincrement": false,
|
|
781
1135
|
"primary": false,
|
|
782
1136
|
"nullable": true,
|
|
1137
|
+
"unique": false,
|
|
783
1138
|
"length": 6,
|
|
1139
|
+
"precision": null,
|
|
1140
|
+
"scale": null,
|
|
1141
|
+
"default": null,
|
|
1142
|
+
"comment": null,
|
|
1143
|
+
"enumItems": [],
|
|
784
1144
|
"mappedType": "datetime"
|
|
785
1145
|
}
|
|
786
1146
|
},
|
|
@@ -822,9 +1182,272 @@
|
|
|
822
1182
|
"type": "uuid",
|
|
823
1183
|
"unsigned": false,
|
|
824
1184
|
"autoincrement": false,
|
|
1185
|
+
"primary": true,
|
|
1186
|
+
"nullable": false,
|
|
1187
|
+
"unique": false,
|
|
1188
|
+
"length": null,
|
|
1189
|
+
"precision": null,
|
|
1190
|
+
"scale": null,
|
|
1191
|
+
"default": "gen_random_uuid()",
|
|
1192
|
+
"comment": null,
|
|
1193
|
+
"enumItems": [],
|
|
1194
|
+
"mappedType": "uuid"
|
|
1195
|
+
},
|
|
1196
|
+
"user_id": {
|
|
1197
|
+
"name": "user_id",
|
|
1198
|
+
"type": "uuid",
|
|
1199
|
+
"unsigned": false,
|
|
1200
|
+
"autoincrement": false,
|
|
1201
|
+
"primary": false,
|
|
1202
|
+
"nullable": false,
|
|
1203
|
+
"unique": false,
|
|
1204
|
+
"length": null,
|
|
1205
|
+
"precision": null,
|
|
1206
|
+
"scale": null,
|
|
1207
|
+
"default": null,
|
|
1208
|
+
"comment": null,
|
|
1209
|
+
"enumItems": [],
|
|
1210
|
+
"mappedType": "uuid"
|
|
1211
|
+
},
|
|
1212
|
+
"tenant_id": {
|
|
1213
|
+
"name": "tenant_id",
|
|
1214
|
+
"type": "uuid",
|
|
1215
|
+
"unsigned": false,
|
|
1216
|
+
"autoincrement": false,
|
|
1217
|
+
"primary": false,
|
|
1218
|
+
"nullable": true,
|
|
1219
|
+
"unique": false,
|
|
1220
|
+
"length": null,
|
|
1221
|
+
"precision": null,
|
|
1222
|
+
"scale": null,
|
|
1223
|
+
"default": null,
|
|
1224
|
+
"comment": null,
|
|
1225
|
+
"enumItems": [],
|
|
1226
|
+
"mappedType": "uuid"
|
|
1227
|
+
},
|
|
1228
|
+
"organization_id": {
|
|
1229
|
+
"name": "organization_id",
|
|
1230
|
+
"type": "uuid",
|
|
1231
|
+
"unsigned": false,
|
|
1232
|
+
"autoincrement": false,
|
|
1233
|
+
"primary": false,
|
|
1234
|
+
"nullable": true,
|
|
1235
|
+
"unique": false,
|
|
1236
|
+
"length": null,
|
|
1237
|
+
"precision": null,
|
|
1238
|
+
"scale": null,
|
|
1239
|
+
"default": null,
|
|
1240
|
+
"comment": null,
|
|
1241
|
+
"enumItems": [],
|
|
1242
|
+
"mappedType": "uuid"
|
|
1243
|
+
},
|
|
1244
|
+
"consent_type": {
|
|
1245
|
+
"name": "consent_type",
|
|
1246
|
+
"type": "text",
|
|
1247
|
+
"unsigned": false,
|
|
1248
|
+
"autoincrement": false,
|
|
1249
|
+
"primary": false,
|
|
1250
|
+
"nullable": false,
|
|
1251
|
+
"unique": false,
|
|
1252
|
+
"length": null,
|
|
1253
|
+
"precision": null,
|
|
1254
|
+
"scale": null,
|
|
1255
|
+
"default": null,
|
|
1256
|
+
"comment": null,
|
|
1257
|
+
"enumItems": [],
|
|
1258
|
+
"mappedType": "text"
|
|
1259
|
+
},
|
|
1260
|
+
"is_granted": {
|
|
1261
|
+
"name": "is_granted",
|
|
1262
|
+
"type": "boolean",
|
|
1263
|
+
"unsigned": false,
|
|
1264
|
+
"autoincrement": false,
|
|
1265
|
+
"primary": false,
|
|
1266
|
+
"nullable": false,
|
|
1267
|
+
"unique": false,
|
|
1268
|
+
"length": null,
|
|
1269
|
+
"precision": null,
|
|
1270
|
+
"scale": null,
|
|
1271
|
+
"default": "false",
|
|
1272
|
+
"comment": null,
|
|
1273
|
+
"enumItems": [],
|
|
1274
|
+
"mappedType": "boolean"
|
|
1275
|
+
},
|
|
1276
|
+
"granted_at": {
|
|
1277
|
+
"name": "granted_at",
|
|
1278
|
+
"type": "timestamptz",
|
|
1279
|
+
"unsigned": false,
|
|
1280
|
+
"autoincrement": false,
|
|
1281
|
+
"primary": false,
|
|
1282
|
+
"nullable": true,
|
|
1283
|
+
"unique": false,
|
|
1284
|
+
"length": 6,
|
|
1285
|
+
"precision": null,
|
|
1286
|
+
"scale": null,
|
|
1287
|
+
"default": null,
|
|
1288
|
+
"comment": null,
|
|
1289
|
+
"enumItems": [],
|
|
1290
|
+
"mappedType": "datetime"
|
|
1291
|
+
},
|
|
1292
|
+
"withdrawn_at": {
|
|
1293
|
+
"name": "withdrawn_at",
|
|
1294
|
+
"type": "timestamptz",
|
|
1295
|
+
"unsigned": false,
|
|
1296
|
+
"autoincrement": false,
|
|
1297
|
+
"primary": false,
|
|
1298
|
+
"nullable": true,
|
|
1299
|
+
"unique": false,
|
|
1300
|
+
"length": 6,
|
|
1301
|
+
"precision": null,
|
|
1302
|
+
"scale": null,
|
|
1303
|
+
"default": null,
|
|
1304
|
+
"comment": null,
|
|
1305
|
+
"enumItems": [],
|
|
1306
|
+
"mappedType": "datetime"
|
|
1307
|
+
},
|
|
1308
|
+
"source": {
|
|
1309
|
+
"name": "source",
|
|
1310
|
+
"type": "text",
|
|
1311
|
+
"unsigned": false,
|
|
1312
|
+
"autoincrement": false,
|
|
1313
|
+
"primary": false,
|
|
1314
|
+
"nullable": true,
|
|
1315
|
+
"unique": false,
|
|
1316
|
+
"length": null,
|
|
1317
|
+
"precision": null,
|
|
1318
|
+
"scale": null,
|
|
1319
|
+
"default": null,
|
|
1320
|
+
"comment": null,
|
|
1321
|
+
"enumItems": [],
|
|
1322
|
+
"mappedType": "text"
|
|
1323
|
+
},
|
|
1324
|
+
"ip_address": {
|
|
1325
|
+
"name": "ip_address",
|
|
1326
|
+
"type": "text",
|
|
1327
|
+
"unsigned": false,
|
|
1328
|
+
"autoincrement": false,
|
|
1329
|
+
"primary": false,
|
|
1330
|
+
"nullable": true,
|
|
1331
|
+
"unique": false,
|
|
1332
|
+
"length": null,
|
|
1333
|
+
"precision": null,
|
|
1334
|
+
"scale": null,
|
|
1335
|
+
"default": null,
|
|
1336
|
+
"comment": null,
|
|
1337
|
+
"enumItems": [],
|
|
1338
|
+
"mappedType": "text"
|
|
1339
|
+
},
|
|
1340
|
+
"integrity_hash": {
|
|
1341
|
+
"name": "integrity_hash",
|
|
1342
|
+
"type": "text",
|
|
1343
|
+
"unsigned": false,
|
|
1344
|
+
"autoincrement": false,
|
|
1345
|
+
"primary": false,
|
|
1346
|
+
"nullable": true,
|
|
1347
|
+
"unique": false,
|
|
1348
|
+
"length": null,
|
|
1349
|
+
"precision": null,
|
|
1350
|
+
"scale": null,
|
|
1351
|
+
"default": null,
|
|
1352
|
+
"comment": null,
|
|
1353
|
+
"enumItems": [],
|
|
1354
|
+
"mappedType": "text"
|
|
1355
|
+
},
|
|
1356
|
+
"created_at": {
|
|
1357
|
+
"name": "created_at",
|
|
1358
|
+
"type": "timestamptz",
|
|
1359
|
+
"unsigned": false,
|
|
1360
|
+
"autoincrement": false,
|
|
1361
|
+
"primary": false,
|
|
1362
|
+
"nullable": false,
|
|
1363
|
+
"unique": false,
|
|
1364
|
+
"length": 6,
|
|
1365
|
+
"precision": null,
|
|
1366
|
+
"scale": null,
|
|
1367
|
+
"default": null,
|
|
1368
|
+
"comment": null,
|
|
1369
|
+
"enumItems": [],
|
|
1370
|
+
"mappedType": "datetime"
|
|
1371
|
+
},
|
|
1372
|
+
"updated_at": {
|
|
1373
|
+
"name": "updated_at",
|
|
1374
|
+
"type": "timestamptz",
|
|
1375
|
+
"unsigned": false,
|
|
1376
|
+
"autoincrement": false,
|
|
1377
|
+
"primary": false,
|
|
1378
|
+
"nullable": true,
|
|
1379
|
+
"unique": false,
|
|
1380
|
+
"length": 6,
|
|
1381
|
+
"precision": null,
|
|
1382
|
+
"scale": null,
|
|
1383
|
+
"default": null,
|
|
1384
|
+
"comment": null,
|
|
1385
|
+
"enumItems": [],
|
|
1386
|
+
"mappedType": "datetime"
|
|
1387
|
+
},
|
|
1388
|
+
"deleted_at": {
|
|
1389
|
+
"name": "deleted_at",
|
|
1390
|
+
"type": "timestamptz",
|
|
1391
|
+
"unsigned": false,
|
|
1392
|
+
"autoincrement": false,
|
|
825
1393
|
"primary": false,
|
|
1394
|
+
"nullable": true,
|
|
1395
|
+
"unique": false,
|
|
1396
|
+
"length": 6,
|
|
1397
|
+
"precision": null,
|
|
1398
|
+
"scale": null,
|
|
1399
|
+
"default": null,
|
|
1400
|
+
"comment": null,
|
|
1401
|
+
"enumItems": [],
|
|
1402
|
+
"mappedType": "datetime"
|
|
1403
|
+
}
|
|
1404
|
+
},
|
|
1405
|
+
"name": "user_consents",
|
|
1406
|
+
"schema": "public",
|
|
1407
|
+
"indexes": [
|
|
1408
|
+
{
|
|
1409
|
+
"keyName": "user_consents_user_id_tenant_id_consent_type_unique",
|
|
1410
|
+
"columnNames": [
|
|
1411
|
+
"user_id",
|
|
1412
|
+
"tenant_id",
|
|
1413
|
+
"consent_type"
|
|
1414
|
+
],
|
|
1415
|
+
"composite": true,
|
|
1416
|
+
"constraint": true,
|
|
1417
|
+
"primary": false,
|
|
1418
|
+
"unique": true
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"keyName": "user_consents_pkey",
|
|
1422
|
+
"columnNames": [
|
|
1423
|
+
"id"
|
|
1424
|
+
],
|
|
1425
|
+
"composite": false,
|
|
1426
|
+
"constraint": true,
|
|
1427
|
+
"primary": true,
|
|
1428
|
+
"unique": true
|
|
1429
|
+
}
|
|
1430
|
+
],
|
|
1431
|
+
"checks": [],
|
|
1432
|
+
"foreignKeys": {},
|
|
1433
|
+
"nativeEnums": {}
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"columns": {
|
|
1437
|
+
"id": {
|
|
1438
|
+
"name": "id",
|
|
1439
|
+
"type": "uuid",
|
|
1440
|
+
"unsigned": false,
|
|
1441
|
+
"autoincrement": false,
|
|
1442
|
+
"primary": true,
|
|
826
1443
|
"nullable": false,
|
|
1444
|
+
"unique": false,
|
|
1445
|
+
"length": null,
|
|
1446
|
+
"precision": null,
|
|
1447
|
+
"scale": null,
|
|
827
1448
|
"default": "gen_random_uuid()",
|
|
1449
|
+
"comment": null,
|
|
1450
|
+
"enumItems": [],
|
|
828
1451
|
"mappedType": "uuid"
|
|
829
1452
|
},
|
|
830
1453
|
"user_id": {
|
|
@@ -834,6 +1457,13 @@
|
|
|
834
1457
|
"autoincrement": false,
|
|
835
1458
|
"primary": false,
|
|
836
1459
|
"nullable": false,
|
|
1460
|
+
"unique": false,
|
|
1461
|
+
"length": null,
|
|
1462
|
+
"precision": null,
|
|
1463
|
+
"scale": null,
|
|
1464
|
+
"default": null,
|
|
1465
|
+
"comment": null,
|
|
1466
|
+
"enumItems": [],
|
|
837
1467
|
"mappedType": "uuid"
|
|
838
1468
|
},
|
|
839
1469
|
"role_id": {
|
|
@@ -843,6 +1473,13 @@
|
|
|
843
1473
|
"autoincrement": false,
|
|
844
1474
|
"primary": false,
|
|
845
1475
|
"nullable": false,
|
|
1476
|
+
"unique": false,
|
|
1477
|
+
"length": null,
|
|
1478
|
+
"precision": null,
|
|
1479
|
+
"scale": null,
|
|
1480
|
+
"default": null,
|
|
1481
|
+
"comment": null,
|
|
1482
|
+
"enumItems": [],
|
|
846
1483
|
"mappedType": "uuid"
|
|
847
1484
|
},
|
|
848
1485
|
"created_at": {
|
|
@@ -852,7 +1489,13 @@
|
|
|
852
1489
|
"autoincrement": false,
|
|
853
1490
|
"primary": false,
|
|
854
1491
|
"nullable": false,
|
|
1492
|
+
"unique": false,
|
|
855
1493
|
"length": 6,
|
|
1494
|
+
"precision": null,
|
|
1495
|
+
"scale": null,
|
|
1496
|
+
"default": null,
|
|
1497
|
+
"comment": null,
|
|
1498
|
+
"enumItems": [],
|
|
856
1499
|
"mappedType": "datetime"
|
|
857
1500
|
},
|
|
858
1501
|
"deleted_at": {
|
|
@@ -862,7 +1505,13 @@
|
|
|
862
1505
|
"autoincrement": false,
|
|
863
1506
|
"primary": false,
|
|
864
1507
|
"nullable": true,
|
|
1508
|
+
"unique": false,
|
|
865
1509
|
"length": 6,
|
|
1510
|
+
"precision": null,
|
|
1511
|
+
"scale": null,
|
|
1512
|
+
"default": null,
|
|
1513
|
+
"comment": null,
|
|
1514
|
+
"enumItems": [],
|
|
866
1515
|
"mappedType": "datetime"
|
|
867
1516
|
}
|
|
868
1517
|
},
|
|
@@ -916,9 +1565,15 @@
|
|
|
916
1565
|
"type": "uuid",
|
|
917
1566
|
"unsigned": false,
|
|
918
1567
|
"autoincrement": false,
|
|
919
|
-
"primary":
|
|
1568
|
+
"primary": true,
|
|
920
1569
|
"nullable": false,
|
|
1570
|
+
"unique": false,
|
|
1571
|
+
"length": null,
|
|
1572
|
+
"precision": null,
|
|
1573
|
+
"scale": null,
|
|
921
1574
|
"default": "gen_random_uuid()",
|
|
1575
|
+
"comment": null,
|
|
1576
|
+
"enumItems": [],
|
|
922
1577
|
"mappedType": "uuid"
|
|
923
1578
|
},
|
|
924
1579
|
"user_id": {
|
|
@@ -928,6 +1583,13 @@
|
|
|
928
1583
|
"autoincrement": false,
|
|
929
1584
|
"primary": false,
|
|
930
1585
|
"nullable": false,
|
|
1586
|
+
"unique": false,
|
|
1587
|
+
"length": null,
|
|
1588
|
+
"precision": null,
|
|
1589
|
+
"scale": null,
|
|
1590
|
+
"default": null,
|
|
1591
|
+
"comment": null,
|
|
1592
|
+
"enumItems": [],
|
|
931
1593
|
"mappedType": "uuid"
|
|
932
1594
|
},
|
|
933
1595
|
"tenant_id": {
|
|
@@ -937,6 +1599,13 @@
|
|
|
937
1599
|
"autoincrement": false,
|
|
938
1600
|
"primary": false,
|
|
939
1601
|
"nullable": true,
|
|
1602
|
+
"unique": false,
|
|
1603
|
+
"length": null,
|
|
1604
|
+
"precision": null,
|
|
1605
|
+
"scale": null,
|
|
1606
|
+
"default": null,
|
|
1607
|
+
"comment": null,
|
|
1608
|
+
"enumItems": [],
|
|
940
1609
|
"mappedType": "uuid"
|
|
941
1610
|
},
|
|
942
1611
|
"organization_id": {
|
|
@@ -946,6 +1615,13 @@
|
|
|
946
1615
|
"autoincrement": false,
|
|
947
1616
|
"primary": false,
|
|
948
1617
|
"nullable": true,
|
|
1618
|
+
"unique": false,
|
|
1619
|
+
"length": null,
|
|
1620
|
+
"precision": null,
|
|
1621
|
+
"scale": null,
|
|
1622
|
+
"default": null,
|
|
1623
|
+
"comment": null,
|
|
1624
|
+
"enumItems": [],
|
|
949
1625
|
"mappedType": "uuid"
|
|
950
1626
|
},
|
|
951
1627
|
"locale": {
|
|
@@ -955,6 +1631,13 @@
|
|
|
955
1631
|
"autoincrement": false,
|
|
956
1632
|
"primary": false,
|
|
957
1633
|
"nullable": false,
|
|
1634
|
+
"unique": false,
|
|
1635
|
+
"length": null,
|
|
1636
|
+
"precision": null,
|
|
1637
|
+
"scale": null,
|
|
1638
|
+
"default": null,
|
|
1639
|
+
"comment": null,
|
|
1640
|
+
"enumItems": [],
|
|
958
1641
|
"mappedType": "text"
|
|
959
1642
|
},
|
|
960
1643
|
"settings_json": {
|
|
@@ -964,6 +1647,13 @@
|
|
|
964
1647
|
"autoincrement": false,
|
|
965
1648
|
"primary": false,
|
|
966
1649
|
"nullable": true,
|
|
1650
|
+
"unique": false,
|
|
1651
|
+
"length": null,
|
|
1652
|
+
"precision": null,
|
|
1653
|
+
"scale": null,
|
|
1654
|
+
"default": null,
|
|
1655
|
+
"comment": null,
|
|
1656
|
+
"enumItems": [],
|
|
967
1657
|
"mappedType": "json"
|
|
968
1658
|
},
|
|
969
1659
|
"created_at": {
|
|
@@ -973,7 +1663,13 @@
|
|
|
973
1663
|
"autoincrement": false,
|
|
974
1664
|
"primary": false,
|
|
975
1665
|
"nullable": false,
|
|
1666
|
+
"unique": false,
|
|
976
1667
|
"length": 6,
|
|
1668
|
+
"precision": null,
|
|
1669
|
+
"scale": null,
|
|
1670
|
+
"default": null,
|
|
1671
|
+
"comment": null,
|
|
1672
|
+
"enumItems": [],
|
|
977
1673
|
"mappedType": "datetime"
|
|
978
1674
|
},
|
|
979
1675
|
"updated_at": {
|
|
@@ -983,7 +1679,13 @@
|
|
|
983
1679
|
"autoincrement": false,
|
|
984
1680
|
"primary": false,
|
|
985
1681
|
"nullable": true,
|
|
1682
|
+
"unique": false,
|
|
986
1683
|
"length": 6,
|
|
1684
|
+
"precision": null,
|
|
1685
|
+
"scale": null,
|
|
1686
|
+
"default": null,
|
|
1687
|
+
"comment": null,
|
|
1688
|
+
"enumItems": [],
|
|
987
1689
|
"mappedType": "datetime"
|
|
988
1690
|
},
|
|
989
1691
|
"deleted_at": {
|
|
@@ -993,7 +1695,13 @@
|
|
|
993
1695
|
"autoincrement": false,
|
|
994
1696
|
"primary": false,
|
|
995
1697
|
"nullable": true,
|
|
1698
|
+
"unique": false,
|
|
996
1699
|
"length": 6,
|
|
1700
|
+
"precision": null,
|
|
1701
|
+
"scale": null,
|
|
1702
|
+
"default": null,
|
|
1703
|
+
"comment": null,
|
|
1704
|
+
"enumItems": [],
|
|
997
1705
|
"mappedType": "datetime"
|
|
998
1706
|
}
|
|
999
1707
|
},
|