@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.
@@ -11,9 +11,15 @@
11
11
  "type": "uuid",
12
12
  "unsigned": false,
13
13
  "autoincrement": false,
14
- "primary": false,
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
  "organization_id": {
@@ -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": "uuid"
27
40
  },
28
41
  "tenant_id": {
@@ -32,6 +45,13 @@
32
45
  "autoincrement": false,
33
46
  "primary": false,
34
47
  "nullable": false,
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
  "title": {
@@ -41,6 +61,13 @@
41
61
  "autoincrement": false,
42
62
  "primary": false,
43
63
  "nullable": false,
64
+ "unique": false,
65
+ "length": null,
66
+ "precision": null,
67
+ "scale": null,
68
+ "default": null,
69
+ "comment": null,
70
+ "enumItems": [],
44
71
  "mappedType": "text"
45
72
  },
46
73
  "description": {
@@ -50,6 +77,13 @@
50
77
  "autoincrement": false,
51
78
  "primary": false,
52
79
  "nullable": true,
80
+ "unique": false,
81
+ "length": null,
82
+ "precision": null,
83
+ "scale": null,
84
+ "default": null,
85
+ "comment": null,
86
+ "enumItems": [],
53
87
  "mappedType": "text"
54
88
  },
55
89
  "status": {
@@ -59,7 +93,13 @@
59
93
  "autoincrement": false,
60
94
  "primary": false,
61
95
  "nullable": false,
96
+ "unique": false,
97
+ "length": null,
98
+ "precision": null,
99
+ "scale": null,
62
100
  "default": "'open'",
101
+ "comment": null,
102
+ "enumItems": [],
63
103
  "mappedType": "text"
64
104
  },
65
105
  "pipeline_stage": {
@@ -69,6 +109,13 @@
69
109
  "autoincrement": false,
70
110
  "primary": false,
71
111
  "nullable": true,
112
+ "unique": false,
113
+ "length": null,
114
+ "precision": null,
115
+ "scale": null,
116
+ "default": null,
117
+ "comment": null,
118
+ "enumItems": [],
72
119
  "mappedType": "text"
73
120
  },
74
121
  "pipeline_id": {
@@ -78,6 +125,13 @@
78
125
  "autoincrement": false,
79
126
  "primary": false,
80
127
  "nullable": true,
128
+ "unique": false,
129
+ "length": null,
130
+ "precision": null,
131
+ "scale": null,
132
+ "default": null,
133
+ "comment": null,
134
+ "enumItems": [],
81
135
  "mappedType": "uuid"
82
136
  },
83
137
  "pipeline_stage_id": {
@@ -87,6 +141,13 @@
87
141
  "autoincrement": false,
88
142
  "primary": false,
89
143
  "nullable": true,
144
+ "unique": false,
145
+ "length": null,
146
+ "precision": null,
147
+ "scale": null,
148
+ "default": null,
149
+ "comment": null,
150
+ "enumItems": [],
90
151
  "mappedType": "uuid"
91
152
  },
92
153
  "value_amount": {
@@ -96,8 +157,13 @@
96
157
  "autoincrement": false,
97
158
  "primary": false,
98
159
  "nullable": true,
160
+ "unique": false,
161
+ "length": null,
99
162
  "precision": 14,
100
163
  "scale": 2,
164
+ "default": null,
165
+ "comment": null,
166
+ "enumItems": [],
101
167
  "mappedType": "decimal"
102
168
  },
103
169
  "value_currency": {
@@ -107,6 +173,13 @@
107
173
  "autoincrement": false,
108
174
  "primary": false,
109
175
  "nullable": true,
176
+ "unique": false,
177
+ "length": null,
178
+ "precision": null,
179
+ "scale": null,
180
+ "default": null,
181
+ "comment": null,
182
+ "enumItems": [],
110
183
  "mappedType": "text"
111
184
  },
112
185
  "probability": {
@@ -116,6 +189,13 @@
116
189
  "autoincrement": false,
117
190
  "primary": false,
118
191
  "nullable": true,
192
+ "unique": false,
193
+ "length": null,
194
+ "precision": null,
195
+ "scale": null,
196
+ "default": null,
197
+ "comment": null,
198
+ "enumItems": [],
119
199
  "mappedType": "integer"
120
200
  },
121
201
  "expected_close_at": {
@@ -125,7 +205,13 @@
125
205
  "autoincrement": false,
126
206
  "primary": false,
127
207
  "nullable": true,
208
+ "unique": false,
128
209
  "length": 6,
210
+ "precision": null,
211
+ "scale": null,
212
+ "default": null,
213
+ "comment": null,
214
+ "enumItems": [],
129
215
  "mappedType": "datetime"
130
216
  },
131
217
  "owner_user_id": {
@@ -135,6 +221,13 @@
135
221
  "autoincrement": false,
136
222
  "primary": false,
137
223
  "nullable": true,
224
+ "unique": false,
225
+ "length": null,
226
+ "precision": null,
227
+ "scale": null,
228
+ "default": null,
229
+ "comment": null,
230
+ "enumItems": [],
138
231
  "mappedType": "uuid"
139
232
  },
140
233
  "source": {
@@ -144,6 +237,13 @@
144
237
  "autoincrement": false,
145
238
  "primary": false,
146
239
  "nullable": true,
240
+ "unique": false,
241
+ "length": null,
242
+ "precision": null,
243
+ "scale": null,
244
+ "default": null,
245
+ "comment": null,
246
+ "enumItems": [],
147
247
  "mappedType": "text"
148
248
  },
149
249
  "created_at": {
@@ -153,7 +253,13 @@
153
253
  "autoincrement": false,
154
254
  "primary": false,
155
255
  "nullable": false,
256
+ "unique": false,
156
257
  "length": 6,
258
+ "precision": null,
259
+ "scale": null,
260
+ "default": null,
261
+ "comment": null,
262
+ "enumItems": [],
157
263
  "mappedType": "datetime"
158
264
  },
159
265
  "updated_at": {
@@ -163,7 +269,13 @@
163
269
  "autoincrement": false,
164
270
  "primary": false,
165
271
  "nullable": false,
272
+ "unique": false,
166
273
  "length": 6,
274
+ "precision": null,
275
+ "scale": null,
276
+ "default": null,
277
+ "comment": null,
278
+ "enumItems": [],
167
279
  "mappedType": "datetime"
168
280
  },
169
281
  "deleted_at": {
@@ -173,26 +285,14 @@
173
285
  "autoincrement": false,
174
286
  "primary": false,
175
287
  "nullable": true,
288
+ "unique": false,
176
289
  "length": 6,
290
+ "precision": null,
291
+ "scale": null,
292
+ "default": null,
293
+ "comment": null,
294
+ "enumItems": [],
177
295
  "mappedType": "datetime"
178
- },
179
- "pipeline_id": {
180
- "name": "pipeline_id",
181
- "type": "uuid",
182
- "unsigned": false,
183
- "autoincrement": false,
184
- "primary": false,
185
- "nullable": true,
186
- "mappedType": "uuid"
187
- },
188
- "pipeline_stage_id": {
189
- "name": "pipeline_stage_id",
190
- "type": "uuid",
191
- "unsigned": false,
192
- "autoincrement": false,
193
- "primary": false,
194
- "nullable": true,
195
- "mappedType": "uuid"
196
296
  }
197
297
  },
198
298
  "name": "customer_deals",
@@ -231,9 +331,15 @@
231
331
  "type": "uuid",
232
332
  "unsigned": false,
233
333
  "autoincrement": false,
234
- "primary": false,
334
+ "primary": true,
235
335
  "nullable": false,
336
+ "unique": false,
337
+ "length": null,
338
+ "precision": null,
339
+ "scale": null,
236
340
  "default": "gen_random_uuid()",
341
+ "comment": null,
342
+ "enumItems": [],
237
343
  "mappedType": "uuid"
238
344
  },
239
345
  "organization_id": {
@@ -243,6 +349,13 @@
243
349
  "autoincrement": false,
244
350
  "primary": false,
245
351
  "nullable": false,
352
+ "unique": false,
353
+ "length": null,
354
+ "precision": null,
355
+ "scale": null,
356
+ "default": null,
357
+ "comment": null,
358
+ "enumItems": [],
246
359
  "mappedType": "uuid"
247
360
  },
248
361
  "tenant_id": {
@@ -252,6 +365,13 @@
252
365
  "autoincrement": false,
253
366
  "primary": false,
254
367
  "nullable": false,
368
+ "unique": false,
369
+ "length": null,
370
+ "precision": null,
371
+ "scale": null,
372
+ "default": null,
373
+ "comment": null,
374
+ "enumItems": [],
255
375
  "mappedType": "uuid"
256
376
  },
257
377
  "kind": {
@@ -261,6 +381,13 @@
261
381
  "autoincrement": false,
262
382
  "primary": false,
263
383
  "nullable": false,
384
+ "unique": false,
385
+ "length": null,
386
+ "precision": null,
387
+ "scale": null,
388
+ "default": null,
389
+ "comment": null,
390
+ "enumItems": [],
264
391
  "mappedType": "text"
265
392
  },
266
393
  "value": {
@@ -270,6 +397,13 @@
270
397
  "autoincrement": false,
271
398
  "primary": false,
272
399
  "nullable": false,
400
+ "unique": false,
401
+ "length": null,
402
+ "precision": null,
403
+ "scale": null,
404
+ "default": null,
405
+ "comment": null,
406
+ "enumItems": [],
273
407
  "mappedType": "text"
274
408
  },
275
409
  "normalized_value": {
@@ -279,6 +413,13 @@
279
413
  "autoincrement": false,
280
414
  "primary": false,
281
415
  "nullable": false,
416
+ "unique": false,
417
+ "length": null,
418
+ "precision": null,
419
+ "scale": null,
420
+ "default": null,
421
+ "comment": null,
422
+ "enumItems": [],
282
423
  "mappedType": "text"
283
424
  },
284
425
  "label": {
@@ -288,6 +429,13 @@
288
429
  "autoincrement": false,
289
430
  "primary": false,
290
431
  "nullable": false,
432
+ "unique": false,
433
+ "length": null,
434
+ "precision": null,
435
+ "scale": null,
436
+ "default": null,
437
+ "comment": null,
438
+ "enumItems": [],
291
439
  "mappedType": "text"
292
440
  },
293
441
  "color": {
@@ -297,6 +445,13 @@
297
445
  "autoincrement": false,
298
446
  "primary": false,
299
447
  "nullable": true,
448
+ "unique": false,
449
+ "length": null,
450
+ "precision": null,
451
+ "scale": null,
452
+ "default": null,
453
+ "comment": null,
454
+ "enumItems": [],
300
455
  "mappedType": "text"
301
456
  },
302
457
  "icon": {
@@ -306,6 +461,13 @@
306
461
  "autoincrement": false,
307
462
  "primary": false,
308
463
  "nullable": true,
464
+ "unique": false,
465
+ "length": null,
466
+ "precision": null,
467
+ "scale": null,
468
+ "default": null,
469
+ "comment": null,
470
+ "enumItems": [],
309
471
  "mappedType": "text"
310
472
  },
311
473
  "created_at": {
@@ -315,7 +477,13 @@
315
477
  "autoincrement": false,
316
478
  "primary": false,
317
479
  "nullable": false,
480
+ "unique": false,
318
481
  "length": 6,
482
+ "precision": null,
483
+ "scale": null,
484
+ "default": null,
485
+ "comment": null,
486
+ "enumItems": [],
319
487
  "mappedType": "datetime"
320
488
  },
321
489
  "updated_at": {
@@ -325,7 +493,13 @@
325
493
  "autoincrement": false,
326
494
  "primary": false,
327
495
  "nullable": false,
496
+ "unique": false,
328
497
  "length": 6,
498
+ "precision": null,
499
+ "scale": null,
500
+ "default": null,
501
+ "comment": null,
502
+ "enumItems": [],
329
503
  "mappedType": "datetime"
330
504
  }
331
505
  },
@@ -379,9 +553,15 @@
379
553
  "type": "uuid",
380
554
  "unsigned": false,
381
555
  "autoincrement": false,
382
- "primary": false,
556
+ "primary": true,
383
557
  "nullable": false,
558
+ "unique": false,
559
+ "length": null,
560
+ "precision": null,
561
+ "scale": null,
384
562
  "default": "gen_random_uuid()",
563
+ "comment": null,
564
+ "enumItems": [],
385
565
  "mappedType": "uuid"
386
566
  },
387
567
  "organization_id": {
@@ -391,6 +571,13 @@
391
571
  "autoincrement": false,
392
572
  "primary": false,
393
573
  "nullable": false,
574
+ "unique": false,
575
+ "length": null,
576
+ "precision": null,
577
+ "scale": null,
578
+ "default": null,
579
+ "comment": null,
580
+ "enumItems": [],
394
581
  "mappedType": "uuid"
395
582
  },
