1{
2 "version": "8",
3 "dialect": "postgres",
4 "id": "ad620f05-3fd1-43b8-a3ca-d4c02543d892",
5 "prevIds": ["00000000-0000-0000-0000-000000000000"],
6 "ddl": [
7 {
8 "isRlsEnabled": false,
9 "name": "relay_agent_activity_rows",
10 "entityType": "tables",
11 "schema": "public"
12 },
13 {
14 "isRlsEnabled": false,
15 "name": "relay_delivery_attempts",
16 "entityType": "tables",
17 "schema": "public"
18 },
19 {
20 "isRlsEnabled": false,
21 "name": "relay_dpop_proofs",
22 "entityType": "tables",
23 "schema": "public"
24 },
25 {
26 "isRlsEnabled": false,
27 "name": "relay_environment_credentials",
28 "entityType": "tables",
29 "schema": "public"
30 },
31 {
32 "isRlsEnabled": false,
33 "name": "relay_environment_links",
34 "entityType": "tables",
35 "schema": "public"
36 },
37 {
38 "isRlsEnabled": false,
39 "name": "relay_live_activities",
40 "entityType": "tables",
41 "schema": "public"
42 },
43 {
44 "isRlsEnabled": false,
45 "name": "relay_mobile_devices",
46 "entityType": "tables",
47 "schema": "public"
48 },
49 {
50 "type": "varchar(191)",
51 "typeSchema": null,
52 "notNull": true,
53 "dimensions": 0,
54 "default": null,
55 "generated": null,
56 "identity": null,
57 "name": "environment_id",
58 "entityType": "columns",
59 "schema": "public",
60 "table": "relay_agent_activity_rows"
61 },
62 {
63 "type": "text",
64 "typeSchema": null,
65 "notNull": true,
66 "dimensions": 0,
67 "default": null,
68 "generated": null,
69 "identity": null,
70 "name": "environment_public_key",
71 "entityType": "columns",
72 "schema": "public",
73 "table": "relay_agent_activity_rows"
74 },
75 {
76 "type": "varchar(191)",
77 "typeSchema": null,
78 "notNull": true,
79 "dimensions": 0,
80 "default": null,
81 "generated": null,
82 "identity": null,
83 "name": "thread_id",
84 "entityType": "columns",
85 "schema": "public",
86 "table": "relay_agent_activity_rows"
87 },
88 {
89 "type": "jsonb",
90 "typeSchema": null,
91 "notNull": true,
92 "dimensions": 0,
93 "default": null,
94 "generated": null,
95 "identity": null,
96 "name": "state_json",
97 "entityType": "columns",
98 "schema": "public",
99 "table": "relay_agent_activity_rows"
100 },
101 {
102 "type": "varchar(64)",
103 "typeSchema": null,
104 "notNull": true,
105 "dimensions": 0,
106 "default": null,
107 "generated": null,
108 "identity": null,
109 "name": "updated_at",
110 "entityType": "columns",
111 "schema": "public",
112 "table": "relay_agent_activity_rows"
113 },
114 {
115 "type": "varchar(64)",
116 "typeSchema": null,
117 "notNull": true,
118 "dimensions": 0,
119 "default": null,
120 "generated": null,
121 "identity": null,
122 "name": "created_at",
123 "entityType": "columns",
124 "schema": "public",
125 "table": "relay_agent_activity_rows"
126 },
127 {
128 "type": "varchar(36)",
129 "typeSchema": null,
130 "notNull": true,
131 "dimensions": 0,
132 "default": null,
133 "generated": null,
134 "identity": null,
135 "name": "id",
136 "entityType": "columns",
137 "schema": "public",
138 "table": "relay_delivery_attempts"
139 },
140 {
141 "type": "varchar(64)",
142 "typeSchema": null,
143 "notNull": true,
144 "dimensions": 0,
145 "default": null,
146 "generated": null,
147 "identity": null,
148 "name": "created_at",
149 "entityType": "columns",
150 "schema": "public",
151 "table": "relay_delivery_attempts"
152 },
153 {
154 "type": "varchar(255)",
155 "typeSchema": null,
156 "notNull": false,
157 "dimensions": 0,
158 "default": null,
159 "generated": null,
160 "identity": null,
161 "name": "user_id",
162 "entityType": "columns",
163 "schema": "public",
164 "table": "relay_delivery_attempts"
165 },
166 {
167 "type": "varchar(191)",
168 "typeSchema": null,
169 "notNull": false,
170 "dimensions": 0,
171 "default": null,
172 "generated": null,
173 "identity": null,
174 "name": "environment_id",
175 "entityType": "columns",
176 "schema": "public",
177 "table": "relay_delivery_attempts"
178 },
179 {
180 "type": "varchar(191)",
181 "typeSchema": null,
182 "notNull": false,
183 "dimensions": 0,
184 "default": null,
185 "generated": null,
186 "identity": null,
187 "name": "thread_id",
188 "entityType": "columns",
189 "schema": "public",
190 "table": "relay_delivery_attempts"
191 },
192 {
193 "type": "varchar(255)",
194 "typeSchema": null,
195 "notNull": false,
196 "dimensions": 0,
197 "default": null,
198 "generated": null,
199 "identity": null,
200 "name": "device_id",
201 "entityType": "columns",
202 "schema": "public",
203 "table": "relay_delivery_attempts"
204 },
205 {
206 "type": "varchar(64)",
207 "typeSchema": null,
208 "notNull": true,
209 "dimensions": 0,
210 "default": null,
211 "generated": null,
212 "identity": null,
213 "name": "kind",
214 "entityType": "columns",
215 "schema": "public",
216 "table": "relay_delivery_attempts"
217 },
218 {
219 "type": "varchar(64)",
220 "typeSchema": null,
221 "notNull": false,
222 "dimensions": 0,
223 "default": null,
224 "generated": null,
225 "identity": null,
226 "name": "source_job_id",
227 "entityType": "columns",
228 "schema": "public",
229 "table": "relay_delivery_attempts"
230 },
231 {
232 "type": "varchar(16)",
233 "typeSchema": null,
234 "notNull": false,
235 "dimensions": 0,
236 "default": null,
237 "generated": null,
238 "identity": null,
239 "name": "token_suffix",
240 "entityType": "columns",
241 "schema": "public",
242 "table": "relay_delivery_attempts"
243 },
244 {
245 "type": "integer",
246 "typeSchema": null,
247 "notNull": false,
248 "dimensions": 0,
249 "default": null,
250 "generated": null,
251 "identity": null,
252 "name": "apns_status",
253 "entityType": "columns",
254 "schema": "public",
255 "table": "relay_delivery_attempts"
256 },
257 {
258 "type": "text",
259 "typeSchema": null,
260 "notNull": false,
261 "dimensions": 0,
262 "default": null,
263 "generated": null,
264 "identity": null,
265 "name": "apns_reason",
266 "entityType": "columns",
267 "schema": "public",
268 "table": "relay_delivery_attempts"
269 },
270 {
271 "type": "varchar(128)",
272 "typeSchema": null,
273 "notNull": false,
274 "dimensions": 0,
275 "default": null,
276 "generated": null,
277 "identity": null,
278 "name": "apns_id",
279 "entityType": "columns",
280 "schema": "public",
281 "table": "relay_delivery_attempts"
282 },
283 {
284 "type": "text",
285 "typeSchema": null,
286 "notNull": false,
287 "dimensions": 0,
288 "default": null,
289 "generated": null,
290 "identity": null,
291 "name": "transport_error",
292 "entityType": "columns",
293 "schema": "public",
294 "table": "relay_delivery_attempts"
295 },
296 {
297 "type": "varchar(128)",
298 "typeSchema": null,
299 "notNull": true,
300 "dimensions": 0,
301 "default": null,
302 "generated": null,
303 "identity": null,
304 "name": "thumbprint",
305 "entityType": "columns",
306 "schema": "public",
307 "table": "relay_dpop_proofs"
308 },
309 {
310 "type": "varchar(255)",
311 "typeSchema": null,
312 "notNull": true,
313 "dimensions": 0,
314 "default": null,
315 "generated": null,
316 "identity": null,
317 "name": "jti",
318 "entityType": "columns",
319 "schema": "public",
320 "table": "relay_dpop_proofs"
321 },
322 {
323 "type": "integer",
324 "typeSchema": null,
325 "notNull": true,
326 "dimensions": 0,
327 "default": null,
328 "generated": null,
329 "identity": null,
330 "name": "iat",
331 "entityType": "columns",
332 "schema": "public",
333 "table": "relay_dpop_proofs"
334 },
335 {
336 "type": "varchar(64)",
337 "typeSchema": null,
338 "notNull": true,
339 "dimensions": 0,
340 "default": null,
341 "generated": null,
342 "identity": null,
343 "name": "expires_at",
344 "entityType": "columns",
345 "schema": "public",
346 "table": "relay_dpop_proofs"
347 },
348 {
349 "type": "varchar(64)",
350 "typeSchema": null,
351 "notNull": true,
352 "dimensions": 0,
353 "default": null,
354 "generated": null,
355 "identity": null,
356 "name": "created_at",
357 "entityType": "columns",
358 "schema": "public",
359 "table": "relay_dpop_proofs"
360 },
361 {
362 "type": "varchar(64)",
363 "typeSchema": null,
364 "notNull": true,
365 "dimensions": 0,
366 "default": null,
367 "generated": null,
368 "identity": null,
369 "name": "credential_id",
370 "entityType": "columns",
371 "schema": "public",
372 "table": "relay_environment_credentials"
373 },
374 {
375 "type": "varchar(191)",
376 "typeSchema": null,
377 "notNull": true,
378 "dimensions": 0,
379 "default": null,
380 "generated": null,
381 "identity": null,
382 "name": "environment_id",
383 "entityType": "columns",
384 "schema": "public",
385 "table": "relay_environment_credentials"
386 },
387 {
388 "type": "text",
389 "typeSchema": null,
390 "notNull": true,
391 "dimensions": 0,
392 "default": null,
393 "generated": null,
394 "identity": null,
395 "name": "environment_public_key",
396 "entityType": "columns",
397 "schema": "public",
398 "table": "relay_environment_credentials"
399 },
400 {
401 "type": "varchar(191)",
402 "typeSchema": null,
403 "notNull": true,
404 "dimensions": 0,
405 "default": null,
406 "generated": null,
407 "identity": null,
408 "name": "credential_hash",
409 "entityType": "columns",
410 "schema": "public",
411 "table": "relay_environment_credentials"
412 },
413 {
414 "type": "varchar(64)",
415 "typeSchema": null,
416 "notNull": false,
417 "dimensions": 0,
418 "default": null,
419 "generated": null,
420 "identity": null,
421 "name": "revoked_at",
422 "entityType": "columns",
423 "schema": "public",
424 "table": "relay_environment_credentials"
425 },
426 {
427 "type": "varchar(64)",
428 "typeSchema": null,
429 "notNull": true,
430 "dimensions": 0,
431 "default": null,
432 "generated": null,
433 "identity": null,
434 "name": "created_at",
435 "entityType": "columns",
436 "schema": "public",
437 "table": "relay_environment_credentials"
438 },
439 {
440 "type": "varchar(64)",
441 "typeSchema": null,
442 "notNull": true,
443 "dimensions": 0,
444 "default": null,
445 "generated": null,
446 "identity": null,
447 "name": "updated_at",
448 "entityType": "columns",
449 "schema": "public",
450 "table": "relay_environment_credentials"
451 },
452 {
453 "type": "varchar(191)",
454 "typeSchema": null,
455 "notNull": true,
456 "dimensions": 0,
457 "default": null,
458 "generated": null,
459 "identity": null,
460 "name": "user_id",
461 "entityType": "columns",
462 "schema": "public",
463 "table": "relay_environment_links"
464 },
465 {
466 "type": "varchar(191)",
467 "typeSchema": null,
468 "notNull": true,
469 "dimensions": 0,
470 "default": null,
471 "generated": null,
472 "identity": null,
473 "name": "environment_id",
474 "entityType": "columns",
475 "schema": "public",
476 "table": "relay_environment_links"
477 },
478 {
479 "type": "text",
480 "typeSchema": null,
481 "notNull": true,
482 "dimensions": 0,
483 "default": "'T3 Environment'",
484 "generated": null,
485 "identity": null,
486 "name": "environment_label",
487 "entityType": "columns",
488 "schema": "public",
489 "table": "relay_environment_links"
490 },
491 {
492 "type": "text",
493 "typeSchema": null,
494 "notNull": true,
495 "dimensions": 0,
496 "default": null,
497 "generated": null,
498 "identity": null,
499 "name": "environment_public_key",
500 "entityType": "columns",
501 "schema": "public",
502 "table": "relay_environment_links"
503 },
504 {
505 "type": "text",
506 "typeSchema": null,
507 "notNull": true,
508 "dimensions": 0,
509 "default": null,
510 "generated": null,
511 "identity": null,
512 "name": "endpoint_http_base_url",
513 "entityType": "columns",
514 "schema": "public",
515 "table": "relay_environment_links"
516 },
517 {
518 "type": "text",
519 "typeSchema": null,
520 "notNull": true,
521 "dimensions": 0,
522 "default": null,
523 "generated": null,
524 "identity": null,
525 "name": "endpoint_ws_base_url",
526 "entityType": "columns",
527 "schema": "public",
528 "table": "relay_environment_links"
529 },
530 {
531 "type": "varchar(32)",
532 "typeSchema": null,
533 "notNull": true,
534 "dimensions": 0,
535 "default": null,
536 "generated": null,
537 "identity": null,
538 "name": "endpoint_provider_kind",
539 "entityType": "columns",
540 "schema": "public",
541 "table": "relay_environment_links"
542 },
543 {
544 "type": "boolean",
545 "typeSchema": null,
546 "notNull": true,
547 "dimensions": 0,
548 "default": "true",
549 "generated": null,
550 "identity": null,
551 "name": "notifications_enabled",
552 "entityType": "columns",
553 "schema": "public",
554 "table": "relay_environment_links"
555 },
556 {
557 "type": "boolean",
558 "typeSchema": null,
559 "notNull": true,
560 "dimensions": 0,
561 "default": "true",
562 "generated": null,
563 "identity": null,
564 "name": "live_activities_enabled",
565 "entityType": "columns",
566 "schema": "public",
567 "table": "relay_environment_links"
568 },
569 {
570 "type": "boolean",
571 "typeSchema": null,
572 "notNull": true,
573 "dimensions": 0,
574 "default": "false",
575 "generated": null,
576 "identity": null,
577 "name": "managed_tunnels_enabled",
578 "entityType": "columns",
579 "schema": "public",
580 "table": "relay_environment_links"
581 },
582 {
583 "type": "varchar(191)",
584 "typeSchema": null,
585 "notNull": false,
586 "dimensions": 0,
587 "default": null,
588 "generated": null,
589 "identity": null,
590 "name": "created_by_device_id",
591 "entityType": "columns",
592 "schema": "public",
593 "table": "relay_environment_links"
594 },
595 {
596 "type": "varchar(64)",
597 "typeSchema": null,
598 "notNull": false,
599 "dimensions": 0,
600 "default": null,
601 "generated": null,
602 "identity": null,
603 "name": "revoked_at",
604 "entityType": "columns",
605 "schema": "public",
606 "table": "relay_environment_links"
607 },
608 {
609 "type": "varchar(64)",
610 "typeSchema": null,
611 "notNull": true,
612 "dimensions": 0,
613 "default": null,
614 "generated": null,
615 "identity": null,
616 "name": "created_at",
617 "entityType": "columns",
618 "schema": "public",
619 "table": "relay_environment_links"
620 },
621 {
622 "type": "varchar(64)",
623 "typeSchema": null,
624 "notNull": true,
625 "dimensions": 0,
626 "default": null,
627 "generated": null,
628 "identity": null,
629 "name": "updated_at",
630 "entityType": "columns",
631 "schema": "public",
632 "table": "relay_environment_links"
633 },
634 {
635 "type": "varchar(255)",
636 "typeSchema": null,
637 "notNull": true,
638 "dimensions": 0,
639 "default": null,
640 "generated": null,
641 "identity": null,
642 "name": "user_id",
643 "entityType": "columns",
644 "schema": "public",
645 "table": "relay_live_activities"
646 },
647 {
648 "type": "varchar(255)",
649 "typeSchema": null,
650 "notNull": true,
651 "dimensions": 0,
652 "default": null,
653 "generated": null,
654 "identity": null,
655 "name": "device_id",
656 "entityType": "columns",
657 "schema": "public",
658 "table": "relay_live_activities"
659 },
660 {
661 "type": "text",
662 "typeSchema": null,
663 "notNull": false,
664 "dimensions": 0,
665 "default": null,
666 "generated": null,
667 "identity": null,
668 "name": "activity_push_token",
669 "entityType": "columns",
670 "schema": "public",
671 "table": "relay_live_activities"
672 },
673 {
674 "type": "varchar(64)",
675 "typeSchema": null,
676 "notNull": false,
677 "dimensions": 0,
678 "default": null,
679 "generated": null,
680 "identity": null,
681 "name": "remote_start_queued_at",
682 "entityType": "columns",
683 "schema": "public",
684 "table": "relay_live_activities"
685 },
686 {
687 "type": "varchar(64)",
688 "typeSchema": null,
689 "notNull": false,
690 "dimensions": 0,
691 "default": null,
692 "generated": null,
693 "identity": null,
694 "name": "remote_started_at",
695 "entityType": "columns",
696 "schema": "public",
697 "table": "relay_live_activities"
698 },
699 {
700 "type": "varchar(64)",
701 "typeSchema": null,
702 "notNull": false,
703 "dimensions": 0,
704 "default": null,
705 "generated": null,
706 "identity": null,
707 "name": "ended_at",
708 "entityType": "columns",
709 "schema": "public",
710 "table": "relay_live_activities"
711 },
712 {
713 "type": "jsonb",
714 "typeSchema": null,
715 "notNull": false,
716 "dimensions": 0,
717 "default": null,
718 "generated": null,
719 "identity": null,
720 "name": "last_aggregate_json",
721 "entityType": "columns",
722 "schema": "public",
723 "table": "relay_live_activities"
724 },
725 {
726 "type": "varchar(64)",
727 "typeSchema": null,
728 "notNull": false,
729 "dimensions": 0,
730 "default": null,
731 "generated": null,
732 "identity": null,
733 "name": "last_live_activity_delivery_at",
734 "entityType": "columns",
735 "schema": "public",
736 "table": "relay_live_activities"
737 },
738 {
739 "type": "varchar(64)",
740 "typeSchema": null,
741 "notNull": true,
742 "dimensions": 0,
743 "default": null,
744 "generated": null,
745 "identity": null,
746 "name": "created_at",
747 "entityType": "columns",
748 "schema": "public",
749 "table": "relay_live_activities"
750 },
751 {
752 "type": "varchar(64)",
753 "typeSchema": null,
754 "notNull": true,
755 "dimensions": 0,
756 "default": null,
757 "generated": null,
758 "identity": null,
759 "name": "updated_at",
760 "entityType": "columns",
761 "schema": "public",
762 "table": "relay_live_activities"
763 },
764 {
765 "type": "varchar(255)",
766 "typeSchema": null,
767 "notNull": true,
768 "dimensions": 0,
769 "default": null,
770 "generated": null,
771 "identity": null,
772 "name": "user_id",
773 "entityType": "columns",
774 "schema": "public",
775 "table": "relay_mobile_devices"
776 },
777 {
778 "type": "varchar(255)",
779 "typeSchema": null,
780 "notNull": true,
781 "dimensions": 0,
782 "default": null,
783 "generated": null,
784 "identity": null,
785 "name": "device_id",
786 "entityType": "columns",
787 "schema": "public",
788 "table": "relay_mobile_devices"
789 },
790 {
791 "type": "varchar(16)",
792 "typeSchema": null,
793 "notNull": true,
794 "dimensions": 0,
795 "default": null,
796 "generated": null,
797 "identity": null,
798 "name": "platform",
799 "entityType": "columns",
800 "schema": "public",
801 "table": "relay_mobile_devices"
802 },
803 {
804 "type": "integer",
805 "typeSchema": null,
806 "notNull": true,
807 "dimensions": 0,
808 "default": null,
809 "generated": null,
810 "identity": null,
811 "name": "ios_major_version",
812 "entityType": "columns",
813 "schema": "public",
814 "table": "relay_mobile_devices"
815 },
816 {
817 "type": "varchar(64)",
818 "typeSchema": null,
819 "notNull": false,
820 "dimensions": 0,
821 "default": null,
822 "generated": null,
823 "identity": null,
824 "name": "app_version",
825 "entityType": "columns",
826 "schema": "public",
827 "table": "relay_mobile_devices"
828 },
829 {
830 "type": "text",
831 "typeSchema": null,
832 "notNull": false,
833 "dimensions": 0,
834 "default": null,
835 "generated": null,
836 "identity": null,
837 "name": "push_token",
838 "entityType": "columns",
839 "schema": "public",
840 "table": "relay_mobile_devices"
841 },
842 {
843 "type": "text",
844 "typeSchema": null,
845 "notNull": false,
846 "dimensions": 0,
847 "default": null,
848 "generated": null,
849 "identity": null,
850 "name": "push_to_start_token",
851 "entityType": "columns",
852 "schema": "public",
853 "table": "relay_mobile_devices"
854 },
855 {
856 "type": "jsonb",
857 "typeSchema": null,
858 "notNull": true,
859 "dimensions": 0,
860 "default": null,
861 "generated": null,
862 "identity": null,
863 "name": "preferences_json",
864 "entityType": "columns",
865 "schema": "public",
866 "table": "relay_mobile_devices"
867 },
868 {
869 "type": "varchar(64)",
870 "typeSchema": null,
871 "notNull": true,
872 "dimensions": 0,
873 "default": null,
874 "generated": null,
875 "identity": null,
876 "name": "created_at",
877 "entityType": "columns",
878 "schema": "public",
879 "table": "relay_mobile_devices"
880 },
881 {
882 "type": "varchar(64)",
883 "typeSchema": null,
884 "notNull": true,
885 "dimensions": 0,
886 "default": null,
887 "generated": null,
888 "identity": null,
889 "name": "updated_at",
890 "entityType": "columns",
891 "schema": "public",
892 "table": "relay_mobile_devices"
893 },
894 {
895 "nameExplicit": true,
896 "columns": [
897 {
898 "value": "updated_at",
899 "isExpression": false,
900 "asc": true,
901 "nullsFirst": false,
902 "opclass": null
903 }
904 ],
905 "isUnique": false,
906 "where": null,
907 "with": "",
908 "method": "btree",
909 "concurrently": false,
910 "name": "idx_relay_agent_activity_rows_updated",
911 "entityType": "indexes",
912 "schema": "public",
913 "table": "relay_agent_activity_rows"
914 },
915 {
916 "nameExplicit": true,
917 "columns": [
918 {
919 "value": "environment_id",
920 "isExpression": false,
921 "asc": true,
922 "nullsFirst": false,
923 "opclass": null
924 },
925 {
926 "value": "thread_id",
927 "isExpression": false,
928 "asc": true,
929 "nullsFirst": false,
930 "opclass": null
931 },
932 {
933 "value": "created_at",
934 "isExpression": false,
935 "asc": true,
936 "nullsFirst": false,
937 "opclass": null
938 }
939 ],
940 "isUnique": false,
941 "where": null,
942 "with": "",
943 "method": "btree",
944 "concurrently": false,
945 "name": "idx_relay_delivery_attempts_environment",
946 "entityType": "indexes",
947 "schema": "public",
948 "table": "relay_delivery_attempts"
949 },
950 {
951 "nameExplicit": true,
952 "columns": [
953 {
954 "value": "source_job_id",
955 "isExpression": false,
956 "asc": true,
957 "nullsFirst": false,
958 "opclass": null
959 }
960 ],
961 "isUnique": true,
962 "where": null,
963 "with": "",
964 "method": "btree",
965 "concurrently": false,
966 "name": "idx_relay_delivery_attempts_source_job",
967 "entityType": "indexes",
968 "schema": "public",
969 "table": "relay_delivery_attempts"
970 },
971 {
972 "nameExplicit": true,
973 "columns": [
974 {
975 "value": "expires_at",
976 "isExpression": false,
977 "asc": true,
978 "nullsFirst": false,
979 "opclass": null
980 }
981 ],
982 "isUnique": false,
983 "where": null,
984 "with": "",
985 "method": "btree",
986 "concurrently": false,
987 "name": "idx_relay_dpop_proofs_expires_at",
988 "entityType": "indexes",
989 "schema": "public",
990 "table": "relay_dpop_proofs"
991 },
992 {
993 "nameExplicit": true,
994 "columns": [
995 {
996 "value": "credential_hash",
997 "isExpression": false,
998 "asc": true,
999 "nullsFirst": false,
1000 "opclass": null
1001 }
1002 ],
1003 "isUnique": true,
1004 "where": null,
1005 "with": "",
1006 "method": "btree",
1007 "concurrently": false,
1008 "name": "idx_relay_environment_credentials_hash",
1009 "entityType": "indexes",
1010 "schema": "public",
1011 "table": "relay_environment_credentials"
1012 },
1013 {
1014 "nameExplicit": true,
1015 "columns": [
1016 {
1017 "value": "environment_id",
1018 "isExpression": false,
1019 "asc": true,
1020 "nullsFirst": false,
1021 "opclass": null
1022 },
1023 {
1024 "value": "revoked_at",
1025 "isExpression": false,
1026 "asc": true,
1027 "nullsFirst": false,
1028 "opclass": null
1029 }
1030 ],
1031 "isUnique": false,
1032 "where": null,
1033 "with": "",
1034 "method": "btree",
1035 "concurrently": false,
1036 "name": "idx_relay_environment_credentials_environment",
1037 "entityType": "indexes",
1038 "schema": "public",
1039 "table": "relay_environment_credentials"
1040 },
1041 {
1042 "nameExplicit": true,
1043 "columns": [
1044 {
1045 "value": "environment_id",
1046 "isExpression": false,
1047 "asc": true,
1048 "nullsFirst": false,
1049 "opclass": null
1050 },
1051 {
1052 "value": "environment_public_key",
1053 "isExpression": false,
1054 "asc": true,
1055 "nullsFirst": false,
1056 "opclass": null
1057 },
1058 {
1059 "value": "revoked_at",
1060 "isExpression": false,
1061 "asc": true,
1062 "nullsFirst": false,
1063 "opclass": null
1064 }
1065 ],
1066 "isUnique": false,
1067 "where": null,
1068 "with": "",
1069 "method": "btree",
1070 "concurrently": false,
1071 "name": "idx_relay_environment_credentials_environment_key",
1072 "entityType": "indexes",
1073 "schema": "public",
1074 "table": "relay_environment_credentials"
1075 },
1076 {
1077 "nameExplicit": true,
1078 "columns": [
1079 {
1080 "value": "environment_id",
1081 "isExpression": false,
1082 "asc": true,
1083 "nullsFirst": false,
1084 "opclass": null
1085 },
1086 {
1087 "value": "revoked_at",
1088 "isExpression": false,
1089 "asc": true,
1090 "nullsFirst": false,
1091 "opclass": null
1092 }
1093 ],
1094 "isUnique": false,
1095 "where": null,
1096 "with": "",
1097 "method": "btree",
1098 "concurrently": false,
1099 "name": "idx_relay_environment_links_environment",
1100 "entityType": "indexes",
1101 "schema": "public",
1102 "table": "relay_environment_links"
1103 },
1104 {
1105 "nameExplicit": true,
1106 "columns": [
1107 {
1108 "value": "user_id",
1109 "isExpression": false,
1110 "asc": true,
1111 "nullsFirst": false,
1112 "opclass": null
1113 }
1114 ],
1115 "isUnique": false,
1116 "where": null,
1117 "with": "",
1118 "method": "btree",
1119 "concurrently": false,
1120 "name": "idx_relay_live_activities_user",
1121 "entityType": "indexes",
1122 "schema": "public",
1123 "table": "relay_live_activities"
1124 },
1125 {
1126 "nameExplicit": true,
1127 "columns": [
1128 {
1129 "value": "activity_push_token",
1130 "isExpression": false,
1131 "asc": true,
1132 "nullsFirst": false,
1133 "opclass": null
1134 }
1135 ],
1136 "isUnique": true,
1137 "where": null,
1138 "with": "",
1139 "method": "btree",
1140 "concurrently": false,
1141 "name": "idx_relay_live_activities_activity_push_token",
1142 "entityType": "indexes",
1143 "schema": "public",
1144 "table": "relay_live_activities"
1145 },
1146 {
1147 "nameExplicit": true,
1148 "columns": [
1149 {
1150 "value": "user_id",
1151 "isExpression": false,
1152 "asc": true,
1153 "nullsFirst": false,
1154 "opclass": null
1155 }
1156 ],
1157 "isUnique": false,
1158 "where": null,
1159 "with": "",
1160 "method": "btree",
1161 "concurrently": false,
1162 "name": "idx_relay_mobile_devices_user",
1163 "entityType": "indexes",
1164 "schema": "public",
1165 "table": "relay_mobile_devices"
1166 },
1167 {
1168 "nameExplicit": true,
1169 "columns": [
1170 {
1171 "value": "push_token",
1172 "isExpression": false,
1173 "asc": true,
1174 "nullsFirst": false,
1175 "opclass": null
1176 }
1177 ],
1178 "isUnique": true,
1179 "where": null,
1180 "with": "",
1181 "method": "btree",
1182 "concurrently": false,
1183 "name": "idx_relay_mobile_devices_push_token",
1184 "entityType": "indexes",
1185 "schema": "public",
1186 "table": "relay_mobile_devices"
1187 },
1188 {
1189 "nameExplicit": true,
1190 "columns": [
1191 {
1192 "value": "push_to_start_token",
1193 "isExpression": false,
1194 "asc": true,
1195 "nullsFirst": false,
1196 "opclass": null
1197 }
1198 ],
1199 "isUnique": true,
1200 "where": null,
1201 "with": "",
1202 "method": "btree",
1203 "concurrently": false,
1204 "name": "idx_relay_mobile_devices_push_to_start_token",
1205 "entityType": "indexes",
1206 "schema": "public",
1207 "table": "relay_mobile_devices"
1208 },
1209 {
1210 "columns": ["environment_id", "environment_public_key", "thread_id"],
1211 "nameExplicit": false,
1212 "name": "relay_agent_activity_rows_pkey",
1213 "entityType": "pks",
1214 "schema": "public",
1215 "table": "relay_agent_activity_rows"
1216 },
1217 {
1218 "columns": ["thumbprint", "jti"],
1219 "nameExplicit": false,
1220 "name": "relay_dpop_proofs_pkey",
1221 "entityType": "pks",
1222 "schema": "public",
1223 "table": "relay_dpop_proofs"
1224 },
1225 {
1226 "columns": ["user_id", "environment_id"],
1227 "nameExplicit": false,
1228 "name": "relay_environment_links_pkey",
1229 "entityType": "pks",
1230 "schema": "public",
1231 "table": "relay_environment_links"
1232 },
1233 {
1234 "columns": ["user_id", "device_id"],
1235 "nameExplicit": false,
1236 "name": "relay_live_activities_pkey",
1237 "entityType": "pks",
1238 "schema": "public",
1239 "table": "relay_live_activities"
1240 },
1241 {
1242 "columns": ["user_id", "device_id"],
1243 "nameExplicit": false,
1244 "name": "relay_mobile_devices_pkey",
1245 "entityType": "pks",
1246 "schema": "public",
1247 "table": "relay_mobile_devices"
1248 },
1249 {
1250 "columns": ["id"],
1251 "nameExplicit": false,
1252 "name": "relay_delivery_attempts_pkey",
1253 "schema": "public",
1254 "table": "relay_delivery_attempts",
1255 "entityType": "pks"
1256 },
1257 {
1258 "columns": ["credential_id"],
1259 "nameExplicit": false,
1260 "name": "relay_environment_credentials_pkey",
1261 "schema": "public",
1262 "table": "relay_environment_credentials",
1263 "entityType": "pks"
1264 }
1265 ],
1266 "renames": []
1267}