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