@inkeep/agents-core 0.14.12 → 0.14.14

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.
@@ -0,0 +1,2425 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "657e0b92-37d2-44e7-b7ac-e81525e4c4c2",
5
+ "prevId": "00000000-0000-0000-0000-000000000000",
6
+ "tables": {
7
+ "agent_artifact_components": {
8
+ "name": "agent_artifact_components",
9
+ "columns": {
10
+ "tenant_id": {
11
+ "name": "tenant_id",
12
+ "type": "text",
13
+ "primaryKey": false,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "id": {
18
+ "name": "id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "project_id": {
25
+ "name": "project_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "graph_id": {
32
+ "name": "graph_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "agent_id": {
39
+ "name": "agent_id",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "artifact_component_id": {
46
+ "name": "artifact_component_id",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "created_at": {
53
+ "name": "created_at",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false,
58
+ "default": "CURRENT_TIMESTAMP"
59
+ }
60
+ },
61
+ "indexes": {},
62
+ "foreignKeys": {
63
+ "agent_artifact_components_agent_fk": {
64
+ "name": "agent_artifact_components_agent_fk",
65
+ "tableFrom": "agent_artifact_components",
66
+ "tableTo": "agents",
67
+ "columnsFrom": [
68
+ "tenant_id",
69
+ "project_id",
70
+ "graph_id",
71
+ "agent_id"
72
+ ],
73
+ "columnsTo": [
74
+ "tenant_id",
75
+ "project_id",
76
+ "graph_id",
77
+ "id"
78
+ ],
79
+ "onDelete": "cascade",
80
+ "onUpdate": "no action"
81
+ },
82
+ "agent_artifact_components_artifact_component_fk": {
83
+ "name": "agent_artifact_components_artifact_component_fk",
84
+ "tableFrom": "agent_artifact_components",
85
+ "tableTo": "artifact_components",
86
+ "columnsFrom": [
87
+ "tenant_id",
88
+ "project_id",
89
+ "artifact_component_id"
90
+ ],
91
+ "columnsTo": [
92
+ "tenant_id",
93
+ "project_id",
94
+ "id"
95
+ ],
96
+ "onDelete": "cascade",
97
+ "onUpdate": "no action"
98
+ }
99
+ },
100
+ "compositePrimaryKeys": {
101
+ "agent_artifact_components_tenant_id_project_id_graph_id_agent_id_id_pk": {
102
+ "columns": [
103
+ "tenant_id",
104
+ "project_id",
105
+ "graph_id",
106
+ "agent_id",
107
+ "id"
108
+ ],
109
+ "name": "agent_artifact_components_tenant_id_project_id_graph_id_agent_id_id_pk"
110
+ }
111
+ },
112
+ "uniqueConstraints": {},
113
+ "checkConstraints": {}
114
+ },
115
+ "agent_data_components": {
116
+ "name": "agent_data_components",
117
+ "columns": {
118
+ "tenant_id": {
119
+ "name": "tenant_id",
120
+ "type": "text",
121
+ "primaryKey": false,
122
+ "notNull": true,
123
+ "autoincrement": false
124
+ },
125
+ "id": {
126
+ "name": "id",
127
+ "type": "text",
128
+ "primaryKey": false,
129
+ "notNull": true,
130
+ "autoincrement": false
131
+ },
132
+ "project_id": {
133
+ "name": "project_id",
134
+ "type": "text",
135
+ "primaryKey": false,
136
+ "notNull": true,
137
+ "autoincrement": false
138
+ },
139
+ "graph_id": {
140
+ "name": "graph_id",
141
+ "type": "text",
142
+ "primaryKey": false,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "agent_id": {
147
+ "name": "agent_id",
148
+ "type": "text",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ },
153
+ "data_component_id": {
154
+ "name": "data_component_id",
155
+ "type": "text",
156
+ "primaryKey": false,
157
+ "notNull": true,
158
+ "autoincrement": false
159
+ },
160
+ "created_at": {
161
+ "name": "created_at",
162
+ "type": "text",
163
+ "primaryKey": false,
164
+ "notNull": true,
165
+ "autoincrement": false,
166
+ "default": "CURRENT_TIMESTAMP"
167
+ }
168
+ },
169
+ "indexes": {},
170
+ "foreignKeys": {
171
+ "agent_data_components_agent_fk": {
172
+ "name": "agent_data_components_agent_fk",
173
+ "tableFrom": "agent_data_components",
174
+ "tableTo": "agents",
175
+ "columnsFrom": [
176
+ "tenant_id",
177
+ "project_id",
178
+ "graph_id",
179
+ "agent_id"
180
+ ],
181
+ "columnsTo": [
182
+ "tenant_id",
183
+ "project_id",
184
+ "graph_id",
185
+ "id"
186
+ ],
187
+ "onDelete": "cascade",
188
+ "onUpdate": "no action"
189
+ },
190
+ "agent_data_components_data_component_fk": {
191
+ "name": "agent_data_components_data_component_fk",
192
+ "tableFrom": "agent_data_components",
193
+ "tableTo": "data_components",
194
+ "columnsFrom": [
195
+ "tenant_id",
196
+ "project_id",
197
+ "data_component_id"
198
+ ],
199
+ "columnsTo": [
200
+ "tenant_id",
201
+ "project_id",
202
+ "id"
203
+ ],
204
+ "onDelete": "cascade",
205
+ "onUpdate": "no action"
206
+ }
207
+ },
208
+ "compositePrimaryKeys": {
209
+ "agent_data_components_tenant_id_project_id_id_pk": {
210
+ "columns": [
211
+ "tenant_id",
212
+ "project_id",
213
+ "id"
214
+ ],
215
+ "name": "agent_data_components_tenant_id_project_id_id_pk"
216
+ }
217
+ },
218
+ "uniqueConstraints": {},
219
+ "checkConstraints": {}
220
+ },
221
+ "agent_graph": {
222
+ "name": "agent_graph",
223
+ "columns": {
224
+ "tenant_id": {
225
+ "name": "tenant_id",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "autoincrement": false
230
+ },
231
+ "id": {
232
+ "name": "id",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": true,
236
+ "autoincrement": false
237
+ },
238
+ "project_id": {
239
+ "name": "project_id",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": true,
243
+ "autoincrement": false
244
+ },
245
+ "name": {
246
+ "name": "name",
247
+ "type": "text",
248
+ "primaryKey": false,
249
+ "notNull": true,
250
+ "autoincrement": false
251
+ },
252
+ "description": {
253
+ "name": "description",
254
+ "type": "text",
255
+ "primaryKey": false,
256
+ "notNull": false,
257
+ "autoincrement": false
258
+ },
259
+ "default_agent_id": {
260
+ "name": "default_agent_id",
261
+ "type": "text",
262
+ "primaryKey": false,
263
+ "notNull": false,
264
+ "autoincrement": false
265
+ },
266
+ "context_config_id": {
267
+ "name": "context_config_id",
268
+ "type": "text",
269
+ "primaryKey": false,
270
+ "notNull": false,
271
+ "autoincrement": false
272
+ },
273
+ "models": {
274
+ "name": "models",
275
+ "type": "text",
276
+ "primaryKey": false,
277
+ "notNull": false,
278
+ "autoincrement": false
279
+ },
280
+ "status_updates": {
281
+ "name": "status_updates",
282
+ "type": "text",
283
+ "primaryKey": false,
284
+ "notNull": false,
285
+ "autoincrement": false
286
+ },
287
+ "graph_prompt": {
288
+ "name": "graph_prompt",
289
+ "type": "text",
290
+ "primaryKey": false,
291
+ "notNull": false,
292
+ "autoincrement": false
293
+ },
294
+ "stop_when": {
295
+ "name": "stop_when",
296
+ "type": "text",
297
+ "primaryKey": false,
298
+ "notNull": false,
299
+ "autoincrement": false
300
+ },
301
+ "created_at": {
302
+ "name": "created_at",
303
+ "type": "text",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false,
307
+ "default": "CURRENT_TIMESTAMP"
308
+ },
309
+ "updated_at": {
310
+ "name": "updated_at",
311
+ "type": "text",
312
+ "primaryKey": false,
313
+ "notNull": true,
314
+ "autoincrement": false,
315
+ "default": "CURRENT_TIMESTAMP"
316
+ }
317
+ },
318
+ "indexes": {},
319
+ "foreignKeys": {
320
+ "agent_graph_project_fk": {
321
+ "name": "agent_graph_project_fk",
322
+ "tableFrom": "agent_graph",
323
+ "tableTo": "projects",
324
+ "columnsFrom": [
325
+ "tenant_id",
326
+ "project_id"
327
+ ],
328
+ "columnsTo": [
329
+ "tenant_id",
330
+ "id"
331
+ ],
332
+ "onDelete": "cascade",
333
+ "onUpdate": "no action"
334
+ }
335
+ },
336
+ "compositePrimaryKeys": {
337
+ "agent_graph_tenant_id_project_id_id_pk": {
338
+ "columns": [
339
+ "tenant_id",
340
+ "project_id",
341
+ "id"
342
+ ],
343
+ "name": "agent_graph_tenant_id_project_id_id_pk"
344
+ }
345
+ },
346
+ "uniqueConstraints": {},
347
+ "checkConstraints": {}
348
+ },
349
+ "agent_relations": {
350
+ "name": "agent_relations",
351
+ "columns": {
352
+ "tenant_id": {
353
+ "name": "tenant_id",
354
+ "type": "text",
355
+ "primaryKey": false,
356
+ "notNull": true,
357
+ "autoincrement": false
358
+ },
359
+ "id": {
360
+ "name": "id",
361
+ "type": "text",
362
+ "primaryKey": false,
363
+ "notNull": true,
364
+ "autoincrement": false
365
+ },
366
+ "project_id": {
367
+ "name": "project_id",
368
+ "type": "text",
369
+ "primaryKey": false,
370
+ "notNull": true,
371
+ "autoincrement": false
372
+ },
373
+ "graph_id": {
374
+ "name": "graph_id",
375
+ "type": "text",
376
+ "primaryKey": false,
377
+ "notNull": true,
378
+ "autoincrement": false
379
+ },
380
+ "source_agent_id": {
381
+ "name": "source_agent_id",
382
+ "type": "text",
383
+ "primaryKey": false,
384
+ "notNull": true,
385
+ "autoincrement": false
386
+ },
387
+ "target_agent_id": {
388
+ "name": "target_agent_id",
389
+ "type": "text",
390
+ "primaryKey": false,
391
+ "notNull": false,
392
+ "autoincrement": false
393
+ },
394
+ "external_agent_id": {
395
+ "name": "external_agent_id",
396
+ "type": "text",
397
+ "primaryKey": false,
398
+ "notNull": false,
399
+ "autoincrement": false
400
+ },
401
+ "relation_type": {
402
+ "name": "relation_type",
403
+ "type": "text",
404
+ "primaryKey": false,
405
+ "notNull": false,
406
+ "autoincrement": false
407
+ },
408
+ "created_at": {
409
+ "name": "created_at",
410
+ "type": "text",
411
+ "primaryKey": false,
412
+ "notNull": true,
413
+ "autoincrement": false,
414
+ "default": "CURRENT_TIMESTAMP"
415
+ },
416
+ "updated_at": {
417
+ "name": "updated_at",
418
+ "type": "text",
419
+ "primaryKey": false,
420
+ "notNull": true,
421
+ "autoincrement": false,
422
+ "default": "CURRENT_TIMESTAMP"
423
+ }
424
+ },
425
+ "indexes": {},
426
+ "foreignKeys": {
427
+ "agent_relations_graph_fk": {
428
+ "name": "agent_relations_graph_fk",
429
+ "tableFrom": "agent_relations",
430
+ "tableTo": "agent_graph",
431
+ "columnsFrom": [
432
+ "tenant_id",
433
+ "project_id",
434
+ "graph_id"
435
+ ],
436
+ "columnsTo": [
437
+ "tenant_id",
438
+ "project_id",
439
+ "id"
440
+ ],
441
+ "onDelete": "cascade",
442
+ "onUpdate": "no action"
443
+ }
444
+ },
445
+ "compositePrimaryKeys": {
446
+ "agent_relations_tenant_id_project_id_graph_id_id_pk": {
447
+ "columns": [
448
+ "tenant_id",
449
+ "project_id",
450
+ "graph_id",
451
+ "id"
452
+ ],
453
+ "name": "agent_relations_tenant_id_project_id_graph_id_id_pk"
454
+ }
455
+ },
456
+ "uniqueConstraints": {},
457
+ "checkConstraints": {}
458
+ },
459
+ "agent_tool_relations": {
460
+ "name": "agent_tool_relations",
461
+ "columns": {
462
+ "tenant_id": {
463
+ "name": "tenant_id",
464
+ "type": "text",
465
+ "primaryKey": false,
466
+ "notNull": true,
467
+ "autoincrement": false
468
+ },
469
+ "id": {
470
+ "name": "id",
471
+ "type": "text",
472
+ "primaryKey": false,
473
+ "notNull": true,
474
+ "autoincrement": false
475
+ },
476
+ "project_id": {
477
+ "name": "project_id",
478
+ "type": "text",
479
+ "primaryKey": false,
480
+ "notNull": true,
481
+ "autoincrement": false
482
+ },
483
+ "graph_id": {
484
+ "name": "graph_id",
485
+ "type": "text",
486
+ "primaryKey": false,
487
+ "notNull": true,
488
+ "autoincrement": false
489
+ },
490
+ "agent_id": {
491
+ "name": "agent_id",
492
+ "type": "text",
493
+ "primaryKey": false,
494
+ "notNull": true,
495
+ "autoincrement": false
496
+ },
497
+ "tool_id": {
498
+ "name": "tool_id",
499
+ "type": "text",
500
+ "primaryKey": false,
501
+ "notNull": true,
502
+ "autoincrement": false
503
+ },
504
+ "selected_tools": {
505
+ "name": "selected_tools",
506
+ "type": "blob",
507
+ "primaryKey": false,
508
+ "notNull": false,
509
+ "autoincrement": false
510
+ },
511
+ "headers": {
512
+ "name": "headers",
513
+ "type": "blob",
514
+ "primaryKey": false,
515
+ "notNull": false,
516
+ "autoincrement": false
517
+ },
518
+ "created_at": {
519
+ "name": "created_at",
520
+ "type": "text",
521
+ "primaryKey": false,
522
+ "notNull": true,
523
+ "autoincrement": false,
524
+ "default": "CURRENT_TIMESTAMP"
525
+ },
526
+ "updated_at": {
527
+ "name": "updated_at",
528
+ "type": "text",
529
+ "primaryKey": false,
530
+ "notNull": true,
531
+ "autoincrement": false,
532
+ "default": "CURRENT_TIMESTAMP"
533
+ }
534
+ },
535
+ "indexes": {},
536
+ "foreignKeys": {
537
+ "agent_tool_relations_agent_fk": {
538
+ "name": "agent_tool_relations_agent_fk",
539
+ "tableFrom": "agent_tool_relations",
540
+ "tableTo": "agents",
541
+ "columnsFrom": [
542
+ "tenant_id",
543
+ "project_id",
544
+ "graph_id",
545
+ "agent_id"
546
+ ],
547
+ "columnsTo": [
548
+ "tenant_id",
549
+ "project_id",
550
+ "graph_id",
551
+ "id"
552
+ ],
553
+ "onDelete": "cascade",
554
+ "onUpdate": "no action"
555
+ },
556
+ "agent_tool_relations_tool_fk": {
557
+ "name": "agent_tool_relations_tool_fk",
558
+ "tableFrom": "agent_tool_relations",
559
+ "tableTo": "tools",
560
+ "columnsFrom": [
561
+ "tenant_id",
562
+ "project_id",
563
+ "tool_id"
564
+ ],
565
+ "columnsTo": [
566
+ "tenant_id",
567
+ "project_id",
568
+ "id"
569
+ ],
570
+ "onDelete": "cascade",
571
+ "onUpdate": "no action"
572
+ }
573
+ },
574
+ "compositePrimaryKeys": {
575
+ "agent_tool_relations_tenant_id_project_id_graph_id_id_pk": {
576
+ "columns": [
577
+ "tenant_id",
578
+ "project_id",
579
+ "graph_id",
580
+ "id"
581
+ ],
582
+ "name": "agent_tool_relations_tenant_id_project_id_graph_id_id_pk"
583
+ }
584
+ },
585
+ "uniqueConstraints": {},
586
+ "checkConstraints": {}
587
+ },
588
+ "agents": {
589
+ "name": "agents",
590
+ "columns": {
591
+ "tenant_id": {
592
+ "name": "tenant_id",
593
+ "type": "text",
594
+ "primaryKey": false,
595
+ "notNull": true,
596
+ "autoincrement": false
597
+ },
598
+ "id": {
599
+ "name": "id",
600
+ "type": "text",
601
+ "primaryKey": false,
602
+ "notNull": true,
603
+ "autoincrement": false
604
+ },
605
+ "project_id": {
606
+ "name": "project_id",
607
+ "type": "text",
608
+ "primaryKey": false,
609
+ "notNull": true,
610
+ "autoincrement": false
611
+ },
612
+ "graph_id": {
613
+ "name": "graph_id",
614
+ "type": "text",
615
+ "primaryKey": false,
616
+ "notNull": true,
617
+ "autoincrement": false
618
+ },
619
+ "name": {
620
+ "name": "name",
621
+ "type": "text",
622
+ "primaryKey": false,
623
+ "notNull": true,
624
+ "autoincrement": false
625
+ },
626
+ "description": {
627
+ "name": "description",
628
+ "type": "text",
629
+ "primaryKey": false,
630
+ "notNull": true,
631
+ "autoincrement": false
632
+ },
633
+ "prompt": {
634
+ "name": "prompt",
635
+ "type": "text",
636
+ "primaryKey": false,
637
+ "notNull": true,
638
+ "autoincrement": false
639
+ },
640
+ "conversation_history_config": {
641
+ "name": "conversation_history_config",
642
+ "type": "text",
643
+ "primaryKey": false,
644
+ "notNull": false,
645
+ "autoincrement": false
646
+ },
647
+ "models": {
648
+ "name": "models",
649
+ "type": "text",
650
+ "primaryKey": false,
651
+ "notNull": false,
652
+ "autoincrement": false
653
+ },
654
+ "stop_when": {
655
+ "name": "stop_when",
656
+ "type": "text",
657
+ "primaryKey": false,
658
+ "notNull": false,
659
+ "autoincrement": false
660
+ },
661
+ "created_at": {
662
+ "name": "created_at",
663
+ "type": "text",
664
+ "primaryKey": false,
665
+ "notNull": true,
666
+ "autoincrement": false,
667
+ "default": "CURRENT_TIMESTAMP"
668
+ },
669
+ "updated_at": {
670
+ "name": "updated_at",
671
+ "type": "text",
672
+ "primaryKey": false,
673
+ "notNull": true,
674
+ "autoincrement": false,
675
+ "default": "CURRENT_TIMESTAMP"
676
+ }
677
+ },
678
+ "indexes": {},
679
+ "foreignKeys": {
680
+ "agents_graph_fk": {
681
+ "name": "agents_graph_fk",
682
+ "tableFrom": "agents",
683
+ "tableTo": "agent_graph",
684
+ "columnsFrom": [
685
+ "tenant_id",
686
+ "project_id",
687
+ "graph_id"
688
+ ],
689
+ "columnsTo": [
690
+ "tenant_id",
691
+ "project_id",
692
+ "id"
693
+ ],
694
+ "onDelete": "cascade",
695
+ "onUpdate": "no action"
696
+ }
697
+ },
698
+ "compositePrimaryKeys": {
699
+ "agents_tenant_id_project_id_graph_id_id_pk": {
700
+ "columns": [
701
+ "tenant_id",
702
+ "project_id",
703
+ "graph_id",
704
+ "id"
705
+ ],
706
+ "name": "agents_tenant_id_project_id_graph_id_id_pk"
707
+ }
708
+ },
709
+ "uniqueConstraints": {},
710
+ "checkConstraints": {}
711
+ },
712
+ "api_keys": {
713
+ "name": "api_keys",
714
+ "columns": {
715
+ "tenant_id": {
716
+ "name": "tenant_id",
717
+ "type": "text",
718
+ "primaryKey": false,
719
+ "notNull": true,
720
+ "autoincrement": false
721
+ },
722
+ "id": {
723
+ "name": "id",
724
+ "type": "text",
725
+ "primaryKey": false,
726
+ "notNull": true,
727
+ "autoincrement": false
728
+ },
729
+ "project_id": {
730
+ "name": "project_id",
731
+ "type": "text",
732
+ "primaryKey": false,
733
+ "notNull": true,
734
+ "autoincrement": false
735
+ },
736
+ "graph_id": {
737
+ "name": "graph_id",
738
+ "type": "text",
739
+ "primaryKey": false,
740
+ "notNull": true,
741
+ "autoincrement": false
742
+ },
743
+ "public_id": {
744
+ "name": "public_id",
745
+ "type": "text",
746
+ "primaryKey": false,
747
+ "notNull": true,
748
+ "autoincrement": false
749
+ },
750
+ "key_hash": {
751
+ "name": "key_hash",
752
+ "type": "text",
753
+ "primaryKey": false,
754
+ "notNull": true,
755
+ "autoincrement": false
756
+ },
757
+ "key_prefix": {
758
+ "name": "key_prefix",
759
+ "type": "text",
760
+ "primaryKey": false,
761
+ "notNull": true,
762
+ "autoincrement": false
763
+ },
764
+ "name": {
765
+ "name": "name",
766
+ "type": "text",
767
+ "primaryKey": false,
768
+ "notNull": false,
769
+ "autoincrement": false
770
+ },
771
+ "last_used_at": {
772
+ "name": "last_used_at",
773
+ "type": "text",
774
+ "primaryKey": false,
775
+ "notNull": false,
776
+ "autoincrement": false
777
+ },
778
+ "expires_at": {
779
+ "name": "expires_at",
780
+ "type": "text",
781
+ "primaryKey": false,
782
+ "notNull": false,
783
+ "autoincrement": false
784
+ },
785
+ "created_at": {
786
+ "name": "created_at",
787
+ "type": "text",
788
+ "primaryKey": false,
789
+ "notNull": true,
790
+ "autoincrement": false,
791
+ "default": "CURRENT_TIMESTAMP"
792
+ },
793
+ "updated_at": {
794
+ "name": "updated_at",
795
+ "type": "text",
796
+ "primaryKey": false,
797
+ "notNull": true,
798
+ "autoincrement": false,
799
+ "default": "CURRENT_TIMESTAMP"
800
+ }
801
+ },
802
+ "indexes": {
803
+ "api_keys_public_id_unique": {
804
+ "name": "api_keys_public_id_unique",
805
+ "columns": [
806
+ "public_id"
807
+ ],
808
+ "isUnique": true
809
+ },
810
+ "api_keys_tenant_graph_idx": {
811
+ "name": "api_keys_tenant_graph_idx",
812
+ "columns": [
813
+ "tenant_id",
814
+ "graph_id"
815
+ ],
816
+ "isUnique": false
817
+ },
818
+ "api_keys_prefix_idx": {
819
+ "name": "api_keys_prefix_idx",
820
+ "columns": [
821
+ "key_prefix"
822
+ ],
823
+ "isUnique": false
824
+ },
825
+ "api_keys_public_id_idx": {
826
+ "name": "api_keys_public_id_idx",
827
+ "columns": [
828
+ "public_id"
829
+ ],
830
+ "isUnique": false
831
+ }
832
+ },
833
+ "foreignKeys": {
834
+ "api_keys_project_fk": {
835
+ "name": "api_keys_project_fk",
836
+ "tableFrom": "api_keys",
837
+ "tableTo": "projects",
838
+ "columnsFrom": [
839
+ "tenant_id",
840
+ "project_id"
841
+ ],
842
+ "columnsTo": [
843
+ "tenant_id",
844
+ "id"
845
+ ],
846
+ "onDelete": "cascade",
847
+ "onUpdate": "no action"
848
+ },
849
+ "api_keys_graph_fk": {
850
+ "name": "api_keys_graph_fk",
851
+ "tableFrom": "api_keys",
852
+ "tableTo": "agent_graph",
853
+ "columnsFrom": [
854
+ "tenant_id",
855
+ "project_id",
856
+ "graph_id"
857
+ ],
858
+ "columnsTo": [
859
+ "tenant_id",
860
+ "project_id",
861
+ "id"
862
+ ],
863
+ "onDelete": "cascade",
864
+ "onUpdate": "no action"
865
+ }
866
+ },
867
+ "compositePrimaryKeys": {},
868
+ "uniqueConstraints": {},
869
+ "checkConstraints": {}
870
+ },
871
+ "artifact_components": {
872
+ "name": "artifact_components",
873
+ "columns": {
874
+ "tenant_id": {
875
+ "name": "tenant_id",
876
+ "type": "text",
877
+ "primaryKey": false,
878
+ "notNull": true,
879
+ "autoincrement": false
880
+ },
881
+ "id": {
882
+ "name": "id",
883
+ "type": "text",
884
+ "primaryKey": false,
885
+ "notNull": true,
886
+ "autoincrement": false
887
+ },
888
+ "project_id": {
889
+ "name": "project_id",
890
+ "type": "text",
891
+ "primaryKey": false,
892
+ "notNull": true,
893
+ "autoincrement": false
894
+ },
895
+ "name": {
896
+ "name": "name",
897
+ "type": "text",
898
+ "primaryKey": false,
899
+ "notNull": true,
900
+ "autoincrement": false
901
+ },
902
+ "description": {
903
+ "name": "description",
904
+ "type": "text",
905
+ "primaryKey": false,
906
+ "notNull": true,
907
+ "autoincrement": false
908
+ },
909
+ "summary_props": {
910
+ "name": "summary_props",
911
+ "type": "blob",
912
+ "primaryKey": false,
913
+ "notNull": false,
914
+ "autoincrement": false
915
+ },
916
+ "full_props": {
917
+ "name": "full_props",
918
+ "type": "blob",
919
+ "primaryKey": false,
920
+ "notNull": false,
921
+ "autoincrement": false
922
+ },
923
+ "created_at": {
924
+ "name": "created_at",
925
+ "type": "text",
926
+ "primaryKey": false,
927
+ "notNull": true,
928
+ "autoincrement": false,
929
+ "default": "CURRENT_TIMESTAMP"
930
+ },
931
+ "updated_at": {
932
+ "name": "updated_at",
933
+ "type": "text",
934
+ "primaryKey": false,
935
+ "notNull": true,
936
+ "autoincrement": false,
937
+ "default": "CURRENT_TIMESTAMP"
938
+ }
939
+ },
940
+ "indexes": {},
941
+ "foreignKeys": {
942
+ "artifact_components_project_fk": {
943
+ "name": "artifact_components_project_fk",
944
+ "tableFrom": "artifact_components",
945
+ "tableTo": "projects",
946
+ "columnsFrom": [
947
+ "tenant_id",
948
+ "project_id"
949
+ ],
950
+ "columnsTo": [
951
+ "tenant_id",
952
+ "id"
953
+ ],
954
+ "onDelete": "cascade",
955
+ "onUpdate": "no action"
956
+ }
957
+ },
958
+ "compositePrimaryKeys": {
959
+ "artifact_components_tenant_id_project_id_id_pk": {
960
+ "columns": [
961
+ "tenant_id",
962
+ "project_id",
963
+ "id"
964
+ ],
965
+ "name": "artifact_components_tenant_id_project_id_id_pk"
966
+ }
967
+ },
968
+ "uniqueConstraints": {},
969
+ "checkConstraints": {}
970
+ },
971
+ "context_cache": {
972
+ "name": "context_cache",
973
+ "columns": {
974
+ "tenant_id": {
975
+ "name": "tenant_id",
976
+ "type": "text",
977
+ "primaryKey": false,
978
+ "notNull": true,
979
+ "autoincrement": false
980
+ },
981
+ "id": {
982
+ "name": "id",
983
+ "type": "text",
984
+ "primaryKey": false,
985
+ "notNull": true,
986
+ "autoincrement": false
987
+ },
988
+ "project_id": {
989
+ "name": "project_id",
990
+ "type": "text",
991
+ "primaryKey": false,
992
+ "notNull": true,
993
+ "autoincrement": false
994
+ },
995
+ "conversation_id": {
996
+ "name": "conversation_id",
997
+ "type": "text",
998
+ "primaryKey": false,
999
+ "notNull": true,
1000
+ "autoincrement": false
1001
+ },
1002
+ "context_config_id": {
1003
+ "name": "context_config_id",
1004
+ "type": "text",
1005
+ "primaryKey": false,
1006
+ "notNull": true,
1007
+ "autoincrement": false
1008
+ },
1009
+ "context_variable_key": {
1010
+ "name": "context_variable_key",
1011
+ "type": "text",
1012
+ "primaryKey": false,
1013
+ "notNull": true,
1014
+ "autoincrement": false
1015
+ },
1016
+ "value": {
1017
+ "name": "value",
1018
+ "type": "blob",
1019
+ "primaryKey": false,
1020
+ "notNull": true,
1021
+ "autoincrement": false
1022
+ },
1023
+ "request_hash": {
1024
+ "name": "request_hash",
1025
+ "type": "text",
1026
+ "primaryKey": false,
1027
+ "notNull": false,
1028
+ "autoincrement": false
1029
+ },
1030
+ "fetched_at": {
1031
+ "name": "fetched_at",
1032
+ "type": "text",
1033
+ "primaryKey": false,
1034
+ "notNull": true,
1035
+ "autoincrement": false
1036
+ },
1037
+ "fetch_source": {
1038
+ "name": "fetch_source",
1039
+ "type": "text",
1040
+ "primaryKey": false,
1041
+ "notNull": false,
1042
+ "autoincrement": false
1043
+ },
1044
+ "fetch_duration_ms": {
1045
+ "name": "fetch_duration_ms",
1046
+ "type": "integer",
1047
+ "primaryKey": false,
1048
+ "notNull": false,
1049
+ "autoincrement": false
1050
+ },
1051
+ "created_at": {
1052
+ "name": "created_at",
1053
+ "type": "text",
1054
+ "primaryKey": false,
1055
+ "notNull": true,
1056
+ "autoincrement": false,
1057
+ "default": "CURRENT_TIMESTAMP"
1058
+ },
1059
+ "updated_at": {
1060
+ "name": "updated_at",
1061
+ "type": "text",
1062
+ "primaryKey": false,
1063
+ "notNull": true,
1064
+ "autoincrement": false,
1065
+ "default": "CURRENT_TIMESTAMP"
1066
+ }
1067
+ },
1068
+ "indexes": {
1069
+ "context_cache_lookup_idx": {
1070
+ "name": "context_cache_lookup_idx",
1071
+ "columns": [
1072
+ "conversation_id",
1073
+ "context_config_id",
1074
+ "context_variable_key"
1075
+ ],
1076
+ "isUnique": false
1077
+ }
1078
+ },
1079
+ "foreignKeys": {
1080
+ "context_cache_project_fk": {
1081
+ "name": "context_cache_project_fk",
1082
+ "tableFrom": "context_cache",
1083
+ "tableTo": "projects",
1084
+ "columnsFrom": [
1085
+ "tenant_id",
1086
+ "project_id"
1087
+ ],
1088
+ "columnsTo": [
1089
+ "tenant_id",
1090
+ "id"
1091
+ ],
1092
+ "onDelete": "cascade",
1093
+ "onUpdate": "no action"
1094
+ }
1095
+ },
1096
+ "compositePrimaryKeys": {
1097
+ "context_cache_tenant_id_project_id_id_pk": {
1098
+ "columns": [
1099
+ "tenant_id",
1100
+ "project_id",
1101
+ "id"
1102
+ ],
1103
+ "name": "context_cache_tenant_id_project_id_id_pk"
1104
+ }
1105
+ },
1106
+ "uniqueConstraints": {},
1107
+ "checkConstraints": {}
1108
+ },
1109
+ "context_configs": {
1110
+ "name": "context_configs",
1111
+ "columns": {
1112
+ "tenant_id": {
1113
+ "name": "tenant_id",
1114
+ "type": "text",
1115
+ "primaryKey": false,
1116
+ "notNull": true,
1117
+ "autoincrement": false
1118
+ },
1119
+ "id": {
1120
+ "name": "id",
1121
+ "type": "text",
1122
+ "primaryKey": false,
1123
+ "notNull": true,
1124
+ "autoincrement": false
1125
+ },
1126
+ "project_id": {
1127
+ "name": "project_id",
1128
+ "type": "text",
1129
+ "primaryKey": false,
1130
+ "notNull": true,
1131
+ "autoincrement": false
1132
+ },
1133
+ "name": {
1134
+ "name": "name",
1135
+ "type": "text",
1136
+ "primaryKey": false,
1137
+ "notNull": true,
1138
+ "autoincrement": false
1139
+ },
1140
+ "description": {
1141
+ "name": "description",
1142
+ "type": "text",
1143
+ "primaryKey": false,
1144
+ "notNull": true,
1145
+ "autoincrement": false
1146
+ },
1147
+ "request_context_schema": {
1148
+ "name": "request_context_schema",
1149
+ "type": "blob",
1150
+ "primaryKey": false,
1151
+ "notNull": false,
1152
+ "autoincrement": false
1153
+ },
1154
+ "context_variables": {
1155
+ "name": "context_variables",
1156
+ "type": "blob",
1157
+ "primaryKey": false,
1158
+ "notNull": false,
1159
+ "autoincrement": false
1160
+ },
1161
+ "created_at": {
1162
+ "name": "created_at",
1163
+ "type": "text",
1164
+ "primaryKey": false,
1165
+ "notNull": true,
1166
+ "autoincrement": false,
1167
+ "default": "CURRENT_TIMESTAMP"
1168
+ },
1169
+ "updated_at": {
1170
+ "name": "updated_at",
1171
+ "type": "text",
1172
+ "primaryKey": false,
1173
+ "notNull": true,
1174
+ "autoincrement": false,
1175
+ "default": "CURRENT_TIMESTAMP"
1176
+ }
1177
+ },
1178
+ "indexes": {},
1179
+ "foreignKeys": {
1180
+ "context_configs_project_fk": {
1181
+ "name": "context_configs_project_fk",
1182
+ "tableFrom": "context_configs",
1183
+ "tableTo": "projects",
1184
+ "columnsFrom": [
1185
+ "tenant_id",
1186
+ "project_id"
1187
+ ],
1188
+ "columnsTo": [
1189
+ "tenant_id",
1190
+ "id"
1191
+ ],
1192
+ "onDelete": "cascade",
1193
+ "onUpdate": "no action"
1194
+ }
1195
+ },
1196
+ "compositePrimaryKeys": {
1197
+ "context_configs_tenant_id_project_id_id_pk": {
1198
+ "columns": [
1199
+ "tenant_id",
1200
+ "project_id",
1201
+ "id"
1202
+ ],
1203
+ "name": "context_configs_tenant_id_project_id_id_pk"
1204
+ }
1205
+ },
1206
+ "uniqueConstraints": {},
1207
+ "checkConstraints": {}
1208
+ },
1209
+ "conversations": {
1210
+ "name": "conversations",
1211
+ "columns": {
1212
+ "tenant_id": {
1213
+ "name": "tenant_id",
1214
+ "type": "text",
1215
+ "primaryKey": false,
1216
+ "notNull": true,
1217
+ "autoincrement": false
1218
+ },
1219
+ "id": {
1220
+ "name": "id",
1221
+ "type": "text",
1222
+ "primaryKey": false,
1223
+ "notNull": true,
1224
+ "autoincrement": false
1225
+ },
1226
+ "project_id": {
1227
+ "name": "project_id",
1228
+ "type": "text",
1229
+ "primaryKey": false,
1230
+ "notNull": true,
1231
+ "autoincrement": false
1232
+ },
1233
+ "user_id": {
1234
+ "name": "user_id",
1235
+ "type": "text",
1236
+ "primaryKey": false,
1237
+ "notNull": false,
1238
+ "autoincrement": false
1239
+ },
1240
+ "active_agent_id": {
1241
+ "name": "active_agent_id",
1242
+ "type": "text",
1243
+ "primaryKey": false,
1244
+ "notNull": true,
1245
+ "autoincrement": false
1246
+ },
1247
+ "title": {
1248
+ "name": "title",
1249
+ "type": "text",
1250
+ "primaryKey": false,
1251
+ "notNull": false,
1252
+ "autoincrement": false
1253
+ },
1254
+ "last_context_resolution": {
1255
+ "name": "last_context_resolution",
1256
+ "type": "text",
1257
+ "primaryKey": false,
1258
+ "notNull": false,
1259
+ "autoincrement": false
1260
+ },
1261
+ "metadata": {
1262
+ "name": "metadata",
1263
+ "type": "blob",
1264
+ "primaryKey": false,
1265
+ "notNull": false,
1266
+ "autoincrement": false
1267
+ },
1268
+ "created_at": {
1269
+ "name": "created_at",
1270
+ "type": "text",
1271
+ "primaryKey": false,
1272
+ "notNull": true,
1273
+ "autoincrement": false,
1274
+ "default": "CURRENT_TIMESTAMP"
1275
+ },
1276
+ "updated_at": {
1277
+ "name": "updated_at",
1278
+ "type": "text",
1279
+ "primaryKey": false,
1280
+ "notNull": true,
1281
+ "autoincrement": false,
1282
+ "default": "CURRENT_TIMESTAMP"
1283
+ }
1284
+ },
1285
+ "indexes": {},
1286
+ "foreignKeys": {
1287
+ "conversations_project_fk": {
1288
+ "name": "conversations_project_fk",
1289
+ "tableFrom": "conversations",
1290
+ "tableTo": "projects",
1291
+ "columnsFrom": [
1292
+ "tenant_id",
1293
+ "project_id"
1294
+ ],
1295
+ "columnsTo": [
1296
+ "tenant_id",
1297
+ "id"
1298
+ ],
1299
+ "onDelete": "cascade",
1300
+ "onUpdate": "no action"
1301
+ }
1302
+ },
1303
+ "compositePrimaryKeys": {
1304
+ "conversations_tenant_id_project_id_id_pk": {
1305
+ "columns": [
1306
+ "tenant_id",
1307
+ "project_id",
1308
+ "id"
1309
+ ],
1310
+ "name": "conversations_tenant_id_project_id_id_pk"
1311
+ }
1312
+ },
1313
+ "uniqueConstraints": {},
1314
+ "checkConstraints": {}
1315
+ },
1316
+ "credential_references": {
1317
+ "name": "credential_references",
1318
+ "columns": {
1319
+ "tenant_id": {
1320
+ "name": "tenant_id",
1321
+ "type": "text",
1322
+ "primaryKey": false,
1323
+ "notNull": true,
1324
+ "autoincrement": false
1325
+ },
1326
+ "id": {
1327
+ "name": "id",
1328
+ "type": "text",
1329
+ "primaryKey": false,
1330
+ "notNull": true,
1331
+ "autoincrement": false
1332
+ },
1333
+ "project_id": {
1334
+ "name": "project_id",
1335
+ "type": "text",
1336
+ "primaryKey": false,
1337
+ "notNull": true,
1338
+ "autoincrement": false
1339
+ },
1340
+ "type": {
1341
+ "name": "type",
1342
+ "type": "text",
1343
+ "primaryKey": false,
1344
+ "notNull": true,
1345
+ "autoincrement": false
1346
+ },
1347
+ "credential_store_id": {
1348
+ "name": "credential_store_id",
1349
+ "type": "text",
1350
+ "primaryKey": false,
1351
+ "notNull": true,
1352
+ "autoincrement": false
1353
+ },
1354
+ "retrieval_params": {
1355
+ "name": "retrieval_params",
1356
+ "type": "blob",
1357
+ "primaryKey": false,
1358
+ "notNull": false,
1359
+ "autoincrement": false
1360
+ },
1361
+ "created_at": {
1362
+ "name": "created_at",
1363
+ "type": "text",
1364
+ "primaryKey": false,
1365
+ "notNull": true,
1366
+ "autoincrement": false,
1367
+ "default": "CURRENT_TIMESTAMP"
1368
+ },
1369
+ "updated_at": {
1370
+ "name": "updated_at",
1371
+ "type": "text",
1372
+ "primaryKey": false,
1373
+ "notNull": true,
1374
+ "autoincrement": false,
1375
+ "default": "CURRENT_TIMESTAMP"
1376
+ }
1377
+ },
1378
+ "indexes": {},
1379
+ "foreignKeys": {
1380
+ "credential_references_project_fk": {
1381
+ "name": "credential_references_project_fk",
1382
+ "tableFrom": "credential_references",
1383
+ "tableTo": "projects",
1384
+ "columnsFrom": [
1385
+ "tenant_id",
1386
+ "project_id"
1387
+ ],
1388
+ "columnsTo": [
1389
+ "tenant_id",
1390
+ "id"
1391
+ ],
1392
+ "onDelete": "cascade",
1393
+ "onUpdate": "no action"
1394
+ }
1395
+ },
1396
+ "compositePrimaryKeys": {
1397
+ "credential_references_tenant_id_project_id_id_pk": {
1398
+ "columns": [
1399
+ "tenant_id",
1400
+ "project_id",
1401
+ "id"
1402
+ ],
1403
+ "name": "credential_references_tenant_id_project_id_id_pk"
1404
+ }
1405
+ },
1406
+ "uniqueConstraints": {},
1407
+ "checkConstraints": {}
1408
+ },
1409
+ "data_components": {
1410
+ "name": "data_components",
1411
+ "columns": {
1412
+ "tenant_id": {
1413
+ "name": "tenant_id",
1414
+ "type": "text",
1415
+ "primaryKey": false,
1416
+ "notNull": true,
1417
+ "autoincrement": false
1418
+ },
1419
+ "id": {
1420
+ "name": "id",
1421
+ "type": "text",
1422
+ "primaryKey": false,
1423
+ "notNull": true,
1424
+ "autoincrement": false
1425
+ },
1426
+ "project_id": {
1427
+ "name": "project_id",
1428
+ "type": "text",
1429
+ "primaryKey": false,
1430
+ "notNull": true,
1431
+ "autoincrement": false
1432
+ },
1433
+ "name": {
1434
+ "name": "name",
1435
+ "type": "text",
1436
+ "primaryKey": false,
1437
+ "notNull": true,
1438
+ "autoincrement": false
1439
+ },
1440
+ "description": {
1441
+ "name": "description",
1442
+ "type": "text",
1443
+ "primaryKey": false,
1444
+ "notNull": true,
1445
+ "autoincrement": false
1446
+ },
1447
+ "props": {
1448
+ "name": "props",
1449
+ "type": "blob",
1450
+ "primaryKey": false,
1451
+ "notNull": false,
1452
+ "autoincrement": false
1453
+ },
1454
+ "created_at": {
1455
+ "name": "created_at",
1456
+ "type": "text",
1457
+ "primaryKey": false,
1458
+ "notNull": true,
1459
+ "autoincrement": false,
1460
+ "default": "CURRENT_TIMESTAMP"
1461
+ },
1462
+ "updated_at": {
1463
+ "name": "updated_at",
1464
+ "type": "text",
1465
+ "primaryKey": false,
1466
+ "notNull": true,
1467
+ "autoincrement": false,
1468
+ "default": "CURRENT_TIMESTAMP"
1469
+ }
1470
+ },
1471
+ "indexes": {},
1472
+ "foreignKeys": {
1473
+ "data_components_project_fk": {
1474
+ "name": "data_components_project_fk",
1475
+ "tableFrom": "data_components",
1476
+ "tableTo": "projects",
1477
+ "columnsFrom": [
1478
+ "tenant_id",
1479
+ "project_id"
1480
+ ],
1481
+ "columnsTo": [
1482
+ "tenant_id",
1483
+ "id"
1484
+ ],
1485
+ "onDelete": "cascade",
1486
+ "onUpdate": "no action"
1487
+ }
1488
+ },
1489
+ "compositePrimaryKeys": {
1490
+ "data_components_tenant_id_project_id_id_pk": {
1491
+ "columns": [
1492
+ "tenant_id",
1493
+ "project_id",
1494
+ "id"
1495
+ ],
1496
+ "name": "data_components_tenant_id_project_id_id_pk"
1497
+ }
1498
+ },
1499
+ "uniqueConstraints": {},
1500
+ "checkConstraints": {}
1501
+ },
1502
+ "external_agents": {
1503
+ "name": "external_agents",
1504
+ "columns": {
1505
+ "tenant_id": {
1506
+ "name": "tenant_id",
1507
+ "type": "text",
1508
+ "primaryKey": false,
1509
+ "notNull": true,
1510
+ "autoincrement": false
1511
+ },
1512
+ "id": {
1513
+ "name": "id",
1514
+ "type": "text",
1515
+ "primaryKey": false,
1516
+ "notNull": true,
1517
+ "autoincrement": false
1518
+ },
1519
+ "project_id": {
1520
+ "name": "project_id",
1521
+ "type": "text",
1522
+ "primaryKey": false,
1523
+ "notNull": true,
1524
+ "autoincrement": false
1525
+ },
1526
+ "graph_id": {
1527
+ "name": "graph_id",
1528
+ "type": "text",
1529
+ "primaryKey": false,
1530
+ "notNull": true,
1531
+ "autoincrement": false
1532
+ },
1533
+ "name": {
1534
+ "name": "name",
1535
+ "type": "text",
1536
+ "primaryKey": false,
1537
+ "notNull": true,
1538
+ "autoincrement": false
1539
+ },
1540
+ "description": {
1541
+ "name": "description",
1542
+ "type": "text",
1543
+ "primaryKey": false,
1544
+ "notNull": true,
1545
+ "autoincrement": false
1546
+ },
1547
+ "base_url": {
1548
+ "name": "base_url",
1549
+ "type": "text",
1550
+ "primaryKey": false,
1551
+ "notNull": true,
1552
+ "autoincrement": false
1553
+ },
1554
+ "credential_reference_id": {
1555
+ "name": "credential_reference_id",
1556
+ "type": "text",
1557
+ "primaryKey": false,
1558
+ "notNull": false,
1559
+ "autoincrement": false
1560
+ },
1561
+ "headers": {
1562
+ "name": "headers",
1563
+ "type": "blob",
1564
+ "primaryKey": false,
1565
+ "notNull": false,
1566
+ "autoincrement": false
1567
+ },
1568
+ "created_at": {
1569
+ "name": "created_at",
1570
+ "type": "text",
1571
+ "primaryKey": false,
1572
+ "notNull": true,
1573
+ "autoincrement": false,
1574
+ "default": "CURRENT_TIMESTAMP"
1575
+ },
1576
+ "updated_at": {
1577
+ "name": "updated_at",
1578
+ "type": "text",
1579
+ "primaryKey": false,
1580
+ "notNull": true,
1581
+ "autoincrement": false,
1582
+ "default": "CURRENT_TIMESTAMP"
1583
+ }
1584
+ },
1585
+ "indexes": {},
1586
+ "foreignKeys": {
1587
+ "external_agents_graph_fk": {
1588
+ "name": "external_agents_graph_fk",
1589
+ "tableFrom": "external_agents",
1590
+ "tableTo": "agent_graph",
1591
+ "columnsFrom": [
1592
+ "tenant_id",
1593
+ "project_id",
1594
+ "graph_id"
1595
+ ],
1596
+ "columnsTo": [
1597
+ "tenant_id",
1598
+ "project_id",
1599
+ "id"
1600
+ ],
1601
+ "onDelete": "cascade",
1602
+ "onUpdate": "no action"
1603
+ },
1604
+ "external_agents_credential_reference_fk": {
1605
+ "name": "external_agents_credential_reference_fk",
1606
+ "tableFrom": "external_agents",
1607
+ "tableTo": "credential_references",
1608
+ "columnsFrom": [
1609
+ "tenant_id",
1610
+ "project_id",
1611
+ "credential_reference_id"
1612
+ ],
1613
+ "columnsTo": [
1614
+ "tenant_id",
1615
+ "project_id",
1616
+ "id"
1617
+ ],
1618
+ "onDelete": "set null",
1619
+ "onUpdate": "no action"
1620
+ }
1621
+ },
1622
+ "compositePrimaryKeys": {
1623
+ "external_agents_tenant_id_project_id_graph_id_id_pk": {
1624
+ "columns": [
1625
+ "tenant_id",
1626
+ "project_id",
1627
+ "graph_id",
1628
+ "id"
1629
+ ],
1630
+ "name": "external_agents_tenant_id_project_id_graph_id_id_pk"
1631
+ }
1632
+ },
1633
+ "uniqueConstraints": {},
1634
+ "checkConstraints": {}
1635
+ },
1636
+ "ledger_artifacts": {
1637
+ "name": "ledger_artifacts",
1638
+ "columns": {
1639
+ "tenant_id": {
1640
+ "name": "tenant_id",
1641
+ "type": "text",
1642
+ "primaryKey": false,
1643
+ "notNull": true,
1644
+ "autoincrement": false
1645
+ },
1646
+ "id": {
1647
+ "name": "id",
1648
+ "type": "text",
1649
+ "primaryKey": false,
1650
+ "notNull": true,
1651
+ "autoincrement": false
1652
+ },
1653
+ "project_id": {
1654
+ "name": "project_id",
1655
+ "type": "text",
1656
+ "primaryKey": false,
1657
+ "notNull": true,
1658
+ "autoincrement": false
1659
+ },
1660
+ "task_id": {
1661
+ "name": "task_id",
1662
+ "type": "text",
1663
+ "primaryKey": false,
1664
+ "notNull": true,
1665
+ "autoincrement": false
1666
+ },
1667
+ "tool_call_id": {
1668
+ "name": "tool_call_id",
1669
+ "type": "text",
1670
+ "primaryKey": false,
1671
+ "notNull": false,
1672
+ "autoincrement": false
1673
+ },
1674
+ "context_id": {
1675
+ "name": "context_id",
1676
+ "type": "text",
1677
+ "primaryKey": false,
1678
+ "notNull": true,
1679
+ "autoincrement": false
1680
+ },
1681
+ "type": {
1682
+ "name": "type",
1683
+ "type": "text",
1684
+ "primaryKey": false,
1685
+ "notNull": true,
1686
+ "autoincrement": false,
1687
+ "default": "'source'"
1688
+ },
1689
+ "name": {
1690
+ "name": "name",
1691
+ "type": "text",
1692
+ "primaryKey": false,
1693
+ "notNull": false,
1694
+ "autoincrement": false
1695
+ },
1696
+ "description": {
1697
+ "name": "description",
1698
+ "type": "text",
1699
+ "primaryKey": false,
1700
+ "notNull": false,
1701
+ "autoincrement": false
1702
+ },
1703
+ "parts": {
1704
+ "name": "parts",
1705
+ "type": "blob",
1706
+ "primaryKey": false,
1707
+ "notNull": false,
1708
+ "autoincrement": false
1709
+ },
1710
+ "metadata": {
1711
+ "name": "metadata",
1712
+ "type": "blob",
1713
+ "primaryKey": false,
1714
+ "notNull": false,
1715
+ "autoincrement": false
1716
+ },
1717
+ "summary": {
1718
+ "name": "summary",
1719
+ "type": "text",
1720
+ "primaryKey": false,
1721
+ "notNull": false,
1722
+ "autoincrement": false
1723
+ },
1724
+ "mime": {
1725
+ "name": "mime",
1726
+ "type": "blob",
1727
+ "primaryKey": false,
1728
+ "notNull": false,
1729
+ "autoincrement": false
1730
+ },
1731
+ "visibility": {
1732
+ "name": "visibility",
1733
+ "type": "text",
1734
+ "primaryKey": false,
1735
+ "notNull": false,
1736
+ "autoincrement": false,
1737
+ "default": "'context'"
1738
+ },
1739
+ "allowed_agents": {
1740
+ "name": "allowed_agents",
1741
+ "type": "blob",
1742
+ "primaryKey": false,
1743
+ "notNull": false,
1744
+ "autoincrement": false
1745
+ },
1746
+ "derived_from": {
1747
+ "name": "derived_from",
1748
+ "type": "text",
1749
+ "primaryKey": false,
1750
+ "notNull": false,
1751
+ "autoincrement": false
1752
+ },
1753
+ "created_at": {
1754
+ "name": "created_at",
1755
+ "type": "text",
1756
+ "primaryKey": false,
1757
+ "notNull": true,
1758
+ "autoincrement": false,
1759
+ "default": "CURRENT_TIMESTAMP"
1760
+ },
1761
+ "updated_at": {
1762
+ "name": "updated_at",
1763
+ "type": "text",
1764
+ "primaryKey": false,
1765
+ "notNull": true,
1766
+ "autoincrement": false,
1767
+ "default": "CURRENT_TIMESTAMP"
1768
+ }
1769
+ },
1770
+ "indexes": {
1771
+ "ledger_artifacts_task_id_idx": {
1772
+ "name": "ledger_artifacts_task_id_idx",
1773
+ "columns": [
1774
+ "task_id"
1775
+ ],
1776
+ "isUnique": false
1777
+ },
1778
+ "ledger_artifacts_tool_call_id_idx": {
1779
+ "name": "ledger_artifacts_tool_call_id_idx",
1780
+ "columns": [
1781
+ "tool_call_id"
1782
+ ],
1783
+ "isUnique": false
1784
+ },
1785
+ "ledger_artifacts_context_id_idx": {
1786
+ "name": "ledger_artifacts_context_id_idx",
1787
+ "columns": [
1788
+ "context_id"
1789
+ ],
1790
+ "isUnique": false
1791
+ },
1792
+ "ledger_artifacts_task_context_name_unique": {
1793
+ "name": "ledger_artifacts_task_context_name_unique",
1794
+ "columns": [
1795
+ "task_id",
1796
+ "context_id",
1797
+ "name"
1798
+ ],
1799
+ "isUnique": true
1800
+ }
1801
+ },
1802
+ "foreignKeys": {
1803
+ "ledger_artifacts_project_fk": {
1804
+ "name": "ledger_artifacts_project_fk",
1805
+ "tableFrom": "ledger_artifacts",
1806
+ "tableTo": "projects",
1807
+ "columnsFrom": [
1808
+ "tenant_id",
1809
+ "project_id"
1810
+ ],
1811
+ "columnsTo": [
1812
+ "tenant_id",
1813
+ "id"
1814
+ ],
1815
+ "onDelete": "cascade",
1816
+ "onUpdate": "no action"
1817
+ }
1818
+ },
1819
+ "compositePrimaryKeys": {
1820
+ "ledger_artifacts_tenant_id_project_id_id_task_id_pk": {
1821
+ "columns": [
1822
+ "tenant_id",
1823
+ "project_id",
1824
+ "id",
1825
+ "task_id"
1826
+ ],
1827
+ "name": "ledger_artifacts_tenant_id_project_id_id_task_id_pk"
1828
+ }
1829
+ },
1830
+ "uniqueConstraints": {},
1831
+ "checkConstraints": {}
1832
+ },
1833
+ "messages": {
1834
+ "name": "messages",
1835
+ "columns": {
1836
+ "tenant_id": {
1837
+ "name": "tenant_id",
1838
+ "type": "text",
1839
+ "primaryKey": false,
1840
+ "notNull": true,
1841
+ "autoincrement": false
1842
+ },
1843
+ "id": {
1844
+ "name": "id",
1845
+ "type": "text",
1846
+ "primaryKey": false,
1847
+ "notNull": true,
1848
+ "autoincrement": false
1849
+ },
1850
+ "project_id": {
1851
+ "name": "project_id",
1852
+ "type": "text",
1853
+ "primaryKey": false,
1854
+ "notNull": true,
1855
+ "autoincrement": false
1856
+ },
1857
+ "conversation_id": {
1858
+ "name": "conversation_id",
1859
+ "type": "text",
1860
+ "primaryKey": false,
1861
+ "notNull": true,
1862
+ "autoincrement": false
1863
+ },
1864
+ "role": {
1865
+ "name": "role",
1866
+ "type": "text",
1867
+ "primaryKey": false,
1868
+ "notNull": true,
1869
+ "autoincrement": false
1870
+ },
1871
+ "from_agent_id": {
1872
+ "name": "from_agent_id",
1873
+ "type": "text",
1874
+ "primaryKey": false,
1875
+ "notNull": false,
1876
+ "autoincrement": false
1877
+ },
1878
+ "to_agent_id": {
1879
+ "name": "to_agent_id",
1880
+ "type": "text",
1881
+ "primaryKey": false,
1882
+ "notNull": false,
1883
+ "autoincrement": false
1884
+ },
1885
+ "from_external_agent_id": {
1886
+ "name": "from_external_agent_id",
1887
+ "type": "text",
1888
+ "primaryKey": false,
1889
+ "notNull": false,
1890
+ "autoincrement": false
1891
+ },
1892
+ "to_external_agent_id": {
1893
+ "name": "to_external_agent_id",
1894
+ "type": "text",
1895
+ "primaryKey": false,
1896
+ "notNull": false,
1897
+ "autoincrement": false
1898
+ },
1899
+ "content": {
1900
+ "name": "content",
1901
+ "type": "blob",
1902
+ "primaryKey": false,
1903
+ "notNull": true,
1904
+ "autoincrement": false
1905
+ },
1906
+ "visibility": {
1907
+ "name": "visibility",
1908
+ "type": "text",
1909
+ "primaryKey": false,
1910
+ "notNull": true,
1911
+ "autoincrement": false,
1912
+ "default": "'user-facing'"
1913
+ },
1914
+ "message_type": {
1915
+ "name": "message_type",
1916
+ "type": "text",
1917
+ "primaryKey": false,
1918
+ "notNull": true,
1919
+ "autoincrement": false,
1920
+ "default": "'chat'"
1921
+ },
1922
+ "agent_id": {
1923
+ "name": "agent_id",
1924
+ "type": "text",
1925
+ "primaryKey": false,
1926
+ "notNull": false,
1927
+ "autoincrement": false
1928
+ },
1929
+ "task_id": {
1930
+ "name": "task_id",
1931
+ "type": "text",
1932
+ "primaryKey": false,
1933
+ "notNull": false,
1934
+ "autoincrement": false
1935
+ },
1936
+ "parent_message_id": {
1937
+ "name": "parent_message_id",
1938
+ "type": "text",
1939
+ "primaryKey": false,
1940
+ "notNull": false,
1941
+ "autoincrement": false
1942
+ },
1943
+ "a2a_task_id": {
1944
+ "name": "a2a_task_id",
1945
+ "type": "text",
1946
+ "primaryKey": false,
1947
+ "notNull": false,
1948
+ "autoincrement": false
1949
+ },
1950
+ "a2a_session_id": {
1951
+ "name": "a2a_session_id",
1952
+ "type": "text",
1953
+ "primaryKey": false,
1954
+ "notNull": false,
1955
+ "autoincrement": false
1956
+ },
1957
+ "metadata": {
1958
+ "name": "metadata",
1959
+ "type": "blob",
1960
+ "primaryKey": false,
1961
+ "notNull": false,
1962
+ "autoincrement": false
1963
+ },
1964
+ "created_at": {
1965
+ "name": "created_at",
1966
+ "type": "text",
1967
+ "primaryKey": false,
1968
+ "notNull": true,
1969
+ "autoincrement": false,
1970
+ "default": "CURRENT_TIMESTAMP"
1971
+ },
1972
+ "updated_at": {
1973
+ "name": "updated_at",
1974
+ "type": "text",
1975
+ "primaryKey": false,
1976
+ "notNull": true,
1977
+ "autoincrement": false,
1978
+ "default": "CURRENT_TIMESTAMP"
1979
+ }
1980
+ },
1981
+ "indexes": {},
1982
+ "foreignKeys": {
1983
+ "messages_project_fk": {
1984
+ "name": "messages_project_fk",
1985
+ "tableFrom": "messages",
1986
+ "tableTo": "projects",
1987
+ "columnsFrom": [
1988
+ "tenant_id",
1989
+ "project_id"
1990
+ ],
1991
+ "columnsTo": [
1992
+ "tenant_id",
1993
+ "id"
1994
+ ],
1995
+ "onDelete": "cascade",
1996
+ "onUpdate": "no action"
1997
+ }
1998
+ },
1999
+ "compositePrimaryKeys": {
2000
+ "messages_tenant_id_project_id_id_pk": {
2001
+ "columns": [
2002
+ "tenant_id",
2003
+ "project_id",
2004
+ "id"
2005
+ ],
2006
+ "name": "messages_tenant_id_project_id_id_pk"
2007
+ }
2008
+ },
2009
+ "uniqueConstraints": {},
2010
+ "checkConstraints": {}
2011
+ },
2012
+ "projects": {
2013
+ "name": "projects",
2014
+ "columns": {
2015
+ "tenant_id": {
2016
+ "name": "tenant_id",
2017
+ "type": "text",
2018
+ "primaryKey": false,
2019
+ "notNull": true,
2020
+ "autoincrement": false
2021
+ },
2022
+ "id": {
2023
+ "name": "id",
2024
+ "type": "text",
2025
+ "primaryKey": false,
2026
+ "notNull": true,
2027
+ "autoincrement": false
2028
+ },
2029
+ "name": {
2030
+ "name": "name",
2031
+ "type": "text",
2032
+ "primaryKey": false,
2033
+ "notNull": true,
2034
+ "autoincrement": false
2035
+ },
2036
+ "description": {
2037
+ "name": "description",
2038
+ "type": "text",
2039
+ "primaryKey": false,
2040
+ "notNull": true,
2041
+ "autoincrement": false
2042
+ },
2043
+ "models": {
2044
+ "name": "models",
2045
+ "type": "text",
2046
+ "primaryKey": false,
2047
+ "notNull": false,
2048
+ "autoincrement": false
2049
+ },
2050
+ "stop_when": {
2051
+ "name": "stop_when",
2052
+ "type": "text",
2053
+ "primaryKey": false,
2054
+ "notNull": false,
2055
+ "autoincrement": false
2056
+ },
2057
+ "created_at": {
2058
+ "name": "created_at",
2059
+ "type": "text",
2060
+ "primaryKey": false,
2061
+ "notNull": true,
2062
+ "autoincrement": false,
2063
+ "default": "CURRENT_TIMESTAMP"
2064
+ },
2065
+ "updated_at": {
2066
+ "name": "updated_at",
2067
+ "type": "text",
2068
+ "primaryKey": false,
2069
+ "notNull": true,
2070
+ "autoincrement": false,
2071
+ "default": "CURRENT_TIMESTAMP"
2072
+ }
2073
+ },
2074
+ "indexes": {},
2075
+ "foreignKeys": {},
2076
+ "compositePrimaryKeys": {
2077
+ "projects_tenant_id_id_pk": {
2078
+ "columns": [
2079
+ "tenant_id",
2080
+ "id"
2081
+ ],
2082
+ "name": "projects_tenant_id_id_pk"
2083
+ }
2084
+ },
2085
+ "uniqueConstraints": {},
2086
+ "checkConstraints": {}
2087
+ },
2088
+ "task_relations": {
2089
+ "name": "task_relations",
2090
+ "columns": {
2091
+ "tenant_id": {
2092
+ "name": "tenant_id",
2093
+ "type": "text",
2094
+ "primaryKey": false,
2095
+ "notNull": true,
2096
+ "autoincrement": false
2097
+ },
2098
+ "id": {
2099
+ "name": "id",
2100
+ "type": "text",
2101
+ "primaryKey": false,
2102
+ "notNull": true,
2103
+ "autoincrement": false
2104
+ },
2105
+ "project_id": {
2106
+ "name": "project_id",
2107
+ "type": "text",
2108
+ "primaryKey": false,
2109
+ "notNull": true,
2110
+ "autoincrement": false
2111
+ },
2112
+ "parent_task_id": {
2113
+ "name": "parent_task_id",
2114
+ "type": "text",
2115
+ "primaryKey": false,
2116
+ "notNull": true,
2117
+ "autoincrement": false
2118
+ },
2119
+ "child_task_id": {
2120
+ "name": "child_task_id",
2121
+ "type": "text",
2122
+ "primaryKey": false,
2123
+ "notNull": true,
2124
+ "autoincrement": false
2125
+ },
2126
+ "relation_type": {
2127
+ "name": "relation_type",
2128
+ "type": "text",
2129
+ "primaryKey": false,
2130
+ "notNull": false,
2131
+ "autoincrement": false,
2132
+ "default": "'parent_child'"
2133
+ },
2134
+ "created_at": {
2135
+ "name": "created_at",
2136
+ "type": "text",
2137
+ "primaryKey": false,
2138
+ "notNull": true,
2139
+ "autoincrement": false,
2140
+ "default": "CURRENT_TIMESTAMP"
2141
+ },
2142
+ "updated_at": {
2143
+ "name": "updated_at",
2144
+ "type": "text",
2145
+ "primaryKey": false,
2146
+ "notNull": true,
2147
+ "autoincrement": false,
2148
+ "default": "CURRENT_TIMESTAMP"
2149
+ }
2150
+ },
2151
+ "indexes": {},
2152
+ "foreignKeys": {
2153
+ "task_relations_project_fk": {
2154
+ "name": "task_relations_project_fk",
2155
+ "tableFrom": "task_relations",
2156
+ "tableTo": "projects",
2157
+ "columnsFrom": [
2158
+ "tenant_id",
2159
+ "project_id"
2160
+ ],
2161
+ "columnsTo": [
2162
+ "tenant_id",
2163
+ "id"
2164
+ ],
2165
+ "onDelete": "cascade",
2166
+ "onUpdate": "no action"
2167
+ }
2168
+ },
2169
+ "compositePrimaryKeys": {
2170
+ "task_relations_tenant_id_project_id_id_pk": {
2171
+ "columns": [
2172
+ "tenant_id",
2173
+ "project_id",
2174
+ "id"
2175
+ ],
2176
+ "name": "task_relations_tenant_id_project_id_id_pk"
2177
+ }
2178
+ },
2179
+ "uniqueConstraints": {},
2180
+ "checkConstraints": {}
2181
+ },
2182
+ "tasks": {
2183
+ "name": "tasks",
2184
+ "columns": {
2185
+ "tenant_id": {
2186
+ "name": "tenant_id",
2187
+ "type": "text",
2188
+ "primaryKey": false,
2189
+ "notNull": true,
2190
+ "autoincrement": false
2191
+ },
2192
+ "id": {
2193
+ "name": "id",
2194
+ "type": "text",
2195
+ "primaryKey": false,
2196
+ "notNull": true,
2197
+ "autoincrement": false
2198
+ },
2199
+ "project_id": {
2200
+ "name": "project_id",
2201
+ "type": "text",
2202
+ "primaryKey": false,
2203
+ "notNull": true,
2204
+ "autoincrement": false
2205
+ },
2206
+ "graph_id": {
2207
+ "name": "graph_id",
2208
+ "type": "text",
2209
+ "primaryKey": false,
2210
+ "notNull": true,
2211
+ "autoincrement": false
2212
+ },
2213
+ "agent_id": {
2214
+ "name": "agent_id",
2215
+ "type": "text",
2216
+ "primaryKey": false,
2217
+ "notNull": true,
2218
+ "autoincrement": false
2219
+ },
2220
+ "context_id": {
2221
+ "name": "context_id",
2222
+ "type": "text",
2223
+ "primaryKey": false,
2224
+ "notNull": true,
2225
+ "autoincrement": false
2226
+ },
2227
+ "status": {
2228
+ "name": "status",
2229
+ "type": "text",
2230
+ "primaryKey": false,
2231
+ "notNull": true,
2232
+ "autoincrement": false
2233
+ },
2234
+ "metadata": {
2235
+ "name": "metadata",
2236
+ "type": "blob",
2237
+ "primaryKey": false,
2238
+ "notNull": false,
2239
+ "autoincrement": false
2240
+ },
2241
+ "created_at": {
2242
+ "name": "created_at",
2243
+ "type": "text",
2244
+ "primaryKey": false,
2245
+ "notNull": true,
2246
+ "autoincrement": false,
2247
+ "default": "CURRENT_TIMESTAMP"
2248
+ },
2249
+ "updated_at": {
2250
+ "name": "updated_at",
2251
+ "type": "text",
2252
+ "primaryKey": false,
2253
+ "notNull": true,
2254
+ "autoincrement": false,
2255
+ "default": "CURRENT_TIMESTAMP"
2256
+ }
2257
+ },
2258
+ "indexes": {},
2259
+ "foreignKeys": {
2260
+ "tasks_agent_fk": {
2261
+ "name": "tasks_agent_fk",
2262
+ "tableFrom": "tasks",
2263
+ "tableTo": "agents",
2264
+ "columnsFrom": [
2265
+ "tenant_id",
2266
+ "project_id",
2267
+ "graph_id",
2268
+ "agent_id"
2269
+ ],
2270
+ "columnsTo": [
2271
+ "tenant_id",
2272
+ "project_id",
2273
+ "graph_id",
2274
+ "id"
2275
+ ],
2276
+ "onDelete": "cascade",
2277
+ "onUpdate": "no action"
2278
+ }
2279
+ },
2280
+ "compositePrimaryKeys": {
2281
+ "tasks_tenant_id_project_id_id_pk": {
2282
+ "columns": [
2283
+ "tenant_id",
2284
+ "project_id",
2285
+ "id"
2286
+ ],
2287
+ "name": "tasks_tenant_id_project_id_id_pk"
2288
+ }
2289
+ },
2290
+ "uniqueConstraints": {},
2291
+ "checkConstraints": {}
2292
+ },
2293
+ "tools": {
2294
+ "name": "tools",
2295
+ "columns": {
2296
+ "tenant_id": {
2297
+ "name": "tenant_id",
2298
+ "type": "text",
2299
+ "primaryKey": false,
2300
+ "notNull": true,
2301
+ "autoincrement": false
2302
+ },
2303
+ "id": {
2304
+ "name": "id",
2305
+ "type": "text",
2306
+ "primaryKey": false,
2307
+ "notNull": true,
2308
+ "autoincrement": false
2309
+ },
2310
+ "project_id": {
2311
+ "name": "project_id",
2312
+ "type": "text",
2313
+ "primaryKey": false,
2314
+ "notNull": true,
2315
+ "autoincrement": false
2316
+ },
2317
+ "name": {
2318
+ "name": "name",
2319
+ "type": "text",
2320
+ "primaryKey": false,
2321
+ "notNull": true,
2322
+ "autoincrement": false
2323
+ },
2324
+ "config": {
2325
+ "name": "config",
2326
+ "type": "blob",
2327
+ "primaryKey": false,
2328
+ "notNull": true,
2329
+ "autoincrement": false
2330
+ },
2331
+ "credential_reference_id": {
2332
+ "name": "credential_reference_id",
2333
+ "type": "text",
2334
+ "primaryKey": false,
2335
+ "notNull": false,
2336
+ "autoincrement": false
2337
+ },
2338
+ "headers": {
2339
+ "name": "headers",
2340
+ "type": "blob",
2341
+ "primaryKey": false,
2342
+ "notNull": false,
2343
+ "autoincrement": false
2344
+ },
2345
+ "image_url": {
2346
+ "name": "image_url",
2347
+ "type": "text",
2348
+ "primaryKey": false,
2349
+ "notNull": false,
2350
+ "autoincrement": false
2351
+ },
2352
+ "capabilities": {
2353
+ "name": "capabilities",
2354
+ "type": "blob",
2355
+ "primaryKey": false,
2356
+ "notNull": false,
2357
+ "autoincrement": false
2358
+ },
2359
+ "last_error": {
2360
+ "name": "last_error",
2361
+ "type": "text",
2362
+ "primaryKey": false,
2363
+ "notNull": false,
2364
+ "autoincrement": false
2365
+ },
2366
+ "created_at": {
2367
+ "name": "created_at",
2368
+ "type": "text",
2369
+ "primaryKey": false,
2370
+ "notNull": true,
2371
+ "autoincrement": false,
2372
+ "default": "CURRENT_TIMESTAMP"
2373
+ },
2374
+ "updated_at": {
2375
+ "name": "updated_at",
2376
+ "type": "text",
2377
+ "primaryKey": false,
2378
+ "notNull": true,
2379
+ "autoincrement": false,
2380
+ "default": "CURRENT_TIMESTAMP"
2381
+ }
2382
+ },
2383
+ "indexes": {},
2384
+ "foreignKeys": {
2385
+ "tools_project_fk": {
2386
+ "name": "tools_project_fk",
2387
+ "tableFrom": "tools",
2388
+ "tableTo": "projects",
2389
+ "columnsFrom": [
2390
+ "tenant_id",
2391
+ "project_id"
2392
+ ],
2393
+ "columnsTo": [
2394
+ "tenant_id",
2395
+ "id"
2396
+ ],
2397
+ "onDelete": "cascade",
2398
+ "onUpdate": "no action"
2399
+ }
2400
+ },
2401
+ "compositePrimaryKeys": {
2402
+ "tools_tenant_id_project_id_id_pk": {
2403
+ "columns": [
2404
+ "tenant_id",
2405
+ "project_id",
2406
+ "id"
2407
+ ],
2408
+ "name": "tools_tenant_id_project_id_id_pk"
2409
+ }
2410
+ },
2411
+ "uniqueConstraints": {},
2412
+ "checkConstraints": {}
2413
+ }
2414
+ },
2415
+ "views": {},
2416
+ "enums": {},
2417
+ "_meta": {
2418
+ "schemas": {},
2419
+ "tables": {},
2420
+ "columns": {}
2421
+ },
2422
+ "internal": {
2423
+ "indexes": {}
2424
+ }
2425
+ }