Skip to content
Source
Sign inSign up

snapshot.json

276 lines7.3 KB

1{
2 "type": "diff",
3 "version": "9",
4 "dialect": "postgres",
5 "id": "385d476b-d4f6-48a3-99e6-0a95af4ee4e4",
6 "prevIds": ["e189638b-4700-4656-b86e-d8baa63f5fe4"],
7 "footprints": [
8 {
9 "statementType": "create_table",
10 "statementTarget": ["table", "public", "relay_managed_endpoint_allocations"],
11 "writes": [
12 "s|tbl|public.relay_managed_endpoint_allocations",
13 "n|tbl|public.relay_managed_endpoint_allocations",
14 "e|tbl|public.relay_managed_endpoint_allocations",
15 "n|rel|public.relay_managed_endpoint_allocations",
16 "n|type|public.relay_managed_endpoint_allocations",
17 "n|rel|public.relay_managed_endpoint_allocations_pkey"
18 ],
19 "reads": ["n|sch|public"]
20 },
21 {
22 "statementType": "create_index",
23 "statementTarget": [
24 "index",
25 "public",
26 "relay_managed_endpoint_allocations",
27 "idx_relay_managed_endpoint_allocations_hostname"
28 ],
29 "writes": [
30 "s|idx|public.idx_relay_managed_endpoint_allocations_hostname",
31 "n|idx|public.idx_relay_managed_endpoint_allocations_hostname",
32 "e|idx|public.idx_relay_managed_endpoint_allocations_hostname",
33 "n|rel|public.idx_relay_managed_endpoint_allocations_hostname"
34 ],
35 "reads": [
36 "n|tbl|public.relay_managed_endpoint_allocations",
37 "n|sch|public",
38 "n|col|public.relay_managed_endpoint_allocations.hostname"
39 ]
40 },
41 {
42 "statementType": "create_index",
43 "statementTarget": [
44 "index",
45 "public",
46 "relay_managed_endpoint_allocations",
47 "idx_relay_managed_endpoint_allocations_tunnel_name"
48 ],
49 "writes": [
50 "s|idx|public.idx_relay_managed_endpoint_allocations_tunnel_name",
51 "n|idx|public.idx_relay_managed_endpoint_allocations_tunnel_name",
52 "e|idx|public.idx_relay_managed_endpoint_allocations_tunnel_name",
53 "n|rel|public.idx_relay_managed_endpoint_allocations_tunnel_name"
54 ],
55 "reads": [
56 "n|tbl|public.relay_managed_endpoint_allocations",
57 "n|sch|public",
58 "n|col|public.relay_managed_endpoint_allocations.tunnel_name"
59 ]
60 }
61 ],
62 "deltas": [
63 {
64 "op": "create",
65 "row": {
66 "schema": "public",
67 "name": "relay_managed_endpoint_allocations",
68 "isRlsEnabled": false,
69 "entityType": "tables"
70 }
71 },
72 {
73 "op": "create",
74 "row": {
75 "schema": "public",
76 "table": "relay_managed_endpoint_allocations",
77 "name": "user_id",
78 "type": "varchar(191)",
79 "typeSchema": null,
80 "notNull": true,
81 "dimensions": 0,
82 "default": null,
83 "generated": null,
84 "identity": null,
85 "entityType": "columns"
86 }
87 },
88 {
89 "op": "create",
90 "row": {
91 "schema": "public",
92 "table": "relay_managed_endpoint_allocations",
93 "name": "environment_id",
94 "type": "varchar(191)",
95 "typeSchema": null,
96 "notNull": true,
97 "dimensions": 0,
98 "default": null,
99 "generated": null,
100 "identity": null,
101 "entityType": "columns"
102 }
103 },
104 {
105 "op": "create",
106 "row": {
107 "schema": "public",
108 "table": "relay_managed_endpoint_allocations",
109 "name": "hostname",
110 "type": "text",
111 "typeSchema": null,
112 "notNull": true,
113 "dimensions": 0,
114 "default": null,
115 "generated": null,
116 "identity": null,
117 "entityType": "columns"
118 }
119 },
120 {
121 "op": "create",
122 "row": {
123 "schema": "public",
124 "table": "relay_managed_endpoint_allocations",
125 "name": "tunnel_id",
126 "type": "varchar(191)",
127 "typeSchema": null,
128 "notNull": false,
129 "dimensions": 0,
130 "default": null,
131 "generated": null,
132 "identity": null,
133 "entityType": "columns"
134 }
135 },
136 {
137 "op": "create",
138 "row": {
139 "schema": "public",
140 "table": "relay_managed_endpoint_allocations",
141 "name": "tunnel_name",
142 "type": "text",
143 "typeSchema": null,
144 "notNull": true,
145 "dimensions": 0,
146 "default": null,
147 "generated": null,
148 "identity": null,
149 "entityType": "columns"
150 }
151 },
152 {
153 "op": "create",
154 "row": {
155 "schema": "public",
156 "table": "relay_managed_endpoint_allocations",
157 "name": "dns_record_id",
158 "type": "varchar(191)",
159 "typeSchema": null,
160 "notNull": false,
161 "dimensions": 0,
162 "default": null,
163 "generated": null,
164 "identity": null,
165 "entityType": "columns"
166 }
167 },
168 {
169 "op": "create",
170 "row": {
171 "schema": "public",
172 "table": "relay_managed_endpoint_allocations",
173 "name": "ready_at",
174 "type": "varchar(64)",
175 "typeSchema": null,
176 "notNull": false,
177 "dimensions": 0,
178 "default": null,
179 "generated": null,
180 "identity": null,
181 "entityType": "columns"
182 }
183 },
184 {
185 "op": "create",
186 "row": {
187 "schema": "public",
188 "table": "relay_managed_endpoint_allocations",
189 "name": "created_at",
190 "type": "varchar(64)",
191 "typeSchema": null,
192 "notNull": true,
193 "dimensions": 0,
194 "default": null,
195 "generated": null,
196 "identity": null,
197 "entityType": "columns"
198 }
199 },
200 {
201 "op": "create",
202 "row": {
203 "schema": "public",
204 "table": "relay_managed_endpoint_allocations",
205 "name": "updated_at",
206 "type": "varchar(64)",
207 "typeSchema": null,
208 "notNull": true,
209 "dimensions": 0,
210 "default": null,
211 "generated": null,
212 "identity": null,
213 "entityType": "columns"
214 }
215 },
216 {
217 "op": "create",
218 "row": {
219 "schema": "public",
220 "table": "relay_managed_endpoint_allocations",
221 "name": "idx_relay_managed_endpoint_allocations_hostname",
222 "nameExplicit": true,
223 "columns": [
224 {
225 "value": "hostname",
226 "isExpression": false,
227 "asc": true,
228 "nullsFirst": false,
229 "opclass": null
230 }
231 ],
232 "isUnique": true,
233 "where": null,
234 "with": "",
235 "method": "btree",
236 "concurrently": false,
237 "entityType": "indexes"
238 }
239 },
240 {
241 "op": "create",
242 "row": {
243 "schema": "public",
244 "table": "relay_managed_endpoint_allocations",
245 "name": "idx_relay_managed_endpoint_allocations_tunnel_name",
246 "nameExplicit": true,
247 "columns": [
248 {
249 "value": "tunnel_name",
250 "isExpression": false,
251 "asc": true,
252 "nullsFirst": false,
253 "opclass": null
254 }
255 ],
256 "isUnique": true,
257 "where": null,
258 "with": "",
259 "method": "btree",
260 "concurrently": false,
261 "entityType": "indexes"
262 }
263 },
264 {
265 "op": "create",
266 "row": {
267 "schema": "public",
268 "table": "relay_managed_endpoint_allocations",
269 "name": "relay_managed_endpoint_allocations_pkey",
270 "columns": ["user_id", "environment_id"],
271 "nameExplicit": false,
272 "entityType": "pks"
273 }
274 }
275 ]