@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
json 271 lines 6.89 KB
Raw
1 {
2 "schemaVersion": "1",
3 "targetFamily": "sql",
4 "target": "postgres",
5 "profileHash": "3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2",
6 "roots": {
7 "Post": {
8 "model": "Post",
9 "namespace": "public"
10 },
11 "User": {
12 "model": "User",
13 "namespace": "public"
14 }
15 },
16 "domain": {
17 "namespaces": {
18 "public": {
19 "models": {
20 "Post": {
21 "fields": {
22 "authorId": {
23 "nullable": false,
24 "type": {
25 "codecId": "pg/uuid@1",
26 "kind": "scalar"
27 }
28 },
29 "id": {
30 "nullable": false,
31 "type": {
32 "codecId": "pg/uuid@1",
33 "kind": "scalar"
34 }
35 },
36 "title": {
37 "nullable": false,
38 "type": {
39 "codecId": "pg/text@1",
40 "kind": "scalar"
41 }
42 }
43 },
44 "relations": {
45 "author": {
46 "cardinality": "N:1",
47 "nullable": false,
48 "on": {
49 "localFields": ["authorId"],
50 "targetFields": ["id"]
51 },
52 "to": {
53 "model": "User",
54 "namespace": "public"
55 }
56 }
57 },
58 "storage": {
59 "fields": {
60 "authorId": {
61 "column": "authorId"
62 },
63 "id": {
64 "column": "id"
65 },
66 "title": {
67 "column": "title"
68 }
69 },
70 "namespaceId": "public",
71 "table": "Post"
72 }
73 },
74 "User": {
75 "fields": {
76 "createdAt": {
77 "nullable": false,
78 "type": {
79 "codecId": "pg/timestamptz-string@1",
80 "kind": "scalar"
81 }
82 },
83 "email": {
84 "nullable": false,
85 "type": {
86 "codecId": "pg/text@1",
87 "kind": "scalar"
88 }
89 },
90 "id": {
91 "nullable": false,
92 "type": {
93 "codecId": "pg/uuid@1",
94 "kind": "scalar"
95 }
96 },
97 "name": {
98 "nullable": false,
99 "type": {
100 "codecId": "pg/text@1",
101 "kind": "scalar"
102 }
103 }
104 },
105 "relations": {
106 "posts": {
107 "cardinality": "1:N",
108 "on": {
109 "localFields": ["id"],
110 "targetFields": ["authorId"]
111 },
112 "to": {
113 "model": "Post",
114 "namespace": "public"
115 }
116 }
117 },
118 "storage": {
119 "fields": {
120 "createdAt": {
121 "column": "createdAt"
122 },
123 "email": {
124 "column": "email"
125 },
126 "id": {
127 "column": "id"
128 },
129 "name": {
130 "column": "name"
131 }
132 },
133 "namespaceId": "public",
134 "table": "User"
135 }
136 }
137 }
138 }
139 }
140 },
141 "storage": {
142 "namespaces": {
143 "public": {
144 "entries": {
145 "table": {
146 "Post": {
147 "columns": {
148 "authorId": {
149 "codecId": "pg/uuid@1",
150 "nativeType": "uuid",
151 "nullable": false
152 },
153 "id": {
154 "codecId": "pg/uuid@1",
155 "nativeType": "uuid",
156 "nullable": false
157 },
158 "title": {
159 "codecId": "pg/text@1",
160 "nativeType": "text",
161 "nullable": false
162 }
163 },
164 "foreignKeys": [],
165 "indexes": [],
166 "primaryKey": {
167 "columns": ["id"]
168 },
169 "uniques": []
170 },
171 "User": {
172 "columns": {
173 "createdAt": {
174 "codecId": "pg/timestamptz-string@1",
175 "default": {
176 "expression": "now()",
177 "kind": "function"
178 },
179 "nativeType": "timestamptz",
180 "nullable": false
181 },
182 "email": {
183 "codecId": "pg/text@1",
184 "nativeType": "text",
185 "nullable": false
186 },
187 "id": {
188 "codecId": "pg/uuid@1",
189 "nativeType": "uuid",
190 "nullable": false
191 },
192 "name": {
193 "codecId": "pg/text@1",
194 "nativeType": "text",
195 "nullable": false
196 }
197 },
198 "foreignKeys": [],
199 "indexes": [],
200 "primaryKey": {
201 "columns": ["id"]
202 },
203 "uniques": [
204 {
205 "columns": ["email"]
206 }
207 ]
208 }
209 }
210 },
211 "id": "public",
212 "kind": "postgres-schema"
213 }
214 },
215 "storageHash": "7de60ab4aee8baa42480f8a2d3559ff4027deae801de73c6a93c9eeb4170f558"
216 },
217 "execution": {
218 "executionHash": "3d1e5ef7d0bf68e99ed01f74317c9cb4403c9f0235bcb38e447cfe4595460215",
219 "mutations": {
220 "defaults": [
221 {
222 "onCreate": {
223 "id": "uuidv7",
224 "kind": "generator"
225 },
226 "ref": {
227 "column": "id",
228 "namespace": "public",
229 "table": "Post"
230 }
231 },
232 {
233 "onCreate": {
234 "id": "uuidv7",
235 "kind": "generator"
236 },
237 "ref": {
238 "column": "id",
239 "namespace": "public",
240 "table": "User"
241 }
242 }
243 ]
244 }
245 },
246 "capabilities": {
247 "postgres": {
248 "distinctOn": true,
249 "jsonAgg": true,
250 "lateral": true,
251 "limit": true,
252 "orderBy": true,
253 "returning": true
254 },
255 "sql": {
256 "checkConstraint": true,
257 "defaultInInsert": true,
258 "enums": true,
259 "lateral": true,
260 "returning": true,
261 "scalarList": true
262 }
263 },
264 "extensions": {},
265 "meta": {},
266 "_generated": {
267 "warning": "⚠️ GENERATED FILE - DO NOT EDIT",
268 "message": "This file is automatically generated by \"prisma contract emit\".",
269 "regenerate": "To regenerate, run: prisma contract emit"
270 }
271 }