396
583
  "tenant_id": {
@@ -400,6 +587,13 @@
400
587
  "autoincrement": false,
401
588
  "primary": false,
402
589
  "nullable": false,
590
+ "unique": false,
591
+ "length": null,
592
+ "precision": null,
593
+ "scale": null,
594
+ "default": null,
595
+ "comment": null,
596
+ "enumItems": [],
403
597
  "mappedType": "uuid"
404
598
  },
405
599
  "kind": {
@@ -409,6 +603,13 @@
409
603
  "autoincrement": false,
410
604
  "primary": false,
411
605
  "nullable": false,
606
+ "unique": false,
607
+ "length": null,
608
+ "precision": null,
609
+ "scale": null,
610
+ "default": null,
611
+ "comment": null,
612
+ "enumItems": [],
412
613
  "mappedType": "text"
413
614
  },
414
615
  "display_name": {
@@ -418,6 +619,13 @@
418
619
  "autoincrement": false,
419
620
  "primary": false,
420
621
  "nullable": false,
622
+ "unique": false,
623
+ "length": null,
624
+ "precision": null,
625
+ "scale": null,
626
+ "default": null,
627
+ "comment": null,
628
+ "enumItems": [],
421
629
  "mappedType": "text"
422
630
  },
423
631
  "description": {
@@ -427,6 +635,13 @@
427
635
  "autoincrement": false,
428
636
  "primary": false,
429
637
  "nullable": true,
638
+ "unique": false,
639
+ "length": null,
640
+ "precision": null,
641
+ "scale": null,
642
+ "default": null,
643
+ "comment": null,
644
+ "enumItems": [],
430
645
  "mappedType": "text"
431
646
  },
432
647
  "owner_user_id": {
@@ -436,6 +651,13 @@
436
651
  "autoincrement": false,
437
652
  "primary": false,
438
653
  "nullable": true,
654
+ "unique": false,
655
+ "length": null,
656
+ "precision": null,
657
+ "scale": null,
658
+ "default": null,
659
+ "comment": null,
660
+ "enumItems": [],
439
661
  "mappedType": "uuid"
440
662
  },
441
663
  "primary_email": {
@@ -445,6 +667,13 @@
445
667
  "autoincrement": false,
446
668
  "primary": false,
447
669
  "nullable": true,
670
+ "unique": false,
671
+ "length": null,
672
+ "precision": null,
673
+ "scale": null,
674
+ "default": null,
675
+ "comment": null,
676
+ "enumItems": [],
448
677
  "mappedType": "text"
449
678
  },
450
679
  "primary_phone": {
@@ -454,6 +683,13 @@
454
683
  "autoincrement": false,
455
684
  "primary": false,
456
685
  "nullable": true,
686
+ "unique": false,
687
+ "length": null,
688
+ "precision": null,
689
+ "scale": null,
690
+ "default": null,
691
+ "comment": null,
692
+ "enumItems": [],
457
693
  "mappedType": "text"
458
694
  },
459
695
  "status": {
@@ -463,6 +699,13 @@
463
699
  "autoincrement": false,
464
700
  "primary": false,
465
701
  "nullable": true,
702
+ "unique": false,
703
+ "length": null,
704
+ "precision": null,
705
+ "scale": null,
706
+ "default": null,
707
+ "comment": null,
708
+ "enumItems": [],
466
709
  "mappedType": "text"
467
710
  },
468
711
  "lifecycle_stage": {
@@ -472,6 +715,13 @@
472
715
  "autoincrement": false,
473
716
  "primary": false,
474
717
  "nullable": true,
718
+ "unique": false,
719
+ "length": null,
720
+ "precision": null,
721
+ "scale": null,
722
+ "default": null,
723
+ "comment": null,
724
+ "enumItems": [],
475
725
  "mappedType": "text"
476
726
  },
477
727
  "source": {
@@ -481,6 +731,13 @@
481
731
  "autoincrement": false,
482
732
  "primary": false,
483
733
  "nullable": true,
734
+ "unique": false,
735
+ "length": null,
736
+ "precision": null,
737
+ "scale": null,
738
+ "default": null,
739
+ "comment": null,
740
+ "enumItems": [],
484
741
  "mappedType": "text"
485
742
  },
486
743
  "next_interaction_at": {
@@ -490,7 +747,13 @@
490
747
  "autoincrement": false,
491
748
  "primary": false,
492
749
  "nullable": true,
750
+ "unique": false,
493
751
  "length": 6,
752
+ "precision": null,
753
+ "scale": null,
754
+ "default": null,
755
+ "comment": null,
756
+ "enumItems": [],
494
757
  "mappedType": "datetime"
495
758
  },
496
759
  "next_interaction_name": {
@@ -500,6 +763,13 @@
500
763
  "autoincrement": false,
501
764
  "primary": false,
502
765
  "nullable": true,
766
+ "unique": false,
767
+ "length": null,
768
+ "precision": null,
769
+ "scale": null,
770
+ "default": null,
771
+ "comment": null,
772
+ "enumItems": [],
503
773
  "mappedType": "text"
504
774
  },
505
775
  "next_interaction_ref_id": {
@@ -509,6 +779,13 @@
509
779
  "autoincrement": false,
510
780
  "primary": false,
511
781
  "nullable": true,
782
+ "unique": false,
783
+ "length": null,
784
+ "precision": null,
785
+ "scale": null,
786
+ "default": null,
787
+ "comment": null,
788
+ "enumItems": [],
512
789
  "mappedType": "text"
513
790
  },
514
791
  "next_interaction_icon": {
@@ -518,6 +795,13 @@
518
795
  "autoincrement": false,
519
796
  "primary": false,
520
797
  "nullable": true,
798
+ "unique": false,
799
+ "length": null,
800
+ "precision": null,
801
+ "scale": null,
802
+ "default": null,
803
+ "comment": null,
804
+ "enumItems": [],
521
805
  "mappedType": "text"
522
806
  },
523
807
  "next_interaction_color": {
@@ -527,6 +811,13 @@
527
811
  "autoincrement": false,
528
812
  "primary": false,
529
813
  "nullable": true,
814
+ "unique": false,
815
+ "length": null,
816
+ "precision": null,
817
+ "scale": null,
818
+ "default": null,
819
+ "comment": null,
820
+ "enumItems": [],
530
821
  "mappedType": "text"
531
822
  },
532
823
  "is_active": {
@@ -536,7 +827,13 @@
536
827
  "autoincrement": false,
537
828
  "primary": false,
538
829
  "nullable": false,
830
+ "unique": false,
831
+ "length": null,
832
+ "precision": null,
833
+ "scale": null,
539
834
  "default": "true",
835
+ "comment": null,
836
+ "enumItems": [],
540
837
  "mappedType": "boolean"
541
838
  },
542
839
  "created_at": {
@@ -546,7 +843,13 @@
546
843
  "autoincrement": false,
547
844
  "primary": false,
548
845
  "nullable": false,
846
+ "unique": false,
549
847
  "length": 6,
848
+ "precision": null,
849
+ "scale": null,
850
+ "default": null,
851
+ "comment": null,
852
+ "enumItems": [],
550
853
  "mappedType": "datetime"
551
854
  },
552
855
  "updated_at": {
@@ -556,7 +859,13 @@
556
859
  "autoincrement": false,
557
860
  "primary": false,
558
861
  "nullable": false,
862
+ "unique": false,
559
863
  "length": 6,
864
+ "precision": null,
865
+ "scale": null,
866
+ "default": null,
867
+ "comment": null,
868
+ "enumItems": [],
560
869
  "mappedType": "datetime"
561
870
  },
562
871
  "deleted_at": {
@@ -566,7 +875,13 @@
566
875
  "autoincrement": false,
567
876
  "primary": false,
568
877
  "nullable": true,
878
+ "unique": false,
569
879
  "length": 6,
880
+ "precision": null,
881
+ "scale": null,
882
+ "default": null,
883
+ "comment": null,
884
+ "enumItems": [],
570
885
  "mappedType": "datetime"
571
886
  }
572
887
  },
@@ -643,9 +958,15 @@
643
958
  "type": "uuid",
644
959
  "unsigned": false,
645
960
  "autoincrement": false,
646
- "primary": false,
961
+ "primary": true,
647
962
  "nullable": false,
963
+ "unique": false,
964
+ "length": null,
965
+ "precision": null,
966
+ "scale": null,
648
967
  "default": "gen_random_uuid()",
968
+ "comment": null,
969
+ "enumItems": [],
649
970
  "mappedType": "uuid"
650
971
  },
651
972
  "role": {
@@ -655,6 +976,13 @@
655
976
  "autoincrement": false,
656
977
  "primary": false,
657
978
  "nullable": true,
979
+ "unique": false,
980
+ "length": null,
981
+ "precision": null,
982
+ "scale": null,
983
+ "default": null,
984
+ "comment": null,
985
+ "enumItems": [],
658
986
  "mappedType": "text"
659
987
  },
660
988
  "created_at": {
@@ -664,7 +992,13 @@
664
992
  "autoincrement": false,
665
993
  "primary": false,
666
994
  "nullable": false,
995
+ "unique": false,
667
996
  "length": 6,
997
+ "precision": null,
998
+ "scale": null,
999
+ "default": null,
1000
+ "comment": null,
1001
+ "enumItems": [],
668
1002
  "mappedType": "datetime"
669
1003
  },
670
1004
  "deal_id": {
@@ -674,6 +1008,13 @@
674
1008
  "autoincrement": false,
675
1009
  "primary": false,
676
1010
  "nullable": false,
1011
+ "unique": false,
1012
+ "length": null,
1013
+ "precision": null,
1014
+ "scale": null,
1015
+ "default": null,
1016
+ "comment": null,
1017
+ "enumItems": [],
677
1018
  "mappedType": "uuid"
678
1019
  },
679
1020
  "person_entity_id": {
@@ -683,6 +1024,13 @@
683
1024
  "autoincrement": false,
684
1025
  "primary": false,
685
1026
  "nullable": false,
1027
+ "unique": false,
1028
+ "length": null,
1029
+ "precision": null,
1030
+ "scale": null,
1031
+ "default": null,
1032
+ "comment": null,
1033
+ "enumItems": [],
686
1034
  "mappedType": "uuid"
687
1035
  }
688
1036
  },
@@ -767,9 +1115,15 @@
767
1115
  "type": "uuid",
768
1116
  "unsigned": false,
769
1117
  "autoincrement": false,
770
- "primary": false,
1118
+ "primary": true,
771
1119
  "nullable": false,
1120
+ "unique": false,
1121
+ "length": null,
1122
+ "precision": null,
1123
+ "scale": null,
772
1124
  "default": "gen_random_uuid()",
1125
+ "comment": null,
1126
+ "enumItems": [],
773
1127
  "mappedType": "uuid"
774
1128
  },
775
1129
  "created_at": {
@@ -779,7 +1133,13 @@
779
1133
  "autoincrement": false,
780
1134
  "primary": false,
781
1135
  "nullable": false,
1136
+ "unique": false,
782
1137
  "length": 6,
1138
+ "precision": null,
1139
+ "scale": null,
1140
+ "default": null,
1141
+ "comment": null,
1142
+ "enumItems": [],
783
1143
  "mappedType": "datetime"
784
1144
  },
785
1145
  "deal_id": {
@@ -789,6 +1149,13 @@
789
1149
  "autoincrement": false,
790
1150
  "primary": false,
791
1151
  "nullable": false,
1152
+ "unique": false,
1153
+ "length": null,
1154
+ "precision": null,
1155
+ "scale": null,
1156
+ "default": null,
1157
+ "comment": null,
1158
+ "enumItems": [],
792
1159
  "mappedType": "uuid"
793
1160
  },
794
1161
  "company_entity_id": {
@@ -798,6 +1165,13 @@
798
1165
  "autoincrement": false,
799
1166
  "primary": false,
800
1167
  "nullable": false,
1168
+ "unique": false,
1169
+ "length": null,
1170
+ "precision": null,
1171
+ "scale": null,
1172
+ "default": null,
1173
+ "comment": null,
1174
+ "enumItems": [],
801
1175
  "mappedType": "uuid"
802
1176
  }
803
1177
  },
@@ -882,9 +1256,15 @@
882
1256
  "type": "uuid",
883
1257
  "unsigned": false,
884
1258
  "autoincrement": false,
885
- "primary": false,
1259
+ "primary": true,
886
1260
  "nullable": false,
1261
+ "unique": false,
1262
+ "length": null,
1263
+ "precision": null,
1264
+ "scale": null,
887
1265
  "default": "gen_random_uuid()",
1266
+ "comment": null,
1267
+ "enumItems": [],
888
1268
  "mappedType": "uuid"
