@c4t4/heyamigo 0.9.20 → 0.9.21

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,931 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "0b8cf8c7-fd05-41ed-a4a8-0086638033af",
5
+ "prevId": "6ac269f9-97a4-4ab9-a44d-de8b487add11",
6
+ "tables": {
7
+ "browser_tasks": {
8
+ "name": "browser_tasks",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "integer",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": true
16
+ },
17
+ "address": {
18
+ "name": "address",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "actor_person_id": {
25
+ "name": "actor_person_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "description": {
32
+ "name": "description",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "originating_message": {
39
+ "name": "originating_message",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "sender_number": {
46
+ "name": "sender_number",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "sender_name": {
53
+ "name": "sender_name",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": false,
57
+ "autoincrement": false
58
+ },
59
+ "allowed_tools": {
60
+ "name": "allowed_tools",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": false,
64
+ "autoincrement": false
65
+ },
66
+ "status": {
67
+ "name": "status",
68
+ "type": "text",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "autoincrement": false
72
+ },
73
+ "attempts": {
74
+ "name": "attempts",
75
+ "type": "integer",
76
+ "primaryKey": false,
77
+ "notNull": true,
78
+ "autoincrement": false,
79
+ "default": 0
80
+ },
81
+ "next_attempt_at": {
82
+ "name": "next_attempt_at",
83
+ "type": "integer",
84
+ "primaryKey": false,
85
+ "notNull": false,
86
+ "autoincrement": false
87
+ },
88
+ "last_error": {
89
+ "name": "last_error",
90
+ "type": "text",
91
+ "primaryKey": false,
92
+ "notNull": false,
93
+ "autoincrement": false
94
+ },
95
+ "claimed_by": {
96
+ "name": "claimed_by",
97
+ "type": "text",
98
+ "primaryKey": false,
99
+ "notNull": false,
100
+ "autoincrement": false
101
+ },
102
+ "claimed_at": {
103
+ "name": "claimed_at",
104
+ "type": "integer",
105
+ "primaryKey": false,
106
+ "notNull": false,
107
+ "autoincrement": false
108
+ },
109
+ "created_at": {
110
+ "name": "created_at",
111
+ "type": "integer",
112
+ "primaryKey": false,
113
+ "notNull": true,
114
+ "autoincrement": false
115
+ },
116
+ "updated_at": {
117
+ "name": "updated_at",
118
+ "type": "integer",
119
+ "primaryKey": false,
120
+ "notNull": true,
121
+ "autoincrement": false
122
+ }
123
+ },
124
+ "indexes": {
125
+ "btasks_by_status_next": {
126
+ "name": "btasks_by_status_next",
127
+ "columns": [
128
+ "status",
129
+ "next_attempt_at"
130
+ ],
131
+ "isUnique": false
132
+ }
133
+ },
134
+ "foreignKeys": {},
135
+ "compositePrimaryKeys": {},
136
+ "uniqueConstraints": {},
137
+ "checkConstraints": {}
138
+ },
139
+ "control": {
140
+ "name": "control",
141
+ "columns": {
142
+ "key": {
143
+ "name": "key",
144
+ "type": "text",
145
+ "primaryKey": true,
146
+ "notNull": true,
147
+ "autoincrement": false
148
+ },
149
+ "value": {
150
+ "name": "value",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": false,
154
+ "autoincrement": false
155
+ },
156
+ "requested_by": {
157
+ "name": "requested_by",
158
+ "type": "text",
159
+ "primaryKey": false,
160
+ "notNull": false,
161
+ "autoincrement": false
162
+ },
163
+ "requested_at": {
164
+ "name": "requested_at",
165
+ "type": "integer",
166
+ "primaryKey": false,
167
+ "notNull": true,
168
+ "autoincrement": false
169
+ }
170
+ },
171
+ "indexes": {},
172
+ "foreignKeys": {},
173
+ "compositePrimaryKeys": {},
174
+ "uniqueConstraints": {},
175
+ "checkConstraints": {}
176
+ },
177
+ "crons": {
178
+ "name": "crons",
179
+ "columns": {
180
+ "id": {
181
+ "name": "id",
182
+ "type": "integer",
183
+ "primaryKey": true,
184
+ "notNull": true,
185
+ "autoincrement": true
186
+ },
187
+ "name": {
188
+ "name": "name",
189
+ "type": "text",
190
+ "primaryKey": false,
191
+ "notNull": true,
192
+ "autoincrement": false
193
+ },
194
+ "enqueue_into": {
195
+ "name": "enqueue_into",
196
+ "type": "text",
197
+ "primaryKey": false,
198
+ "notNull": true,
199
+ "autoincrement": false
200
+ },
201
+ "payload": {
202
+ "name": "payload",
203
+ "type": "text",
204
+ "primaryKey": false,
205
+ "notNull": true,
206
+ "autoincrement": false
207
+ },
208
+ "recurrence": {
209
+ "name": "recurrence",
210
+ "type": "text",
211
+ "primaryKey": false,
212
+ "notNull": false,
213
+ "autoincrement": false
214
+ },
215
+ "timezone": {
216
+ "name": "timezone",
217
+ "type": "text",
218
+ "primaryKey": false,
219
+ "notNull": false,
220
+ "autoincrement": false
221
+ },
222
+ "next_run_at": {
223
+ "name": "next_run_at",
224
+ "type": "integer",
225
+ "primaryKey": false,
226
+ "notNull": true,
227
+ "autoincrement": false
228
+ },
229
+ "last_run_at": {
230
+ "name": "last_run_at",
231
+ "type": "integer",
232
+ "primaryKey": false,
233
+ "notNull": false,
234
+ "autoincrement": false
235
+ },
236
+ "enabled": {
237
+ "name": "enabled",
238
+ "type": "integer",
239
+ "primaryKey": false,
240
+ "notNull": true,
241
+ "autoincrement": false,
242
+ "default": 1
243
+ },
244
+ "created_at": {
245
+ "name": "created_at",
246
+ "type": "integer",
247
+ "primaryKey": false,
248
+ "notNull": true,
249
+ "autoincrement": false
250
+ }
251
+ },
252
+ "indexes": {
253
+ "crons_by_due": {
254
+ "name": "crons_by_due",
255
+ "columns": [
256
+ "enabled",
257
+ "next_run_at"
258
+ ],
259
+ "isUnique": false
260
+ },
261
+ "crons_name_uq": {
262
+ "name": "crons_name_uq",
263
+ "columns": [
264
+ "name"
265
+ ],
266
+ "isUnique": true,
267
+ "where": "\"crons\".\"recurrence\" IS NOT NULL"
268
+ }
269
+ },
270
+ "foreignKeys": {},
271
+ "compositePrimaryKeys": {},
272
+ "uniqueConstraints": {},
273
+ "checkConstraints": {}
274
+ },
275
+ "identities": {
276
+ "name": "identities",
277
+ "columns": {
278
+ "person_id": {
279
+ "name": "person_id",
280
+ "type": "text",
281
+ "primaryKey": false,
282
+ "notNull": true,
283
+ "autoincrement": false
284
+ },
285
+ "address": {
286
+ "name": "address",
287
+ "type": "text",
288
+ "primaryKey": false,
289
+ "notNull": true,
290
+ "autoincrement": false
291
+ },
292
+ "added_at": {
293
+ "name": "added_at",
294
+ "type": "integer",
295
+ "primaryKey": false,
296
+ "notNull": true,
297
+ "autoincrement": false
298
+ }
299
+ },
300
+ "indexes": {
301
+ "identities_address_unique": {
302
+ "name": "identities_address_unique",
303
+ "columns": [
304
+ "address"
305
+ ],
306
+ "isUnique": true
307
+ }
308
+ },
309
+ "foreignKeys": {
310
+ "identities_person_id_persons_id_fk": {
311
+ "name": "identities_person_id_persons_id_fk",
312
+ "tableFrom": "identities",
313
+ "tableTo": "persons",
314
+ "columnsFrom": [
315
+ "person_id"
316
+ ],
317
+ "columnsTo": [
318
+ "id"
319
+ ],
320
+ "onDelete": "no action",
321
+ "onUpdate": "no action"
322
+ }
323
+ },
324
+ "compositePrimaryKeys": {
325
+ "identities_person_id_address_pk": {
326
+ "columns": [
327
+ "person_id",
328
+ "address"
329
+ ],
330
+ "name": "identities_person_id_address_pk"
331
+ }
332
+ },
333
+ "uniqueConstraints": {},
334
+ "checkConstraints": {}
335
+ },
336
+ "inbound": {
337
+ "name": "inbound",
338
+ "columns": {
339
+ "id": {
340
+ "name": "id",
341
+ "type": "integer",
342
+ "primaryKey": true,
343
+ "notNull": true,
344
+ "autoincrement": true
345
+ },
346
+ "address": {
347
+ "name": "address",
348
+ "type": "text",
349
+ "primaryKey": false,
350
+ "notNull": true,
351
+ "autoincrement": false
352
+ },
353
+ "actor_address": {
354
+ "name": "actor_address",
355
+ "type": "text",
356
+ "primaryKey": false,
357
+ "notNull": false,
358
+ "autoincrement": false
359
+ },
360
+ "person_id": {
361
+ "name": "person_id",
362
+ "type": "text",
363
+ "primaryKey": false,
364
+ "notNull": false,
365
+ "autoincrement": false
366
+ },
367
+ "actor_person_id": {
368
+ "name": "actor_person_id",
369
+ "type": "text",
370
+ "primaryKey": false,
371
+ "notNull": false,
372
+ "autoincrement": false
373
+ },
374
+ "external_msg_id": {
375
+ "name": "external_msg_id",
376
+ "type": "text",
377
+ "primaryKey": false,
378
+ "notNull": false,
379
+ "autoincrement": false
380
+ },
381
+ "text": {
382
+ "name": "text",
383
+ "type": "text",
384
+ "primaryKey": false,
385
+ "notNull": true,
386
+ "autoincrement": false
387
+ },
388
+ "media_path": {
389
+ "name": "media_path",
390
+ "type": "text",
391
+ "primaryKey": false,
392
+ "notNull": false,
393
+ "autoincrement": false
394
+ },
395
+ "media_mime": {
396
+ "name": "media_mime",
397
+ "type": "text",
398
+ "primaryKey": false,
399
+ "notNull": false,
400
+ "autoincrement": false
401
+ },
402
+ "media_bytes": {
403
+ "name": "media_bytes",
404
+ "type": "integer",
405
+ "primaryKey": false,
406
+ "notNull": false,
407
+ "autoincrement": false
408
+ },
409
+ "push_name": {
410
+ "name": "push_name",
411
+ "type": "text",
412
+ "primaryKey": false,
413
+ "notNull": false,
414
+ "autoincrement": false
415
+ },
416
+ "trigger_reason": {
417
+ "name": "trigger_reason",
418
+ "type": "text",
419
+ "primaryKey": false,
420
+ "notNull": false,
421
+ "autoincrement": false
422
+ },
423
+ "kind": {
424
+ "name": "kind",
425
+ "type": "text",
426
+ "primaryKey": false,
427
+ "notNull": false,
428
+ "autoincrement": false
429
+ },
430
+ "payload": {
431
+ "name": "payload",
432
+ "type": "text",
433
+ "primaryKey": false,
434
+ "notNull": false,
435
+ "autoincrement": false
436
+ },
437
+ "status": {
438
+ "name": "status",
439
+ "type": "text",
440
+ "primaryKey": false,
441
+ "notNull": true,
442
+ "autoincrement": false
443
+ },
444
+ "attempts": {
445
+ "name": "attempts",
446
+ "type": "integer",
447
+ "primaryKey": false,
448
+ "notNull": true,
449
+ "autoincrement": false,
450
+ "default": 0
451
+ },
452
+ "next_attempt_at": {
453
+ "name": "next_attempt_at",
454
+ "type": "integer",
455
+ "primaryKey": false,
456
+ "notNull": false,
457
+ "autoincrement": false
458
+ },
459
+ "last_error": {
460
+ "name": "last_error",
461
+ "type": "text",
462
+ "primaryKey": false,
463
+ "notNull": false,
464
+ "autoincrement": false
465
+ },
466
+ "claimed_by": {
467
+ "name": "claimed_by",
468
+ "type": "text",
469
+ "primaryKey": false,
470
+ "notNull": false,
471
+ "autoincrement": false
472
+ },
473
+ "claimed_at": {
474
+ "name": "claimed_at",
475
+ "type": "integer",
476
+ "primaryKey": false,
477
+ "notNull": false,
478
+ "autoincrement": false
479
+ },
480
+ "received_at": {
481
+ "name": "received_at",
482
+ "type": "integer",
483
+ "primaryKey": false,
484
+ "notNull": true,
485
+ "autoincrement": false
486
+ },
487
+ "created_at": {
488
+ "name": "created_at",
489
+ "type": "integer",
490
+ "primaryKey": false,
491
+ "notNull": true,
492
+ "autoincrement": false
493
+ },
494
+ "updated_at": {
495
+ "name": "updated_at",
496
+ "type": "integer",
497
+ "primaryKey": false,
498
+ "notNull": true,
499
+ "autoincrement": false
500
+ }
501
+ },
502
+ "indexes": {
503
+ "inbound_by_status_next": {
504
+ "name": "inbound_by_status_next",
505
+ "columns": [
506
+ "status",
507
+ "next_attempt_at"
508
+ ],
509
+ "isUnique": false
510
+ },
511
+ "inbound_by_address": {
512
+ "name": "inbound_by_address",
513
+ "columns": [
514
+ "address"
515
+ ],
516
+ "isUnique": false
517
+ },
518
+ "inbound_by_person": {
519
+ "name": "inbound_by_person",
520
+ "columns": [
521
+ "person_id",
522
+ "received_at"
523
+ ],
524
+ "isUnique": false
525
+ },
526
+ "inbound_by_kind_done": {
527
+ "name": "inbound_by_kind_done",
528
+ "columns": [
529
+ "kind",
530
+ "status"
531
+ ],
532
+ "isUnique": false
533
+ },
534
+ "inbound_external_msg_id_uq": {
535
+ "name": "inbound_external_msg_id_uq",
536
+ "columns": [
537
+ "external_msg_id"
538
+ ],
539
+ "isUnique": true,
540
+ "where": "\"inbound\".\"external_msg_id\" IS NOT NULL"
541
+ }
542
+ },
543
+ "foreignKeys": {},
544
+ "compositePrimaryKeys": {},
545
+ "uniqueConstraints": {},
546
+ "checkConstraints": {}
547
+ },
548
+ "memory_writes": {
549
+ "name": "memory_writes",
550
+ "columns": {
551
+ "id": {
552
+ "name": "id",
553
+ "type": "integer",
554
+ "primaryKey": true,
555
+ "notNull": true,
556
+ "autoincrement": true
557
+ },
558
+ "op": {
559
+ "name": "op",
560
+ "type": "text",
561
+ "primaryKey": false,
562
+ "notNull": true,
563
+ "autoincrement": false
564
+ },
565
+ "payload": {
566
+ "name": "payload",
567
+ "type": "text",
568
+ "primaryKey": false,
569
+ "notNull": true,
570
+ "autoincrement": false
571
+ },
572
+ "idempotency_key": {
573
+ "name": "idempotency_key",
574
+ "type": "text",
575
+ "primaryKey": false,
576
+ "notNull": false,
577
+ "autoincrement": false
578
+ },
579
+ "status": {
580
+ "name": "status",
581
+ "type": "text",
582
+ "primaryKey": false,
583
+ "notNull": true,
584
+ "autoincrement": false
585
+ },
586
+ "attempts": {
587
+ "name": "attempts",
588
+ "type": "integer",
589
+ "primaryKey": false,
590
+ "notNull": true,
591
+ "autoincrement": false,
592
+ "default": 0
593
+ },
594
+ "next_attempt_at": {
595
+ "name": "next_attempt_at",
596
+ "type": "integer",
597
+ "primaryKey": false,
598
+ "notNull": false,
599
+ "autoincrement": false
600
+ },
601
+ "last_error": {
602
+ "name": "last_error",
603
+ "type": "text",
604
+ "primaryKey": false,
605
+ "notNull": false,
606
+ "autoincrement": false
607
+ },
608
+ "claimed_by": {
609
+ "name": "claimed_by",
610
+ "type": "text",
611
+ "primaryKey": false,
612
+ "notNull": false,
613
+ "autoincrement": false
614
+ },
615
+ "claimed_at": {
616
+ "name": "claimed_at",
617
+ "type": "integer",
618
+ "primaryKey": false,
619
+ "notNull": false,
620
+ "autoincrement": false
621
+ },
622
+ "created_at": {
623
+ "name": "created_at",
624
+ "type": "integer",
625
+ "primaryKey": false,
626
+ "notNull": true,
627
+ "autoincrement": false
628
+ },
629
+ "updated_at": {
630
+ "name": "updated_at",
631
+ "type": "integer",
632
+ "primaryKey": false,
633
+ "notNull": true,
634
+ "autoincrement": false
635
+ }
636
+ },
637
+ "indexes": {
638
+ "memwr_by_status_next": {
639
+ "name": "memwr_by_status_next",
640
+ "columns": [
641
+ "status",
642
+ "next_attempt_at"
643
+ ],
644
+ "isUnique": false
645
+ },
646
+ "memwr_idemp_uq": {
647
+ "name": "memwr_idemp_uq",
648
+ "columns": [
649
+ "idempotency_key"
650
+ ],
651
+ "isUnique": true,
652
+ "where": "\"memory_writes\".\"idempotency_key\" IS NOT NULL"
653
+ }
654
+ },
655
+ "foreignKeys": {},
656
+ "compositePrimaryKeys": {},
657
+ "uniqueConstraints": {},
658
+ "checkConstraints": {}
659
+ },
660
+ "outbound": {
661
+ "name": "outbound",
662
+ "columns": {
663
+ "id": {
664
+ "name": "id",
665
+ "type": "integer",
666
+ "primaryKey": true,
667
+ "notNull": true,
668
+ "autoincrement": true
669
+ },
670
+ "address": {
671
+ "name": "address",
672
+ "type": "text",
673
+ "primaryKey": false,
674
+ "notNull": true,
675
+ "autoincrement": false
676
+ },
677
+ "kind": {
678
+ "name": "kind",
679
+ "type": "text",
680
+ "primaryKey": false,
681
+ "notNull": true,
682
+ "autoincrement": false
683
+ },
684
+ "text": {
685
+ "name": "text",
686
+ "type": "text",
687
+ "primaryKey": false,
688
+ "notNull": false,
689
+ "autoincrement": false
690
+ },
691
+ "media_path": {
692
+ "name": "media_path",
693
+ "type": "text",
694
+ "primaryKey": false,
695
+ "notNull": false,
696
+ "autoincrement": false
697
+ },
698
+ "media_mime": {
699
+ "name": "media_mime",
700
+ "type": "text",
701
+ "primaryKey": false,
702
+ "notNull": false,
703
+ "autoincrement": false
704
+ },
705
+ "media_bytes": {
706
+ "name": "media_bytes",
707
+ "type": "integer",
708
+ "primaryKey": false,
709
+ "notNull": false,
710
+ "autoincrement": false
711
+ },
712
+ "quote_msg_id": {
713
+ "name": "quote_msg_id",
714
+ "type": "text",
715
+ "primaryKey": false,
716
+ "notNull": false,
717
+ "autoincrement": false
718
+ },
719
+ "idempotency_key": {
720
+ "name": "idempotency_key",
721
+ "type": "text",
722
+ "primaryKey": false,
723
+ "notNull": false,
724
+ "autoincrement": false
725
+ },
726
+ "status": {
727
+ "name": "status",
728
+ "type": "text",
729
+ "primaryKey": false,
730
+ "notNull": true,
731
+ "autoincrement": false
732
+ },
733
+ "attempts": {
734
+ "name": "attempts",
735
+ "type": "integer",
736
+ "primaryKey": false,
737
+ "notNull": true,
738
+ "autoincrement": false,
739
+ "default": 0
740
+ },
741
+ "next_attempt_at": {
742
+ "name": "next_attempt_at",
743
+ "type": "integer",
744
+ "primaryKey": false,
745
+ "notNull": false,
746
+ "autoincrement": false
747
+ },
748
+ "last_error": {
749
+ "name": "last_error",
750
+ "type": "text",
751
+ "primaryKey": false,
752
+ "notNull": false,
753
+ "autoincrement": false
754
+ },
755
+ "claimed_by": {
756
+ "name": "claimed_by",
757
+ "type": "text",
758
+ "primaryKey": false,
759
+ "notNull": false,
760
+ "autoincrement": false
761
+ },
762
+ "claimed_at": {
763
+ "name": "claimed_at",
764
+ "type": "integer",
765
+ "primaryKey": false,
766
+ "notNull": false,
767
+ "autoincrement": false
768
+ },
769
+ "created_at": {
770
+ "name": "created_at",
771
+ "type": "integer",
772
+ "primaryKey": false,
773
+ "notNull": true,
774
+ "autoincrement": false
775
+ },
776
+ "updated_at": {
777
+ "name": "updated_at",
778
+ "type": "integer",
779
+ "primaryKey": false,
780
+ "notNull": true,
781
+ "autoincrement": false
782
+ }
783
+ },
784
+ "indexes": {
785
+ "outbound_by_status_next": {
786
+ "name": "outbound_by_status_next",
787
+ "columns": [
788
+ "status",
789
+ "next_attempt_at"
790
+ ],
791
+ "isUnique": false
792
+ },
793
+ "outbound_by_address": {
794
+ "name": "outbound_by_address",
795
+ "columns": [
796
+ "address"
797
+ ],
798
+ "isUnique": false
799
+ },
800
+ "outbound_idempotency_key_uq": {
801
+ "name": "outbound_idempotency_key_uq",
802
+ "columns": [
803
+ "idempotency_key"
804
+ ],
805
+ "isUnique": true,
806
+ "where": "\"outbound\".\"idempotency_key\" IS NOT NULL"
807
+ }
808
+ },
809
+ "foreignKeys": {},
810
+ "compositePrimaryKeys": {},
811
+ "uniqueConstraints": {},
812
+ "checkConstraints": {}
813
+ },
814
+ "persons": {
815
+ "name": "persons",
816
+ "columns": {
817
+ "id": {
818
+ "name": "id",
819
+ "type": "text",
820
+ "primaryKey": true,
821
+ "notNull": true,
822
+ "autoincrement": false
823
+ },
824
+ "display_name": {
825
+ "name": "display_name",
826
+ "type": "text",
827
+ "primaryKey": false,
828
+ "notNull": false,
829
+ "autoincrement": false
830
+ },
831
+ "timezone": {
832
+ "name": "timezone",
833
+ "type": "text",
834
+ "primaryKey": false,
835
+ "notNull": false,
836
+ "autoincrement": false
837
+ },
838
+ "created_at": {
839
+ "name": "created_at",
840
+ "type": "integer",
841
+ "primaryKey": false,
842
+ "notNull": true,
843
+ "autoincrement": false
844
+ }
845
+ },
846
+ "indexes": {},
847
+ "foreignKeys": {},
848
+ "compositePrimaryKeys": {},
849
+ "uniqueConstraints": {},
850
+ "checkConstraints": {}
851
+ },
852
+ "workers": {
853
+ "name": "workers",
854
+ "columns": {
855
+ "id": {
856
+ "name": "id",
857
+ "type": "text",
858
+ "primaryKey": true,
859
+ "notNull": true,
860
+ "autoincrement": false
861
+ },
862
+ "kind": {
863
+ "name": "kind",
864
+ "type": "text",
865
+ "primaryKey": false,
866
+ "notNull": true,
867
+ "autoincrement": false
868
+ },
869
+ "status": {
870
+ "name": "status",
871
+ "type": "text",
872
+ "primaryKey": false,
873
+ "notNull": true,
874
+ "autoincrement": false
875
+ },
876
+ "current_job": {
877
+ "name": "current_job",
878
+ "type": "text",
879
+ "primaryKey": false,
880
+ "notNull": false,
881
+ "autoincrement": false
882
+ },
883
+ "last_seen": {
884
+ "name": "last_seen",
885
+ "type": "integer",
886
+ "primaryKey": false,
887
+ "notNull": true,
888
+ "autoincrement": false
889
+ },
890
+ "started_at": {
891
+ "name": "started_at",
892
+ "type": "integer",
893
+ "primaryKey": false,
894
+ "notNull": true,
895
+ "autoincrement": false
896
+ }
897
+ },
898
+ "indexes": {
899
+ "workers_by_kind_status": {
900
+ "name": "workers_by_kind_status",
901
+ "columns": [
902
+ "kind",
903
+ "status"
904
+ ],
905
+ "isUnique": false
906
+ },
907
+ "workers_by_last_seen": {
908
+ "name": "workers_by_last_seen",
909
+ "columns": [
910
+ "last_seen"
911
+ ],
912
+ "isUnique": false
913
+ }
914
+ },
915
+ "foreignKeys": {},
916
+ "compositePrimaryKeys": {},
917
+ "uniqueConstraints": {},
918
+ "checkConstraints": {}
919
+ }
920
+ },
921
+ "views": {},
922
+ "enums": {},
923
+ "_meta": {
924
+ "schemas": {},
925
+ "tables": {},
926
+ "columns": {}
927
+ },
928
+ "internal": {
929
+ "indexes": {}
930
+ }
931
+ }