@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, 07:15 UTC

main
json 180 lines 6.25 KB
Raw
1 {
2 "_generated": {
3 "message": "This file is automatically generated by \"prisma contract emit\".",
4 "regenerate": "To regenerate, run: prisma contract emit",
5 "warning": "⚠️ GENERATED FILE - DO NOT EDIT"
6 },
7 "capabilities": {
8 "postgres": {
9 "distinctOn": true,
10 "jsonAgg": true,
11 "lateral": true,
12 "limit": true,
13 "orderBy": true,
14 "returning": true
15 },
16 "sql": {
17 "checkConstraint": true,
18 "defaultInInsert": true,
19 "enums": true,
20 "lateral": true,
21 "returning": true,
22 "scalarList": true
23 }
24 },
25 "domain": {
26 "namespaces": {
27 "public": {
28 "models": {
29 "Post": {
30 "fields": {
31 "createdAt": {
32 "nullable": false,
33 "type": { "codecId": "pg/timestamptz-temporal@1", "kind": "scalar" }
34 },
35 "excerpt": {
36 "nullable": false,
37 "type": { "codecId": "pg/text@1", "kind": "scalar" }
38 },
39 "id": { "nullable": false, "type": { "codecId": "pg/text@1", "kind": "scalar" } },
40 "title": { "nullable": false, "type": { "codecId": "pg/text@1", "kind": "scalar" } },
41 "userId": { "nullable": false, "type": { "codecId": "pg/text@1", "kind": "scalar" } }
42 },
43 "relations": {
44 "user": {
45 "cardinality": "N:1",
46 "nullable": false,
47 "on": { "localFields": ["userId"], "targetFields": ["id"] },
48 "to": { "model": "User", "namespace": "public" }
49 }
50 },
51 "storage": {
52 "fields": {
53 "createdAt": { "column": "createdAt" },
54 "excerpt": { "column": "excerpt" },
55 "id": { "column": "id" },
56 "title": { "column": "title" },
57 "userId": { "column": "userId" }
58 },
59 "namespaceId": "public",
60 "table": "post"
61 }
62 },
63 "User": {
64 "fields": {
65 "createdAt": {
66 "nullable": false,
67 "type": { "codecId": "pg/timestamptz-temporal@1", "kind": "scalar" }
68 },
69 "email": { "nullable": false, "type": { "codecId": "pg/text@1", "kind": "scalar" } },
70 "id": { "nullable": false, "type": { "codecId": "pg/text@1", "kind": "scalar" } },
71 "name": { "nullable": false, "type": { "codecId": "pg/text@1", "kind": "scalar" } }
72 },
73 "relations": {
74 "posts": {
75 "cardinality": "1:N",
76 "on": { "localFields": ["id"], "targetFields": ["userId"] },
77 "to": { "model": "Post", "namespace": "public" }
78 }
79 },
80 "storage": {
81 "fields": {
82 "createdAt": { "column": "createdAt" },
83 "email": { "column": "email" },
84 "id": { "column": "id" },
85 "name": { "column": "name" }
86 },
87 "namespaceId": "public",
88 "table": "user"
89 }
90 }
91 }
92 }
93 }
94 },
95 "execution": {
96 "executionHash": "1ff963fbab83b7266b283d62c8b49c9850cb57c65ea29fe44077380cee559199",
97 "mutations": {
98 "defaults": [
99 {
100 "onCreate": { "id": "uuidv4", "kind": "generator" },
101 "ref": { "column": "id", "namespace": "public", "table": "post" }
102 },
103 {
104 "onCreate": { "id": "uuidv4", "kind": "generator" },
105 "ref": { "column": "id", "namespace": "public", "table": "user" }
106 }
107 ]
108 }
109 },
110 "extensions": {},
111 "meta": {},
112 "profileHash": "3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2",
113 "roots": {
114 "post": { "model": "Post", "namespace": "public" },
115 "user": { "model": "User", "namespace": "public" }
116 },
117 "schemaVersion": "1",
118 "storage": {
119 "namespaces": {
120 "public": {
121 "entries": {
122 "table": {
123 "post": {
124 "columns": {
125 "createdAt": {
126 "codecId": "pg/timestamptz-temporal@1",
127 "default": { "expression": "now()", "kind": "function" },
128 "nativeType": "timestamptz",
129 "nullable": false
130 },
131 "excerpt": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false },
132 "id": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false },
133 "title": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false },
134 "userId": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false }
135 },
136 "foreignKeys": [
137 {
138 "source": { "columns": ["userId"], "namespaceId": "public", "tableName": "post" },
139 "target": { "columns": ["id"], "namespaceId": "public", "tableName": "user" }
140 }
141 ],
142 "indexes": [
143 {
144 "columns": ["userId"],
145 "name": "post_userId_idx_a489d58a",
146 "prefix": "post_userId_idx",
147 "unique": false
148 }
149 ],
150 "primaryKey": { "columns": ["id"] },
151 "uniques": []
152 },
153 "user": {
154 "columns": {
155 "createdAt": {
156 "codecId": "pg/timestamptz-temporal@1",
157 "default": { "expression": "now()", "kind": "function" },
158 "nativeType": "timestamptz",
159 "nullable": false
160 },
161 "email": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false },
162 "id": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false },
163 "name": { "codecId": "pg/text@1", "nativeType": "text", "nullable": false }
164 },
165 "foreignKeys": [],
166 "indexes": [],
167 "primaryKey": { "columns": ["id"] },
168 "uniques": []
169 }
170 }
171 },
172 "id": "public",
173 "kind": "postgres-schema"
174 }
175 },
176 "storageHash": "f32b3c3cf6335c4b528aa6d8233d0d9ffa0a87cd175963c0b6665ccebcf99793"
177 },
178 "target": "postgres",
179 "targetFamily": "sql"
180 }