889
1269
  },
890
1270
  "organization_id": {
@@ -894,6 +1274,13 @@
894
1274
  "autoincrement": false,
895
1275
  "primary": false,
896
1276
  "nullable": false,
1277
+ "unique": false,
1278
+ "length": null,
1279
+ "precision": null,
1280
+ "scale": null,
1281
+ "default": null,
1282
+ "comment": null,
1283
+ "enumItems": [],
897
1284
  "mappedType": "uuid"
898
1285
  },
899
1286
  "tenant_id": {
@@ -903,6 +1290,13 @@
903
1290
  "autoincrement": false,
904
1291
  "primary": false,
905
1292
  "nullable": false,
1293
+ "unique": false,
1294
+ "length": null,
1295
+ "precision": null,
1296
+ "scale": null,
1297
+ "default": null,
1298
+ "comment": null,
1299
+ "enumItems": [],
906
1300
  "mappedType": "uuid"
907
1301
  },
908
1302
  "legal_name": {
@@ -912,6 +1306,13 @@
912
1306
  "autoincrement": false,
913
1307
  "primary": false,
914
1308
  "nullable": true,
1309
+ "unique": false,
1310
+ "length": null,
1311
+ "precision": null,
1312
+ "scale": null,
1313
+ "default": null,
1314
+ "comment": null,
1315
+ "enumItems": [],
915
1316
  "mappedType": "text"
916
1317
  },
917
1318
  "brand_name": {
@@ -921,6 +1322,13 @@
921
1322
  "autoincrement": false,
922
1323
  "primary": false,
923
1324
  "nullable": true,
1325
+ "unique": false,
1326
+ "length": null,
1327
+ "precision": null,
1328
+ "scale": null,
1329
+ "default": null,
1330
+ "comment": null,
1331
+ "enumItems": [],
924
1332
  "mappedType": "text"
925
1333
  },
926
1334
  "domain": {
@@ -930,6 +1338,13 @@
930
1338
  "autoincrement": false,
931
1339
  "primary": false,
932
1340
  "nullable": true,
1341
+ "unique": false,
1342
+ "length": null,
1343
+ "precision": null,
1344
+ "scale": null,
1345
+ "default": null,
1346
+ "comment": null,
1347
+ "enumItems": [],
933
1348
  "mappedType": "text"
934
1349
  },
935
1350
  "website_url": {
@@ -939,6 +1354,13 @@
939
1354
  "autoincrement": false,
940
1355
  "primary": false,
941
1356
  "nullable": true,
1357
+ "unique": false,
1358
+ "length": null,
1359
+ "precision": null,
1360
+ "scale": null,
1361
+ "default": null,
1362
+ "comment": null,
1363
+ "enumItems": [],
942
1364
  "mappedType": "text"
943
1365
  },
944
1366
  "industry": {
@@ -948,6 +1370,13 @@
948
1370
  "autoincrement": false,
949
1371
  "primary": false,
950
1372
  "nullable": true,
1373
+ "unique": false,
1374
+ "length": null,
1375
+ "precision": null,
1376
+ "scale": null,
1377
+ "default": null,
1378
+ "comment": null,
1379
+ "enumItems": [],
951
1380
  "mappedType": "text"
952
1381
  },
953
1382
  "size_bucket": {
@@ -957,6 +1386,13 @@
957
1386
  "autoincrement": false,
958
1387
  "primary": false,
959
1388
  "nullable": true,
1389
+ "unique": false,
1390
+ "length": null,
1391
+ "precision": null,
1392
+ "scale": null,
1393
+ "default": null,
1394
+ "comment": null,
1395
+ "enumItems": [],
960
1396
  "mappedType": "text"
961
1397
  },
962
1398
  "annual_revenue": {
@@ -966,8 +1402,13 @@
966
1402
  "autoincrement": false,
967
1403
  "primary": false,
968
1404
  "nullable": true,
1405
+ "unique": false,
1406
+ "length": null,
969
1407
  "precision": 16,
970
1408
  "scale": 2,
1409
+ "default": null,
1410
+ "comment": null,
1411
+ "enumItems": [],
971
1412
  "mappedType": "decimal"
972
1413
  },
973
1414
  "created_at": {
@@ -977,7 +1418,13 @@
977
1418
  "autoincrement": false,
978
1419
  "primary": false,
979
1420
  "nullable": false,
1421
+ "unique": false,
980
1422
  "length": 6,
1423
+ "precision": null,
1424
+ "scale": null,
1425
+ "default": null,
1426
+ "comment": null,
1427
+ "enumItems": [],
981
1428
  "mappedType": "datetime"
982
1429
  },
983
1430
  "updated_at": {
@@ -987,7 +1434,13 @@
987
1434
  "autoincrement": false,
988
1435
  "primary": false,
989
1436
  "nullable": false,
1437
+ "unique": false,
990
1438
  "length": 6,
1439
+ "precision": null,
1440
+ "scale": null,
1441
+ "default": null,
1442
+ "comment": null,
1443
+ "enumItems": [],
991
1444
  "mappedType": "datetime"
992
1445
  },
993
1446
  "entity_id": {
@@ -997,6 +1450,13 @@
997
1450
  "autoincrement": false,
998
1451
  "primary": false,
999
1452
  "nullable": false,
1453
+ "unique": false,
1454
+ "length": null,
1455
+ "precision": null,
1456
+ "scale": null,
1457
+ "default": null,
1458
+ "comment": null,
1459
+ "enumItems": [],
1000
1460
  "mappedType": "uuid"
1001
1461
  }
1002
1462
  },
@@ -1068,9 +1528,15 @@
1068
1528
  "type": "uuid",
1069
1529
  "unsigned": false,
1070
1530
  "autoincrement": false,
1071
- "primary": false,
1531
+ "primary": true,
1072
1532
  "nullable": false,
1533
+ "unique": false,
1534
+ "length": null,
1535
+ "precision": null,
1536
+ "scale": null,
1073
1537
  "default": "gen_random_uuid()",
1538
+ "comment": null,
1539
+ "enumItems": [],
1074
1540
  "mappedType": "uuid"
1075
1541
  },
1076
1542
  "organization_id": {
@@ -1080,6 +1546,13 @@
1080
1546
  "autoincrement": false,
1081
1547
  "primary": false,
1082
1548
  "nullable": false,
1549
+ "unique": false,
1550
+ "length": null,
1551
+ "precision": null,
1552
+ "scale": null,
1553
+ "default": null,
1554
+ "comment": null,
1555
+ "enumItems": [],
1083
1556
  "mappedType": "uuid"
1084
1557
  },
1085
1558
  "tenant_id": {
@@ -1089,6 +1562,13 @@
1089
1562
  "autoincrement": false,
1090
1563
  "primary": false,
1091
1564
  "nullable": false,
1565
+ "unique": false,
1566
+ "length": null,
1567
+ "precision": null,
1568
+ "scale": null,
1569
+ "default": null,
1570
+ "comment": null,
1571
+ "enumItems": [],
1092
1572
  "mappedType": "uuid"
1093
1573
  },
1094
1574
  "body": {
@@ -1098,6 +1578,13 @@
1098
1578
  "autoincrement": false,
1099
1579
  "primary": false,
1100
1580
  "nullable": false,
1581
+ "unique": false,
1582
+ "length": null,
1583
+ "precision": null,
1584
+ "scale": null,
1585
+ "default": null,
1586
+ "comment": null,
1587
+ "enumItems": [],
1101
1588
  "mappedType": "text"
1102
1589
  },
1103
1590
  "author_user_id": {
@@ -1107,6 +1594,13 @@
1107
1594
  "autoincrement": false,
1108
1595
  "primary": false,
1109
1596
  "nullable": true,
1597
+ "unique": false,
1598
+ "length": null,
1599
+ "precision": null,
1600
+ "scale": null,
1601
+ "default": null,
1602
+ "comment": null,
1603
+ "enumItems": [],
1110
1604
  "mappedType": "uuid"
1111
1605
  },
1112
1606
  "appearance_icon": {
@@ -1116,6 +1610,13 @@
1116
1610
  "autoincrement": false,
1117
1611
  "primary": false,
1118
1612
  "nullable": true,
1613
+ "unique": false,
1614
+ "length": null,
1615
+ "precision": null,
1616
+ "scale": null,
1617
+ "default": null,
1618
+ "comment": null,
1619
+ "enumItems": [],
1119
1620
  "mappedType": "text"
1120
1621
  },
1121
1622
  "appearance_color": {
@@ -1125,6 +1626,13 @@
1125
1626
  "autoincrement": false,
1126
1627
  "primary": false,
1127
1628
  "nullable": true,
1629
+ "unique": false,
1630
+ "length": null,
1631
+ "precision": null,
1632
+ "scale": null,
1633
+ "default": null,
1634
+ "comment": null,
1635
+ "enumItems": [],
1128
1636
  "mappedType": "text"
1129
1637
  },
1130
1638
  "created_at": {
@@ -1134,7 +1642,13 @@
1134
1642
  "autoincrement": false,
1135
1643
  "primary": false,
1136
1644
  "nullable": false,
1645
+ "unique": false,
1137
1646
  "length": 6,
1647
+ "precision": null,
1648
+ "scale": null,
1649
+ "default": null,
1650
+ "comment": null,
1651
+ "enumItems": [],
1138
1652
  "mappedType": "datetime"
1139
1653
  },
1140
1654
  "updated_at": {
@@ -1144,7 +1658,13 @@
1144
1658
  "autoincrement": false,
1145
1659
  "primary": false,
1146
1660
  "nullable": false,
1661
+ "unique": false,
1147
1662
  "length": 6,
1663
+ "precision": null,
1664
+ "scale": null,
1665
+ "default": null,
1666
+ "comment": null,
1667
+ "enumItems": [],
1148
1668
  "mappedType": "datetime"
1149
1669
  },
1150
1670
  "deleted_at": {
@@ -1154,7 +1674,13 @@
1154
1674
  "autoincrement": false,
1155
1675
  "primary": false,
1156
1676
  "nullable": true,
1677
+ "unique": false,
1157
1678
  "length": 6,
1679
+ "precision": null,
1680
+ "scale": null,
1681
+ "default": null,
1682
+ "comment": null,
1683
+ "enumItems": [],
1158
1684
  "mappedType": "datetime"
1159
1685
  },
1160
1686
  "entity_id": {
@@ -1164,6 +1690,13 @@
1164
1690
  "autoincrement": false,
1165
1691
  "primary": false,
1166
1692
  "nullable": false,
1693
+ "unique": false,
1694
+ "length": null,
1695
+ "precision": null,
1696
+ "scale": null,
1697
+ "default": null,
1698
+ "comment": null,
1699
+ "enumItems": [],
1167
1700
  "mappedType": "uuid"
1168
1701
  },
1169
1702
  "deal_id": {
@@ -1173,6 +1706,13 @@
1173
1706
  "autoincrement": false,
1174
1707
  "primary": false,
1175
1708
  "nullable": true,
1709
+ "unique": false,
1710
+ "length": null,
1711
+ "precision": null,
1712
+ "scale": null,
1713
+ "default": null,
1714
+ "comment": null,
1715
+ "enumItems": [],
1176
1716
  "mappedType": "uuid"
1177
1717
  }
1178
1718
  },
@@ -1248,9 +1788,15 @@
1248
1788
  "type": "uuid",
1249
1789
  "unsigned": false,
1250
1790
  "autoincrement": false,
1251
- "primary": false,
1791
+ "primary": true,
1252
1792
  "nullable": false,
1793
+ "unique": false,
1794
+ "length": null,
1795
+ "precision": null,
1796
+ "scale": null,
1253
1797
  "default": "gen_random_uuid()",
1798
+ "comment": null,
1799
+ "enumItems": [],
1254
1800
  "mappedType": "uuid"
1255
1801
  },
1256
1802
  "organization_id": {
@@ -1260,6 +1806,13 @@
1260
1806
  "autoincrement": false,
1261
1807
  "primary": false,
1262
1808
  "nullable": false,
1809
+ "unique": false,
1810
+ "length": null,
1811
+ "precision": null,
1812
+ "scale": null,
1813
+ "default": null,
1814
+ "comment": null,
1815
+ "enumItems": [],
1263
1816
  "mappedType": "uuid"
1264
1817
  },
1265
1818
  "tenant_id": {
@@ -1269,6 +1822,13 @@
1269
1822
  "autoincrement": false,
1270
1823
  "primary": false,
1271
1824
  "nullable": false,
1825
+ "unique": false,
1826
+ "length": null,
1827
+ "precision": null,
1828
+ "scale": null,
1829
+ "default": null,
1830
+ "comment": null,
1831
+ "enumItems": [],
1272
1832
  "mappedType": "uuid"
1273
1833
  },
1274
1834
  "name": {
@@ -1278,6 +1838,13 @@
1278
1838
  "autoincrement": false,
1279
1839
  "primary": false,
1280
1840
  "nullable": true,
1841
+ "unique": false,
1842
+ "length": null,
1843
+ "precision": null,
1844
+ "scale": null,
1845
+ "default": null,
1846
+ "comment": null,
1847
+ "enumItems": [],
1281
1848
  "mappedType": "text"
1282
1849
  },
1283
1850
  "purpose": {
@@ -1287,6 +1854,13 @@
1287
1854
  "autoincrement": false,
1288
1855
  "primary": false,
1289
1856
  "nullable": true,
1857
+ "unique": false,
1858
+ "length": null,
1859
+ "precision": null,
1860
+ "scale": null,
1861
+ "default": null,
1862
+ "comment": null,
1863
+ "enumItems": [],
1290
1864
  "mappedType": "text"
1291
1865
  },
1292
1866
  "company_name": {
@@ -1296,6 +1870,13 @@
1296
1870
  "autoincrement": false,
1297
1871
  "primary": false,
1298
1872
  "nullable": true,
1873
+ "unique": false,
1874
+ "length": null,
1875
+ "precision": null,
1876
+ "scale": null,
1877
+ "default": null,
1878
+ "comment": null,
1879
+ "enumItems": [],
1299
1880
  "mappedType": "text"
1300
1881
  },
1301
1882
  "address_line1": {
@@ -1305,6 +1886,13 @@
1305
1886
  "autoincrement": false,
1306
1887
  "primary": false,
1307
1888
  "nullable": false,
1889
+ "unique": false,
1890
+ "length": null,
1891
+ "precision": null,
1892
+ "scale": null,
1893
+ "default": null,
1894
+ "comment": null,
1895
+ "enumItems": [],
1308
1896
  "mappedType": "text"
1309
1897
  },
1310
1898
  "address_line2": {
@@ -1314,6 +1902,13 @@
1314
1902
  "autoincrement": false,
1315
1903
  "primary": false,
1316
1904
  "nullable": true,
1905
+ "unique": false,
1906
+ "length": null,
1907
+ "precision": null,
1908
+ "scale": null,
1909
+ "default": null,
1910
+ "comment": null,
1911
+ "enumItems": [],
1317
1912
  "mappedType": "text"
1318
1913
  },
1319
1914
  "city": {
@@ -1323,6 +1918,13 @@
1323
1918
  "autoincrement": false,
1324
1919
  "primary": false,
1325
1920
  "nullable": true,
1921
+ "unique": false,
1922
+ "length": null,
1923
+ "precision": null,
1924
+ "scale": null,
1925
+ "default": null,
1926
+ "comment": null,
1927
+ "enumItems": [],
1326
1928
  "mappedType": "text"
1327
1929
  },
1328
1930
  "region": {
@@ -1332,6 +1934,13 @@
1332
1934
  "autoincrement": false,
1333
1935
  "primary": false,
1334
1936
  "nullable": true,
1937
+ "unique": false,
1938
+ "length": null,
1939
+ "precision": null,
1940
+ "scale": null,
1941
+ "default": null,
1942
+ "comment": null,
1943
+ "enumItems": [],
1335
1944
  "mappedType": "text"
1336
1945
  },
1337
1946
  "postal_code": {
@@ -1341,6 +1950,13 @@
1341
1950
  "autoincrement": false,
1342
1951
  "primary": false,
1343
1952
  "nullable": true,
1953
+ "unique": false,
1954
+ "length": null,
1955
+ "precision": null,
1956
+ "scale": null,
1957
+ "default": null,
1958
+ "comment": null,
1959
+ "enumItems": [],
1344
1960
  "mappedType": "text"
1345
1961
  },
1346
1962
  "country": {
@@ -1350,6 +1966,13 @@
1350
1966
  "autoincrement": false,
1351
1967
  "primary": false,
1352
1968
  "nullable": true,
1969
+ "unique": false,
1970
+ "length": null,
1971
+ "precision": null,
1972
+ "scale": null,
1973
+ "default": null,
1974
+ "comment": null,
1975
+ "enumItems": [],
1353
1976
  "mappedType": "text"
1354
1977
  },
1355
1978
  "building_number": {
@@ -1359,6 +1982,13 @@
1359
1982
  "autoincrement": false,
1360
1983
  "primary": false,
1361
1984
  "nullable": true,
1985
+ "unique": false,
1986
+ "length": null,
1987
+ "precision": null,
1988
+ "scale": null,
1989
+ "default": null,
1990
+ "comment": null,
1991
+ "enumItems": [],
1362
1992
  "mappedType": "text"
1363
1993
  },
1364
1994
  "flat_number": {
@@ -1368,6 +1998,13 @@
1368
1998
  "autoincrement": false,
1369
1999
  "primary": false,
1370
2000
  "nullable": true,
2001
+ "unique": false,
2002
+ "length": null,
2003
+ "precision": null,
2004
+ "scale": null,
2005
+ "default": null,
2006
+ "comment": null,
2007
+ "enumItems": [],
1371
2008
  "mappedType": "text"
1372
2009
  },
1373
2010
  "latitude": {
@@ -1377,6 +2014,13 @@
1377
2014
  "autoincrement": false,
1378
2015
  "primary": false,
1379
2016
  "nullable": true,
2017
+ "unique": false,
2018
+ "length": null,
2019
+ "precision": null,
2020
+ "scale": null,
2021
+ "default": null,
2022
+ "comment": null,
2023
+ "enumItems": [],
1380
2024
  "mappedType": "float"
1381
2025
  },
1382
2026
  "longitude": {
@@ -1386,6 +2030,13 @@
1386
2030
  "autoincrement": false,
1387
2031
  "primary": false,
1388
2032
  "nullable": true,
2033
+ "unique": false,
2034
+ "length": null,
2035
+ "precision": null,
2036
+ "scale": null,
2037
+ "default": null,
2038
+ "comment": null,
2039
+ "enumItems": [],
1389
2040
  "mappedType": "float"
1390
2041
  },
1391
2042
  "is_primary": {
@@ -1395,7 +2046,13 @@
1395
2046
  "autoincrement": false,
1396
2047
  "primary": false,
1397
2048
  "nullable": false,
2049
+ "unique": false,
2050
+ "length": null,
2051
+ "precision": null,
2052
+ "scale": null,
1398
2053
  "default": "false",
2054
+ "comment": null,
2055
+ "enumItems": [],
1399
2056
  "mappedType": "boolean"
1400
2057
  },
1401
2058
  "created_at": {
@@ -1405,7 +2062,13 @@
1405
2062
  "autoincrement": false,
1406
2063
  "primary": false,
1407
2064
  "nullable": false,
2065
+ "unique": false,
1408
2066
  "length": 6,
2067
+ "precision": null,
2068
+ "scale": null,
2069
+ "default": null,
2070
+ "comment": null,
2071
+ "enumItems": [],
1409
2072
  "mappedType": "datetime"
1410
2073
  },
1411
2074
  "updated_at": {
@@ -1415,7 +2078,13 @@
1415
2078
  "autoincrement": false,
1416
2079
  "primary": false,
1417
2080
  "nullable": false,
2081
+ "unique": false,
1418
2082
  "length": 6,
2083
+ "precision": null,
2084
+ "scale": null,
2085
+ "default": null,
2086
+ "comment": null,
2087
+ "enumItems": [],
1419
2088
  "mappedType": "datetime"
1420
2089
  },
1421
2090
  "entity_id": {
@@ -1425,6 +2094,13 @@
1425
2094
  "autoincrement": false,
1426
2095
  "primary": false,
1427
2096
  "nullable": false,
2097
+ "unique": false,
2098
+ "length": null,
2099
+ "precision": null,
2100
+ "scale": null,
2101
+ "default": null,
2102
+ "comment": null,
2103
+ "enumItems": [],
1428
2104
  "mappedType": "uuid"
1429
2105
  }
1430
2106
  },
@@ -1476,9 +2152,15 @@
1476
2152
  "type": "uuid",
1477
2153
  "unsigned": false,
1478
2154
  "autoincrement": false,
1479
- "primary": false,
2155
+ "primary": true,
1480
2156
  "nullable": false,
2157
+ "unique": false,
2158
+ "length": null,
2159
+ "precision": null,
2160
+ "scale": null,
1481
2161
  "default": "gen_random_uuid()",
2162
+ "comment": null,
2163
+ "enumItems": [],
1482
2164
  "mappedType": "uuid"
1483
2165
  },
1484
2166
  "organization_id": {
@@ -1488,6 +2170,13 @@
1488
2170
  "autoincrement": false,
1489
2171
  "primary": false,
1490
2172
  "nullable": false,
2173
+ "unique": false,
2174
+ "length": null,
2175
+ "precision": null,
2176
+ "scale": null,
2177
+ "default": null,
2178
+ "comment": null,
2179
+ "enumItems": [],
1491
2180
  "mappedType": "uuid"
1492
2181
  },
1493
2182
  "tenant_id": {
@@ -1497,6 +2186,13 @@
1497
2186
  "autoincrement": false,
1498
2187
  "primary": false,
1499
2188
  "nullable": false,
2189
+ "unique": false,
2190
+ "length": null,
2191
+ "precision": null,
2192
+ "scale": null,
2193
+ "default": null,
2194
+ "comment": null,
2195
+ "enumItems": [],
1500
2196
  "mappedType": "uuid"
1501
2197
  },
1502
2198
  "activity_type": {
@@ -1506,6 +2202,13 @@
1506
2202
  "autoincrement": false,
1507
2203
  "primary": false,
1508
2204
  "nullable": false,
2205
+ "unique": false,
2206
+ "length": null,
2207
+ "precision": null,
2208
+ "scale": null,
2209
+ "default": null,
2210
+ "comment": null,
2211
+ "enumItems": [],
1509
2212
  "mappedType": "text"
1510
2213
  },
1511
2214
  "subject": {
@@ -1515,6 +2218,13 @@
1515
2218
  "autoincrement": false,
1516
2219
  "primary": false,
1517
2220
  "nullable": true,
2221
+ "unique": false,
2222
+ "length": null,
2223
+ "precision": null,
2224
+ "scale": null,
2225
+ "default": null,
2226
+ "comment": null,
2227
+ "enumItems": [],
1518
2228
  "mappedType": "text"
1519
2229
  },
1520
2230
  "body": {
@@ -1524,6 +2234,13 @@
1524
2234
  "autoincrement": false,
1525
2235
  "primary": false,
1526
2236
  "nullable": true,
2237
+ "unique": false,
2238
+ "length": null,
2239
+ "precision": null,
2240
+ "scale": null,
2241
+ "default": null,
2242
+ "comment": null,
2243
+ "enumItems": [],
1527
2244
  "mappedType": "text"
1528
2245
  },
1529
2246
  "occurred_at": {
@@ -1533,7 +2250,13 @@
1533
2250
  "autoincrement": false,
1534
2251
  "primary": false,
1535
2252
  "nullable": true,
2253
+ "unique": false,
1536
2254
  "length": 6,
2255
+ "precision": null,
2256
+ "scale": null,
2257
+ "default": null,
2258
+ "comment": null,
2259
+ "enumItems": [],
1537
2260
  "mappedType": "datetime"
1538
2261
  },
1539
2262
  "author_user_id": {
@@ -1543,6 +2266,13 @@
1543
2266
  "autoincrement": false,
1544
2267
  "primary": false,
1545
2268
  "nullable": true,
2269
+ "unique": false,
2270
+ "length": null,
2271
+ "precision": null,
2272
+ "scale": null,
2273
+ "default": null,
2274
+ "comment": null,
2275
+ "enumItems": [],
1546
2276
  "mappedType": "uuid"
1547
2277
  },
1548
2278
  "appearance_icon": {
@@ -1552,6 +2282,13 @@
1552
2282
  "autoincrement": false,
1553
2283
  "primary": false,
1554
2284
  "nullable": true,
2285
+ "unique": false,
2286
+ "length": null,
2287
+ "precision": null,
2288
+ "scale": null,
2289
+ "default": null,
2290
+ "comment": null,
2291
+ "enumItems": [],
1555
2292
  "mappedType": "text"
1556
2293
  },
1557
2294
  "appearance_color": {
@@ -1561,6 +2298,13 @@
1561
2298
  "autoincrement": false,
1562
2299
  "primary": false,
1563
2300
  "nullable": true,
2301
+ "unique": false,
2302
+ "length": null,
2303
+ "precision": null,
2304
+ "scale": null,
2305
+ "default": null,
2306
+ "comment": null,
2307
+ "enumItems": [],
1564
2308
  "mappedType": "text"
1565
2309
  },
1566
2310
  "created_at": {
@@ -1570,7 +2314,13 @@
1570
2314
  "autoincrement": false,
1571
2315
  "primary": false,
1572
2316
  "nullable": false,
2317
+ "unique": false,
1573
2318
  "length": 6,
2319
+ "precision": null,
2320
+ "scale": null,
2321
+ "default": null,
2322
+ "comment": null,
2323
+ "enumItems": [],
1574
2324
  "mappedType": "datetime"
1575
2325
  },
1576
2326
  "updated_at": {
@@ -1580,7 +2330,13 @@
1580
2330
  "autoincrement": false,
1581
2331
  "primary": false,
1582
2332
  "nullable": false,
2333
+ "unique": false,
1583
2334
  "length": 6,
2335
+ "precision": null,
2336
+ "scale": null,
2337
+ "default": null,
2338
+ "comment": null,
2339
+ "enumItems": [],
1584
2340
  "mappedType": "datetime"
1585
2341
  },
1586
2342
  "entity_id": {
@@ -1590,6 +2346,13 @@
1590
2346
  "autoincrement": false,
1591
2347
  "primary": false,
1592
2348
  "nullable": false,
2349
+ "unique": false,
2350
+ "length": null,
2351
+ "precision": null,
2352
+ "scale": null,
2353
+ "default": null,
2354
+ "comment": null,
2355
+ "enumItems": [],
1593
2356
  "mappedType": "uuid"
1594
2357
  },
1595
2358
  "deal_id": {
@@ -1599,6 +2362,13 @@
1599
2362
  "autoincrement": false,
1600
2363
  "primary": false,
1601
2364
  "nullable": true,
2365
+ "unique": false,
2366
+ "length": null,
2367
+ "precision": null,
2368
+ "scale": null,
2369
+ "default": null,
2370
+ "comment": null,
2371
+ "enumItems": [],
1602
2372
  "mappedType": "uuid"
1603
2373
  }
1604
2374
  },
@@ -1686,9 +2456,15 @@
1686
2456
  "type": "uuid",
1687
2457
  "unsigned": false,
1688
2458
  "autoincrement": false,
1689
- "primary": false,
2459
+ "primary": true,
1690
2460
  "nullable": false,
2461
+ "unique": false,
2462
+ "length": null,
2463
+ "precision": null,
2464
+ "scale": null,
1691
2465
  "default": "gen_random_uuid()",
2466
+ "comment": null,
2467
+ "enumItems": [],
1692
2468
  "mappedType": "uuid"
1693
2469
  },
1694
2470
  "organization_id": {
@@ -1698,6 +2474,13 @@
1698
2474
  "autoincrement": false,
1699
2475
  "primary": false,
1700
2476
  "nullable": false,
2477
+ "unique": false,
2478
+ "length": null,
2479
+ "precision": null,
2480
+ "scale": null,
2481
+ "default": null,
2482
+ "comment": null,
2483
+ "enumItems": [],
1701
2484
  "mappedType": "uuid"
1702
2485
  },
1703
2486
  "tenant_id": {
@@ -1707,89 +2490,223 @@
1707
2490
  "autoincrement": false,
1708
2491
  "primary": false,
1709
2492
  "nullable": false,
2493
+ "unique": false,
2494
+ "length": null,
2495
+ "precision": null,
2496
+ "scale": null,
2497
+ "default": null,
2498
+ "comment": null,
2499
+ "enumItems": [],
1710
2500
  "mappedType": "uuid"
1711
2501
  },
1712
- "first_name": {
1713
- "name": "first_name",
2502
+ "interaction_type": {
2503
+ "name": "interaction_type",
1714
2504
  "type": "text",
1715
2505
  "unsigned": false,
1716
2506
  "autoincrement": false,
1717
2507
  "primary": false,
1718
- "nullable": true,
2508
+ "nullable": false,
2509
+ "unique": false,
2510
+ "length": null,
2511
+ "precision": null,
2512
+ "scale": null,
2513
+ "default": null,
2514
+ "comment": null,
2515
+ "enumItems": [],
1719
2516
  "mappedType": "text"
1720
2517
  },
1721
- "last_name": {
1722
- "name": "last_name",
2518
+ "title": {
2519
+ "name": "title",
1723
2520
  "type": "text",
1724
2521
  "unsigned": false,
1725
2522
  "autoincrement": false,
1726
2523
  "primary": false,
1727
2524
  "nullable": true,
2525
+ "unique": false,
2526
+ "length": null,
2527
+ "precision": null,
2528
+ "scale": null,
2529
+ "default": null,
2530
+ "comment": null,
2531
+ "enumItems": [],
1728
2532
  "mappedType": "text"
1729
2533
  },
1730
- "preferred_name": {
1731
- "name": "preferred_name",
2534
+ "body": {
2535
+ "name": "body",
1732
2536
  "type": "text",
1733
2537
  "unsigned": false,
1734
2538
  "autoincrement": false,
1735
2539
  "primary": false,
1736
2540
  "nullable": true,
2541
+ "unique": false,
2542
+ "length": null,
2543
+ "precision": null,
2544
+ "scale": null,
2545
+ "default": null,
2546
+ "comment": null,
2547
+ "enumItems": [],
1737
2548
  "mappedType": "text"
1738
2549
  },
1739
- "job_title": {
1740
- "name": "job_title",
2550
+ "status": {
2551
+ "name": "status",
1741
2552
  "type": "text",
1742
2553
  "unsigned": false,
1743
2554
  "autoincrement": false,
1744
2555
  "primary": false,
1745
- "nullable": true,
2556
+ "nullable": false,
2557
+ "unique": false,
2558
+ "length": null,
2559
+ "precision": null,
2560
+ "scale": null,
2561
+ "default": "'planned'",
2562
+ "comment": null,
2563
+ "enumItems": [],
1746
2564
  "mappedType": "text"
1747
2565
  },
1748
- "department": {
1749
- "name": "department",
1750
- "type": "text",
2566
+ "scheduled_at": {
2567
+ "name": "scheduled_at",
2568
+ "type": "timestamptz",
1751
2569
  "unsigned": false,
1752
2570
  "autoincrement": false,
1753
2571
  "primary": false,
1754
2572
  "nullable": true,
1755
- "mappedType": "text"
2573
+ "unique": false,
2574
+ "length": 6,
2575
+ "precision": null,
2576
+ "scale": null,
2577
+ "default": null,
2578
+ "comment": null,
2579
+ "enumItems": [],
2580
+ "mappedType": "datetime"
1756
2581
  },
1757
- "seniority": {
1758
- "name": "seniority",
1759
- "type": "text",
2582
+ "occurred_at": {
2583
+ "name": "occurred_at",
2584
+ "type": "timestamptz",
1760
2585
  "unsigned": false,
1761
2586
  "autoincrement": false,
1762
2587
  "primary": false,
1763
2588
  "nullable": true,
1764
- "mappedType": "text"
2589
+ "unique": false,
2590
+ "length": 6,
2591
+ "precision": null,
2592
+ "scale": null,
2593
+ "default": null,
2594
+ "comment": null,
2595
+ "enumItems": [],
2596
+ "mappedType": "datetime"
1765
2597
  },
1766
- "timezone": {
1767
- "name": "timezone",
2598
+ "priority": {
2599
+ "name": "priority",
2600
+ "type": "int",
2601
+ "unsigned": false,
2602
+ "autoincrement": false,
2603
+ "primary": false,
2604
+ "nullable": true,
2605
+ "unique": false,
2606
+ "length": null,
2607
+ "precision": null,
2608
+ "scale": null,
2609
+ "default": null,
2610
+ "comment": null,
2611
+ "enumItems": [],
2612
+ "mappedType": "integer"
2613
+ },
2614
+ "author_user_id": {
2615
+ "name": "author_user_id",
2616
+ "type": "uuid",
2617
+ "unsigned": false,
2618
+ "autoincrement": false,
2619
+ "primary": false,
2620
+ "nullable": true,
2621
+ "unique": false,
2622
+ "length": null,
2623
+ "precision": null,
2624
+ "scale": null,
2625
+ "default": null,
2626
+ "comment": null,
2627
+ "enumItems": [],
2628
+ "mappedType": "uuid"
2629
+ },
2630
+ "owner_user_id": {
2631
+ "name": "owner_user_id",
2632
+ "type": "uuid",
2633
+ "unsigned": false,
2634
+ "autoincrement": false,
2635
+ "primary": false,
2636
+ "nullable": true,
2637
+ "unique": false,
2638
+ "length": null,
2639
+ "precision": null,
2640
+ "scale": null,
2641
+ "default": null,
2642
+ "comment": null,
2643
+ "enumItems": [],
2644
+ "mappedType": "uuid"
2645
+ },
2646
+ "appearance_icon": {
2647
+ "name": "appearance_icon",
1768
2648
  "type": "text",
1769
2649
  "unsigned": false,
1770
2650
  "autoincrement": false,
1771
2651
  "primary": false,
1772
2652
  "nullable": true,
2653
+ "unique": false,
2654
+ "length": null,
2655
+ "precision": null,
2656
+ "scale": null,
2657
+ "default": null,
2658
+ "comment": null,
2659
+ "enumItems": [],
1773
2660
  "mappedType": "text"
1774
2661
  },
1775
- "linked_in_url": {
1776
- "name": "linked_in_url",
2662
+ "appearance_color": {
2663
+ "name": "appearance_color",
1777
2664
  "type": "text",
1778
2665
  "unsigned": false,
1779
2666
  "autoincrement": false,
1780
2667
  "primary": false,
1781
2668
  "nullable": true,
2669
+ "unique": false,
2670
+ "length": null,
2671
+ "precision": null,
2672
+ "scale": null,
2673
+ "default": null,
2674
+ "comment": null,
2675
+ "enumItems": [],
1782
2676
  "mappedType": "text"
1783
2677
  },
1784
- "twitter_url": {
1785
- "name": "twitter_url",
2678
+ "source": {
2679
+ "name": "source",
1786
2680
  "type": "text",
1787
2681
  "unsigned": false,
1788
2682
  "autoincrement": false,
1789
2683
  "primary": false,
1790
2684
  "nullable": true,
2685
+ "unique": false,
2686
+ "length": null,
2687
+ "precision": null,
2688
+ "scale": null,
2689
+ "default": null,
2690
+ "comment": null,
2691
+ "enumItems": [],
1791
2692
  "mappedType": "text"
1792
2693
  },
2694
+ "deal_id": {
2695
+ "name": "deal_id",
2696
+ "type": "uuid",
2697
+ "unsigned": false,
2698
+ "autoincrement": false,
2699
+ "primary": false,
2700
+ "nullable": true,
2701
+ "unique": false,
2702
+ "length": null,
2703
+ "precision": null,
2704
+ "scale": null,
2705
+ "default": null,
2706
+ "comment": null,
2707
+ "enumItems": [],
2708
+ "mappedType": "uuid"
2709
+ },
1793
2710
  "created_at": {
1794
2711
  "name": "created_at",
1795
2712
  "type": "timestamptz",
@@ -1797,7 +2714,13 @@
1797
2714
  "autoincrement": false,
1798
2715
  "primary": false,
1799
2716
  "nullable": false,
2717
+ "unique": false,
1800
2718
  "length": 6,
2719
+ "precision": null,
2720
+ "scale": null,
2721
+ "default": null,
2722
+ "comment": null,
2723
+ "enumItems": [],
1801
2724
  "mappedType": "datetime"
1802
2725
  },
1803
2726
  "updated_at": {
@@ -1807,16 +2730,357 @@
1807
2730
  "autoincrement": false,
1808
2731
  "primary": false,
1809
2732
  "nullable": false,
2733
+ "unique": false,
1810
2734
  "length": 6,
2735
+ "precision": null,
2736
+ "scale": null,
2737
+ "default": null,
2738
+ "comment": null,
2739
+ "enumItems": [],
1811
2740
  "mappedType": "datetime"
1812
2741
  },
1813
- "entity_id": {
1814
- "name": "entity_id",
2742
+ "deleted_at": {
2743
+ "name": "deleted_at",
2744
+ "type": "timestamptz",
2745
+ "unsigned": false,
2746
+ "autoincrement": false,
2747
+ "primary": false,
2748
+ "nullable": true,
2749
+ "unique": false,
2750
+ "length": 6,
2751
+ "precision": null,
2752
+ "scale": null,
2753
+ "default": null,
2754
+ "comment": null,
2755
+ "enumItems": [],
2756
+ "mappedType": "datetime"
2757
+ },
2758
+ "entity_id": {
2759
+ "name": "entity_id",
2760
+ "type": "uuid",
2761
+ "unsigned": false,
2762
+ "autoincrement": false,
2763
+ "primary": false,
2764
+ "nullable": false,
2765
+ "unique": false,
2766
+ "length": null,
2767
+ "precision": null,
2768
+ "scale": null,
2769
+ "default": null,
2770
+ "comment": null,
2771
+ "enumItems": [],
2772
+ "mappedType": "uuid"
2773
+ }
2774
+ },
2775
+ "name": "customer_interactions",
2776
+ "schema": "public",
2777
+ "indexes": [
2778
+ {
2779
+ "keyName": "customer_interactions_type_idx",
2780
+ "columnNames": [
2781
+ "tenant_id",
2782
+ "organization_id",
2783
+ "interaction_type"
2784
+ ],
2785
+ "composite": true,
2786
+ "constraint": false,
2787
+ "primary": false,
2788
+ "unique": false
2789
+ },
2790
+ {
2791
+ "keyName": "customer_interactions_org_tenant_status_idx",
2792
+ "columnNames": [
2793
+ "organization_id",
2794
+ "tenant_id",
2795
+ "status",
2796
+ "scheduled_at"
2797
+ ],
2798
+ "composite": true,
2799
+ "constraint": false,
2800
+ "primary": false,
2801
+ "unique": false
2802
+ },
2803
+ {
2804
+ "keyName": "customer_interactions_entity_status_scheduled_idx",
2805
+ "columnNames": [
2806
+ "entity_id",
2807
+ "status",
2808
+ "scheduled_at",
2809
+ "created_at"
2810
+ ],
2811
+ "composite": true,
2812
+ "constraint": false,
2813
+ "primary": false,
2814
+ "unique": false
2815
+ },
2816
+ {
2817
+ "keyName": "customer_interactions_pkey",
2818
+ "columnNames": [
2819
+ "id"
2820
+ ],
2821
+ "composite": false,
2822
+ "constraint": true,
2823
+ "primary": true,
2824
+ "unique": true
2825
+ }
2826
+ ],
2827
+ "checks": [],
2828
+ "foreignKeys": {
2829
+ "customer_interactions_entity_id_foreign": {
2830
+ "constraintName": "customer_interactions_entity_id_foreign",
2831
+ "columnNames": [
2832
+ "entity_id"
2833
+ ],
2834
+ "localTableName": "public.customer_interactions",
2835
+ "referencedColumnNames": [
2836
+ "id"
2837
+ ],
2838
+ "referencedTableName": "public.customer_entities",
2839
+ "updateRule": "cascade"
2840
+ }
2841
+ },
2842
+ "nativeEnums": {}
2843
+ },
2844
+ {
2845
+ "columns": {
2846
+ "id": {
2847
+ "name": "id",
2848
+ "type": "uuid",
2849
+ "unsigned": false,
2850
+ "autoincrement": false,
2851
+ "primary": true,
2852
+ "nullable": false,
2853
+ "unique": false,
2854
+ "length": null,
2855
+ "precision": null,
2856
+ "scale": null,
2857
+ "default": "gen_random_uuid()",
2858
+ "comment": null,
2859
+ "enumItems": [],
2860
+ "mappedType": "uuid"
2861
+ },
2862
+ "organization_id": {
2863
+ "name": "organization_id",
1815
2864
  "type": "uuid",
1816
2865
  "unsigned": false,
1817
2866
  "autoincrement": false,
1818
2867
  "primary": false,
1819
2868
  "nullable": false,
2869
+ "unique": false,
2870
+ "length": null,
2871
+ "precision": null,
2872
+ "scale": null,
2873
+ "default": null,
2874
+ "comment": null,
2875
+ "enumItems": [],
2876
+ "mappedType": "uuid"
2877
+ },
2878
+ "tenant_id": {
2879
+ "name": "tenant_id",
2880
+ "type": "uuid",
2881
+ "unsigned": false,
2882
+ "autoincrement": false,
2883
+ "primary": false,
2884
+ "nullable": false,
2885
+ "unique": false,
2886
+ "length": null,
2887
+ "precision": null,
2888
+ "scale": null,
2889
+ "default": null,
2890
+ "comment": null,
2891
+ "enumItems": [],
2892
+ "mappedType": "uuid"
2893
+ },
2894
+ "first_name": {
2895
+ "name": "first_name",
2896
+ "type": "text",
2897
+ "unsigned": false,
2898
+ "autoincrement": false,
2899
+ "primary": false,
2900
+ "nullable": true,
2901
+ "unique": false,
2902
+ "length": null,
2903
+ "precision": null,
2904
+ "scale": null,
2905
+ "default": null,
2906
+ "comment": null,
2907
+ "enumItems": [],
2908
+ "mappedType": "text"
2909
+ },
2910
+ "last_name": {
2911
+ "name": "last_name",
2912
+ "type": "text",
2913
+ "unsigned": false,
2914
+ "autoincrement": false,
2915
+ "primary": false,
2916
+ "nullable": true,
2917
+ "unique": false,
2918
+ "length": null,
2919
+ "precision": null,
2920
+ "scale": null,
2921
+ "default": null,
2922
+ "comment": null,
2923
+ "enumItems": [],
2924
+ "mappedType": "text"
2925
+ },
2926
+ "preferred_name": {
2927
+ "name": "preferred_name",
2928
+ "type": "text",
2929
+ "unsigned": false,
2930
+ "autoincrement": false,
2931
+ "primary": false,
2932
+ "nullable": true,
2933
+ "unique": false,
2934
+ "length": null,
2935
+ "precision": null,
2936
+ "scale": null,
2937
+ "default": null,
2938
+ "comment": null,
2939
+ "enumItems": [],
2940
+ "mappedType": "text"
2941
+ },
2942
+ "job_title": {
2943
+ "name": "job_title",
2944
+ "type": "text",
2945
+ "unsigned": false,
2946
+ "autoincrement": false,
2947
+ "primary": false,
2948
+ "nullable": true,
2949
+ "unique": false,
2950
+ "length": null,
2951
+ "precision": null,
2952
+ "scale": null,
2953
+ "default": null,
2954
+ "comment": null,
2955
+ "enumItems": [],
2956
+ "mappedType": "text"
2957
+ },
2958
+ "department": {
2959
+ "name": "department",
2960
+ "type": "text",
2961
+ "unsigned": false,
2962
+ "autoincrement": false,
2963
+ "primary": false,
2964
+ "nullable": true,
2965
+ "unique": false,
2966
+ "length": null,
2967
+ "precision": null,
2968
+ "scale": null,
2969
+ "default": null,
2970
+ "comment": null,
2971
+ "enumItems": [],
2972
+ "mappedType": "text"
2973
+ },
2974
+ "seniority": {
2975
+ "name": "seniority",
2976
+ "type": "text",
2977
+ "unsigned": false,
2978
+ "autoincrement": false,
2979
+ "primary": false,
2980
+ "nullable": true,
2981
+ "unique": false,
2982
+ "length": null,
2983
+ "precision": null,
2984
+ "scale": null,
2985
+ "default": null,
2986
+ "comment": null,
2987
+ "enumItems": [],
2988
+ "mappedType": "text"
2989
+ },
2990
+ "timezone": {
2991
+ "name": "timezone",
2992
+ "type": "text",
2993
+ "unsigned": false,
2994
+ "autoincrement": false,
2995
+ "primary": false,
2996
+ "nullable": true,
2997
+ "unique": false,
2998
+ "length": null,
2999
+ "precision": null,
3000
+ "scale": null,
3001
+ "default": null,
3002
+ "comment": null,
3003
+ "enumItems": [],
3004
+ "mappedType": "text"
3005
+ },
3006
+ "linked_in_url": {
3007
+ "name": "linked_in_url",
3008
+ "type": "text",
3009
+ "unsigned": false,
3010
+ "autoincrement": false,
3011
+ "primary": false,
3012
+ "nullable": true,
3013
+ "unique": false,
3014
+ "length": null,
3015
+ "precision": null,
3016
+ "scale": null,
3017
+ "default": null,
3018
+ "comment": null,
3019
+ "enumItems": [],
3020
+ "mappedType": "text"
3021
+ },
3022
+ "twitter_url": {
3023
+ "name": "twitter_url",
3024
+ "type": "text",
3025
+ "unsigned": false,
3026
+ "autoincrement": false,
3027
+ "primary": false,
3028
+ "nullable": true,
3029
+ "unique": false,
3030
+ "length": null,
3031
+ "precision": null,
3032
+ "scale": null,
3033
+ "default": null,
3034
+ "comment": null,
3035
+ "enumItems": [],
3036
+ "mappedType": "text"
3037
+ },
3038
+ "created_at": {
3039
+ "name": "created_at",
3040
+ "type": "timestamptz",
3041
+ "unsigned": false,
3042
+ "autoincrement": false,
3043
+ "primary": false,
3044
+ "nullable": false,
3045
+ "unique": false,
3046
+ "length": 6,
3047
+ "precision": null,
3048
+ "scale": null,
3049
+ "default": null,
3050
+ "comment": null,
3051
+ "enumItems": [],
3052
+ "mappedType": "datetime"
3053
+ },
3054
+ "updated_at": {
3055
+ "name": "updated_at",
3056
+ "type": "timestamptz",
3057
+ "unsigned": false,
3058
+ "autoincrement": false,
3059
+ "primary": false,
3060
+ "nullable": false,
3061
+ "unique": false,
3062
+ "length": 6,
3063
+ "precision": null,
3064
+ "scale": null,
3065
+ "default": null,
3066
+ "comment": null,
3067
+ "enumItems": [],
3068
+ "mappedType": "datetime"
3069
+ },
3070
+ "entity_id": {
3071
+ "name": "entity_id",
3072
+ "type": "uuid",
3073
+ "unsigned": false,
3074
+ "autoincrement": false,
3075
+ "primary": false,
3076
+ "nullable": false,
3077
+ "unique": false,
3078
+ "length": null,
3079
+ "precision": null,
3080
+ "scale": null,
3081
+ "default": null,
3082
+ "comment": null,
3083
+ "enumItems": [],
1820
3084
  "mappedType": "uuid"
1821
3085
  },
1822
3086
  "company_entity_id": {
@@ -1826,6 +3090,13 @@
1826
3090
  "autoincrement": false,
1827
3091
  "primary": false,
1828
3092
  "nullable": true,
3093
+ "unique": false,
3094
+ "length": null,
3095
+ "precision": null,
3096
+ "scale": null,
3097
+ "default": null,
3098
+ "comment": null,
3099
+ "enumItems": [],
1829
3100
  "mappedType": "uuid"
1830
3101
  }
1831
3102
  },
@@ -1910,9 +3181,15 @@
1910
3181
  "type": "uuid",
1911
3182
  "unsigned": false,
1912
3183
  "autoincrement": false,
1913
- "primary": false,
3184
+ "primary": true,
1914
3185
  "nullable": false,
3186
+ "unique": false,
3187
+ "length": null,
3188
+ "precision": null,
3189
+ "scale": null,
1915
3190
  "default": "gen_random_uuid()",
3191
+ "comment": null,
3192
+ "enumItems": [],
1916
3193
  "mappedType": "uuid"
1917
3194
  },
1918
3195
  "organization_id": {
@@ -1922,6 +3199,13 @@
1922
3199
  "autoincrement": false,
1923
3200
  "primary": false,
1924
3201
  "nullable": false,
3202
+ "unique": false,
3203
+ "length": null,
3204
+ "precision": null,
3205
+ "scale": null,
3206
+ "default": null,
3207
+ "comment": null,
3208
+ "enumItems": [],
1925
3209
  "mappedType": "uuid"
1926
3210
  },
1927
3211
  "tenant_id": {
@@ -1931,6 +3215,13 @@
1931
3215
  "autoincrement": false,
1932
3216
  "primary": false,
1933
3217
  "nullable": false,
3218
+ "unique": false,
3219
+ "length": null,
3220
+ "precision": null,
3221
+ "scale": null,
3222
+ "default": null,
3223
+ "comment": null,
3224
+ "enumItems": [],
1934
3225
  "mappedType": "uuid"
1935
3226
  },
1936
3227
  "name": {
@@ -1940,6 +3231,13 @@
1940
3231
  "autoincrement": false,
1941
3232
  "primary": false,
1942
3233
  "nullable": false,
3234
+ "unique": false,
3235
+ "length": null,
3236
+ "precision": null,
3237
+ "scale": null,
3238
+ "default": null,
3239
+ "comment": null,
3240
+ "enumItems": [],
1943
3241
  "mappedType": "text"
1944
3242
  },
1945
3243
  "is_default": {
@@ -1949,7 +3247,13 @@
1949
3247
  "autoincrement": false,
1950
3248
  "primary": false,
1951
3249
  "nullable": false,
3250
+ "unique": false,
3251
+ "length": null,
3252
+ "precision": null,
3253
+ "scale": null,
1952
3254
  "default": "false",
3255
+ "comment": null,
3256
+ "enumItems": [],
1953
3257
  "mappedType": "boolean"
1954
3258
  },
1955
3259
  "created_at": {
@@ -1959,7 +3263,13 @@
1959
3263
  "autoincrement": false,
1960
3264
  "primary": false,
1961
3265
  "nullable": false,
3266
+ "unique": false,
1962
3267
  "length": 6,
3268
+ "precision": null,
3269
+ "scale": null,
3270
+ "default": null,
3271
+ "comment": null,
3272
+ "enumItems": [],
1963
3273
  "mappedType": "datetime"
1964
3274
  },
1965
3275
  "updated_at": {
@@ -1969,7 +3279,13 @@
1969
3279
  "autoincrement": false,
1970
3280
  "primary": false,
1971
3281
  "nullable": false,
3282
+ "unique": false,
1972
3283
  "length": 6,
3284
+ "precision": null,
3285
+ "scale": null,
3286
+ "default": null,
3287
+ "comment": null,
3288
+ "enumItems": [],
1973
3289
  "mappedType": "datetime"
1974
3290
  }
1975
3291
  },
@@ -2009,9 +3325,15 @@
2009
3325
  "type": "uuid",
2010
3326
  "unsigned": false,
2011
3327
  "autoincrement": false,
2012
- "primary": false,
3328
+ "primary": true,
2013
3329
  "nullable": false,
3330
+ "unique": false,
3331
+ "length": null,
3332
+ "precision": null,
3333
+ "scale": null,
2014
3334
  "default": "gen_random_uuid()",
3335
+ "comment": null,
3336
+ "enumItems": [],
2015
3337
  "mappedType": "uuid"
2016
3338
  },
2017
3339
  "organization_id": {
@@ -2021,6 +3343,13 @@
2021
3343
  "autoincrement": false,
2022
3344
  "primary": false,
2023
3345
  "nullable": false,
3346
+ "unique": false,
3347
+ "length": null,
3348
+ "precision": null,
3349
+ "scale": null,
3350
+ "default": null,
3351
+ "comment": null,
3352
+ "enumItems": [],
2024
3353
  "mappedType": "uuid"
2025
3354
  },
2026
3355
  "tenant_id": {
@@ -2030,6 +3359,13 @@
2030
3359
  "autoincrement": false,
2031
3360
  "primary": false,
2032
3361
  "nullable": false,
3362
+ "unique": false,
3363
+ "length": null,
3364
+ "precision": null,
3365
+ "scale": null,
3366
+ "default": null,
3367
+ "comment": null,
3368
+ "enumItems": [],
2033
3369
  "mappedType": "uuid"
2034
3370
  },
2035
3371
  "pipeline_id": {
@@ -2039,6 +3375,13 @@
2039
3375
  "autoincrement": false,
2040
3376
  "primary": false,
2041
3377
  "nullable": false,
3378
+ "unique": false,
3379
+ "length": null,
3380
+ "precision": null,
3381
+ "scale": null,
3382
+ "default": null,
3383
+ "comment": null,
3384
+ "enumItems": [],
2042
3385
  "mappedType": "uuid"
2043
3386
  },
2044
3387
  "name": {
@@ -2048,6 +3391,13 @@
2048
3391
  "autoincrement": false,
2049
3392
  "primary": false,
2050
3393
  "nullable": false,
3394
+ "unique": false,
3395
+ "length": null,
3396
+ "precision": null,
3397
+ "scale": null,
3398
+ "default": null,
3399
+ "comment": null,
3400
+ "enumItems": [],
2051
3401
  "mappedType": "text"
2052
3402
  },
2053
3403
  "position": {
@@ -2057,7 +3407,13 @@
2057
3407
  "autoincrement": false,
2058
3408
  "primary": false,
2059
3409
  "nullable": false,
3410
+ "unique": false,
3411
+ "length": null,
3412
+ "precision": null,
3413
+ "scale": null,
2060
3414
  "default": "0",
3415
+ "comment": null,
3416
+ "enumItems": [],
2061
3417
  "mappedType": "integer"
2062
3418
  },
2063
3419
  "created_at": {
@@ -2067,7 +3423,13 @@
2067
3423
  "autoincrement": false,
2068
3424
  "primary": false,
2069
3425
  "nullable": false,
3426
+ "unique": false,
2070
3427
  "length": 6,
3428
+ "precision": null,
3429
+ "scale": null,
3430
+ "default": null,
3431
+ "comment": null,
3432
+ "enumItems": [],
2071
3433
  "mappedType": "datetime"
2072
3434
  },
2073
3435
  "updated_at": {
@@ -2077,7 +3439,13 @@
2077
3439
  "autoincrement": false,
2078
3440
  "primary": false,
2079
3441
  "nullable": false,
3442
+ "unique": false,
2080
3443
  "length": 6,
3444
+ "precision": null,
3445
+ "scale": null,
3446
+ "default": null,
3447
+ "comment": null,
3448
+ "enumItems": [],
2081
3449
  "mappedType": "datetime"
2082
3450
  }
2083
3451
  },
@@ -2128,9 +3496,15 @@
2128
3496
  "type": "uuid",
2129
3497
  "unsigned": false,
2130
3498
  "autoincrement": false,
2131
- "primary": false,
3499
+ "primary": true,
2132
3500
  "nullable": false,
3501
+ "unique": false,
3502
+ "length": null,
3503
+ "precision": null,
3504
+ "scale": null,
2133
3505
  "default": "gen_random_uuid()",
3506
+ "comment": null,
3507
+ "enumItems": [],
2134
3508
  "mappedType": "uuid"
2135
3509
  },
2136
3510
  "organization_id": {
@@ -2140,6 +3514,13 @@
2140
3514
  "autoincrement": false,
2141
3515
  "primary": false,
2142
3516
  "nullable": false,
3517
+ "unique": false,
3518
+ "length": null,
3519
+ "precision": null,
3520
+ "scale": null,
3521
+ "default": null,
3522
+ "comment": null,
3523
+ "enumItems": [],
2143
3524
  "mappedType": "uuid"
2144
3525
  },
2145
3526
  "tenant_id": {
@@ -2149,6 +3530,13 @@
2149
3530
  "autoincrement": false,
2150
3531
  "primary": false,
2151
3532
  "nullable": false,
3533
+ "unique": false,
3534
+ "length": null,
3535
+ "precision": null,
3536
+ "scale": null,
3537
+ "default": null,
3538
+ "comment": null,
3539
+ "enumItems": [],
2152
3540
  "mappedType": "uuid"
2153
3541
  },
2154
3542
  "address_format": {
@@ -2158,7 +3546,13 @@
2158
3546
  "autoincrement": false,
2159
3547
  "primary": false,
2160
3548
  "nullable": false,
3549
+ "unique": false,
3550
+ "length": null,
3551
+ "precision": null,
3552
+ "scale": null,
2161
3553
  "default": "'line_first'",
3554
+ "comment": null,
3555
+ "enumItems": [],
2162
3556
  "mappedType": "text"
2163
3557
  },
2164
3558
  "created_at": {
@@ -2168,7 +3562,13 @@
2168
3562
  "autoincrement": false,
2169
3563
  "primary": false,
2170
3564
  "nullable": false,
3565
+ "unique": false,
2171
3566
  "length": 6,
3567
+ "precision": null,
3568
+ "scale": null,
3569
+ "default": null,
3570
+ "comment": null,
3571
+ "enumItems": [],
2172
3572
  "mappedType": "datetime"
2173
3573
  },
2174
3574
  "updated_at": {
@@ -2178,7 +3578,13 @@
2178
3578
  "autoincrement": false,
2179
3579
  "primary": false,
2180
3580
  "nullable": false,
3581
+ "unique": false,
2181
3582
  "length": 6,
3583
+ "precision": null,
3584
+ "scale": null,
3585
+ "default": null,
3586
+ "comment": null,
3587
+ "enumItems": [],
2182
3588
  "mappedType": "datetime"
2183
3589
  }
2184
3590
  },
@@ -2218,9 +3624,15 @@
2218
3624
  "type": "uuid",
2219
3625
  "unsigned": false,
2220
3626
  "autoincrement": false,
2221
- "primary": false,
3627
+ "primary": true,
2222
3628
  "nullable": false,
3629
+ "unique": false,
3630
+ "length": null,
3631
+ "precision": null,
3632
+ "scale": null,
2223
3633
  "default": "gen_random_uuid()",
3634
+ "comment": null,
3635
+ "enumItems": [],
2224
3636
  "mappedType": "uuid"
2225
3637
  },
2226
3638
  "organization_id": {
@@ -2230,6 +3642,13 @@
2230
3642
  "autoincrement": false,
2231
3643
  "primary": false,
2232
3644
  "nullable": false,
3645
+ "unique": false,
3646
+ "length": null,
3647
+ "precision": null,
3648
+ "scale": null,
3649
+ "default": null,
3650
+ "comment": null,
3651
+ "enumItems": [],
2233
3652
  "mappedType": "uuid"
2234
3653
  },
2235
3654
  "tenant_id": {
@@ -2239,6 +3658,13 @@
2239
3658
  "autoincrement": false,
2240
3659
  "primary": false,
2241
3660
  "nullable": false,
3661
+ "unique": false,
3662
+ "length": null,
3663
+ "precision": null,
3664
+ "scale": null,
3665
+ "default": null,
3666
+ "comment": null,
3667
+ "enumItems": [],
2242
3668
  "mappedType": "uuid"
2243
3669
  },
2244
3670
  "slug": {
@@ -2248,6 +3674,13 @@
2248
3674
  "autoincrement": false,
2249
3675
  "primary": false,
2250
3676
  "nullable": false,
3677
+ "unique": false,
3678
+ "length": null,
3679
+ "precision": null,
3680
+ "scale": null,
3681
+ "default": null,
3682
+ "comment": null,
3683
+ "enumItems": [],
2251
3684
  "mappedType": "text"
2252
3685
  },
2253
3686
  "label": {
@@ -2257,6 +3690,13 @@
2257
3690
  "autoincrement": false,
2258
3691
  "primary": false,
2259
3692
  "nullable": false,
3693
+ "unique": false,
3694
+ "length": null,
3695
+ "precision": null,
3696
+ "scale": null,
3697
+ "default": null,
3698
+ "comment": null,
3699
+ "enumItems": [],
2260
3700
  "mappedType": "text"
2261
3701
  },
2262
3702
  "color": {
@@ -2266,6 +3706,13 @@
2266
3706
  "autoincrement": false,
2267
3707
  "primary": false,
2268
3708
  "nullable": true,
3709
+ "unique": false,
3710
+ "length": null,
3711
+ "precision": null,
3712
+ "scale": null,
3713
+ "default": null,
3714
+ "comment": null,
3715
+ "enumItems": [],
2269
3716
  "mappedType": "text"
2270
3717
  },
2271
3718
  "description": {
@@ -2275,6 +3722,13 @@
2275
3722
  "autoincrement": false,
2276
3723
  "primary": false,
2277
3724
  "nullable": true,
3725
+ "unique": false,
3726
+ "length": null,
3727
+ "precision": null,
3728
+ "scale": null,
3729
+ "default": null,
3730
+ "comment": null,
3731
+ "enumItems": [],
2278
3732
  "mappedType": "text"
2279
3733
  },
2280
3734
  "created_at": {
@@ -2284,7 +3738,13 @@
2284
3738
  "autoincrement": false,
2285
3739
  "primary": false,
2286
3740
  "nullable": false,
3741
+ "unique": false,
2287
3742
  "length": 6,
3743
+ "precision": null,
3744
+ "scale": null,
3745
+ "default": null,
3746
+ "comment": null,
3747
+ "enumItems": [],
2288
3748
  "mappedType": "datetime"
2289
3749
  },
2290
3750
  "updated_at": {
@@ -2294,7 +3754,13 @@
2294
3754
  "autoincrement": false,
2295
3755
  "primary": false,
2296
3756
  "nullable": false,
3757
+ "unique": false,
2297
3758
  "length": 6,
3759
+ "precision": null,
3760
+ "scale": null,
3761
+ "default": null,
3762
+ "comment": null,
3763
+ "enumItems": [],
2298
3764
  "mappedType": "datetime"
2299
3765
  }
2300
3766
  },
@@ -2346,9 +3812,15 @@
2346
3812
  "type": "uuid",
2347
3813
  "unsigned": false,
2348
3814
  "autoincrement": false,
2349
- "primary": false,
3815
+ "primary": true,
2350
3816
  "nullable": false,
3817
+ "unique": false,
3818
+ "length": null,
3819
+ "precision": null,
3820
+ "scale": null,
2351
3821
  "default": "gen_random_uuid()",
3822
+ "comment": null,
3823
+ "enumItems": [],
2352
3824
  "mappedType": "uuid"
2353
3825
  },
2354
3826
  "organization_id": {
@@ -2358,6 +3830,13 @@
2358
3830
  "autoincrement": false,
2359
3831
  "primary": false,
2360
3832
  "nullable": false,
3833
+ "unique": false,
3834
+ "length": null,
3835
+ "precision": null,
3836
+ "scale": null,
3837
+ "default": null,
3838
+ "comment": null,
3839
+ "enumItems": [],
2361
3840
  "mappedType": "uuid"
2362
3841
  },
2363
3842
  "tenant_id": {
@@ -2367,6 +3846,13 @@
2367
3846
  "autoincrement": false,
2368
3847
  "primary": false,
2369
3848
  "nullable": false,
3849
+ "unique": false,
3850
+ "length": null,
3851
+ "precision": null,
3852
+ "scale": null,
3853
+ "default": null,
3854
+ "comment": null,
3855
+ "enumItems": [],
2370
3856
  "mappedType": "uuid"
2371
3857
  },
2372
3858
  "created_at": {
@@ -2376,7 +3862,13 @@
2376
3862
  "autoincrement": false,
2377
3863
  "primary": false,
2378
3864
  "nullable": false,
3865
+ "unique": false,
2379
3866
  "length": 6,
3867
+ "precision": null,
3868
+ "scale": null,
3869
+ "default": null,
3870
+ "comment": null,
3871
+ "enumItems": [],
2380
3872
  "mappedType": "datetime"
2381
3873
  },
2382
3874
  "tag_id": {
@@ -2386,6 +3878,13 @@
2386
3878
  "autoincrement": false,
2387
3879
  "primary": false,
2388
3880
  "nullable": false,
3881
+ "unique": false,
3882
+ "length": null,
3883
+ "precision": null,
3884
+ "scale": null,
3885
+ "default": null,
3886
+ "comment": null,
3887
+ "enumItems": [],
2389
3888
  "mappedType": "uuid"
2390
3889
  },
2391
3890
  "entity_id": {
@@ -2395,6 +3894,13 @@
2395
3894
  "autoincrement": false,
2396
3895
  "primary": false,
2397
3896
  "nullable": false,
3897
+ "unique": false,
3898
+ "length": null,
3899
+ "precision": null,
3900
+ "scale": null,
3901
+ "default": null,
3902
+ "comment": null,
3903
+ "enumItems": [],
2398
3904
  "mappedType": "uuid"
2399
3905
  }
2400
3906
  },
@@ -2469,9 +3975,15 @@
2469
3975
  "type": "uuid",
2470
3976
  "unsigned": false,
2471
3977
  "autoincrement": false,
2472
- "primary": false,
3978
+ "primary": true,
2473
3979
  "nullable": false,
3980
+ "unique": false,
3981
+ "length": null,
3982
+ "precision": null,
3983
+ "scale": null,
2474
3984
  "default": "gen_random_uuid()",
3985
+ "comment": null,
3986
+ "enumItems": [],
2475
3987
  "mappedType": "uuid"
2476
3988
  },
2477
3989
  "organization_id": {
@@ -2481,6 +3993,13 @@
2481
3993
  "autoincrement": false,
2482
3994
  "primary": false,
2483
3995
  "nullable": false,
3996
+ "unique": false,
3997
+ "length": null,
3998
+ "precision": null,
3999
+ "scale": null,
4000
+ "default": null,
4001
+ "comment": null,
4002
+ "enumItems": [],
2484
4003
  "mappedType": "uuid"
2485
4004
  },
2486
4005
  "tenant_id": {
@@ -2490,6 +4009,13 @@
2490
4009
  "autoincrement": false,
2491
4010
  "primary": false,
2492
4011
  "nullable": false,
4012
+ "unique": false,
4013
+ "length": null,
4014
+ "precision": null,
4015
+ "scale": null,
4016
+ "default": null,
4017
+ "comment": null,
4018
+ "enumItems": [],
2493
4019
  "mappedType": "uuid"
2494
4020
  },
2495
4021
  "todo_id": {
@@ -2499,6 +4025,13 @@
2499
4025
  "autoincrement": false,
2500
4026
  "primary": false,
2501
4027
  "nullable": false,
4028
+ "unique": false,
4029
+ "length": null,
4030
+ "precision": null,
4031
+ "scale": null,
4032
+ "default": null,
4033
+ "comment": null,
4034
+ "enumItems": [],
2502
4035
  "mappedType": "uuid"
2503
4036
  },
2504
4037
  "todo_source": {
@@ -2508,7 +4041,13 @@
2508
4041
  "autoincrement": false,
2509
4042
  "primary": false,
2510
4043
  "nullable": false,
4044
+ "unique": false,
4045
+ "length": null,
4046
+ "precision": null,
4047
+ "scale": null,
2511
4048
  "default": "'example:todo'",
4049
+ "comment": null,
4050
+ "enumItems": [],
2512
4051
  "mappedType": "text"
2513
4052
  },
2514
4053
  "created_at": {
@@ -2518,7 +4057,13 @@
2518
4057
  "autoincrement": false,
2519
4058
  "primary": false,
2520
4059
  "nullable": false,
4060
+ "unique": false,
2521
4061
  "length": 6,
4062
+ "precision": null,
4063
+ "scale": null,
4064
+ "default": null,
4065
+ "comment": null,
4066
+ "enumItems": [],
2522
4067
  "mappedType": "datetime"
2523
4068
  },
2524
4069
  "created_by_user_id": {
@@ -2528,6 +4073,13 @@
2528
4073
  "autoincrement": false,
2529
4074
  "primary": false,
2530
4075
  "nullable": true,
4076
+ "unique": false,
4077
+ "length": null,
4078
+ "precision": null,
4079
+ "scale": null,
4080
+ "default": null,
4081
+ "comment": null,
4082
+ "enumItems": [],
2531
4083
  "mappedType": "uuid"
2532
4084
  },
2533
4085
  "entity_id": {
@@ -2537,6 +4089,13 @@
2537
4089
  "autoincrement": false,
2538
4090
  "primary": false,
2539
4091
  "nullable": false,
4092
+ "unique": false,
4093
+ "length": null,
4094
+ "precision": null,
4095
+ "scale": null,
4096
+ "default": null,
4097
+ "comment": null,
4098
+ "enumItems": [],
2540
4099
  "mappedType": "uuid"
2541
4100
  }
2542
4101
  },
@@ -2603,224 +4162,6 @@
2603
4162
  }
2604
4163
  },
2605
4164
  "nativeEnums": {}
2606
- },
2607
- {
2608
- "columns": {
2609
- "id": {
2610
- "name": "id",
2611
- "type": "uuid",
2612
- "unsigned": false,
2613
- "autoincrement": false,
2614
- "primary": false,
2615
- "nullable": false,
2616
- "default": "gen_random_uuid()",
2617
- "mappedType": "uuid"
2618
- },
2619
- "organization_id": {
2620
- "name": "organization_id",
2621
- "type": "uuid",
2622
- "unsigned": false,
2623
- "autoincrement": false,
2624
- "primary": false,
2625
- "nullable": false,
2626
- "mappedType": "uuid"
2627
- },
2628
- "tenant_id": {
2629
- "name": "tenant_id",
2630
- "type": "uuid",
2631
- "unsigned": false,
2632
- "autoincrement": false,
2633
- "primary": false,
2634
- "nullable": false,
2635
- "mappedType": "uuid"
2636
- },
2637
- "name": {
2638
- "name": "name",
2639
- "type": "text",
2640
- "unsigned": false,
2641
- "autoincrement": false,
2642
- "primary": false,
2643
- "nullable": false,
2644
- "mappedType": "text"
2645
- },
2646
- "is_default": {
2647
- "name": "is_default",
2648
- "type": "boolean",
2649
- "unsigned": false,
2650
- "autoincrement": false,
2651
- "primary": false,
2652
- "nullable": false,
2653
- "default": "false",
2654
- "mappedType": "boolean"
2655
- },
2656
- "created_at": {
2657
- "name": "created_at",
2658
- "type": "timestamptz",
2659
- "unsigned": false,
2660
- "autoincrement": false,
2661
- "primary": false,
2662
- "nullable": false,
2663
- "length": 6,
2664
- "mappedType": "datetime"
2665
- },
2666
- "updated_at": {
2667
- "name": "updated_at",
2668
- "type": "timestamptz",
2669
- "unsigned": false,
2670
- "autoincrement": false,
2671
- "primary": false,
2672
- "nullable": false,
2673
- "length": 6,
2674
- "mappedType": "datetime"
2675
- }
2676
- },
2677
- "name": "customer_pipelines",
2678
- "schema": "public",
2679
- "indexes": [
2680
- {
2681
- "keyName": "customer_pipelines_org_tenant_idx",
2682
- "columnNames": [
2683
- "organization_id",
2684
- "tenant_id"
2685
- ],
2686
- "composite": true,
2687
- "constraint": false,
2688
- "primary": false,
2689
- "unique": false
2690
- },
2691
- {
2692
- "keyName": "customer_pipelines_pkey",
2693
- "columnNames": [
2694
- "id"
2695
- ],
2696
- "composite": false,
2697
- "constraint": true,
2698
- "primary": true,
2699
- "unique": true
2700
- }
2701
- ],
2702
- "checks": [],
2703
- "foreignKeys": {},
2704
- "nativeEnums": {}
2705
- },
2706
- {
2707
- "columns": {
2708
- "id": {
2709
- "name": "id",
2710
- "type": "uuid",
2711
- "unsigned": false,
2712
- "autoincrement": false,
2713
- "primary": false,
2714
- "nullable": false,
2715
- "default": "gen_random_uuid()",
2716
- "mappedType": "uuid"
2717
- },
2718
- "organization_id": {
2719
- "name": "organization_id",
2720
- "type": "uuid",
2721
- "unsigned": false,
2722
- "autoincrement": false,
2723
- "primary": false,
2724
- "nullable": false,
2725
- "mappedType": "uuid"
2726
- },
2727
- "tenant_id": {
2728
- "name": "tenant_id",
2729
- "type": "uuid",
2730
- "unsigned": false,
2731
- "autoincrement": false,
2732
- "primary": false,
2733
- "nullable": false,
2734
- "mappedType": "uuid"
2735
- },
2736
- "pipeline_id": {
2737
- "name": "pipeline_id",
2738
- "type": "uuid",
2739
- "unsigned": false,
2740
- "autoincrement": false,
2741
- "primary": false,
2742
- "nullable": false,
2743
- "mappedType": "uuid"
2744
- },
2745
- "name": {
2746
- "name": "name",
2747
- "type": "text",
2748
- "unsigned": false,
2749
- "autoincrement": false,
2750
- "primary": false,
2751
- "nullable": false,
2752
- "mappedType": "text"
2753
- },
2754
- "position": {
2755
- "name": "position",
2756
- "type": "int",
2757
- "unsigned": false,
2758
- "autoincrement": false,
2759
- "primary": false,
2760
- "nullable": false,
2761
- "default": "0",
2762
- "mappedType": "integer"
2763
- },
2764
- "created_at": {
2765
- "name": "created_at",
2766
- "type": "timestamptz",
2767
- "unsigned": false,
2768
- "autoincrement": false,
2769
- "primary": false,
2770
- "nullable": false,
2771
- "length": 6,
2772
- "mappedType": "datetime"
2773
- },
2774
- "updated_at": {
2775
- "name": "updated_at",
2776
- "type": "timestamptz",
2777
- "unsigned": false,
2778
- "autoincrement": false,
2779
- "primary": false,
2780
- "nullable": false,
2781
- "length": 6,
2782
- "mappedType": "datetime"
2783
- }
2784
- },
2785
- "name": "customer_pipeline_stages",
2786
- "schema": "public",
2787
- "indexes": [
2788
- {
2789
- "keyName": "customer_pipeline_stages_pipeline_position_idx",
2790
- "columnNames": [
2791
- "pipeline_id",
2792
- "position"
2793
- ],
2794
- "composite": true,
2795
- "constraint": false,
2796
- "primary": false,
2797
- "unique": false
2798
- },
2799
- {
2800
- "keyName": "customer_pipeline_stages_org_tenant_idx",
2801
- "columnNames": [
2802
- "organization_id",
2803
- "tenant_id"
2804
- ],
2805
- "composite": true,
2806
- "constraint": false,
2807
- "primary": false,
2808
- "unique": false
2809
- },
2810
- {
2811
- "keyName": "customer_pipeline_stages_pkey",
2812
- "columnNames": [
2813
- "id"
2814
- ],
2815
- "composite": false,
2816
- "constraint": true,
2817
- "primary": true,
2818
- "unique": true
2819
- }
2820
- ],
2821
- "checks": [],
2822
- "foreignKeys": {},
2823
- "nativeEnums": {}
2824
4165
  }
2825
4166
  ],
2826
4167
  "nativeEnums": {}