Open History to see the last commit
1{
2 "id": "58ddc186-dd38-49a3-81e4-b0e9c8528908",
3 "prevId": "00000000-0000-0000-0000-000000000000",
4 "version": "7",
5 "dialect": "postgresql",
6 "tables": {
7 "public.boards": {
8 "name": "boards",
9 "schema": "",
10 "columns": {
11 "id": {
12 "name": "id",
13 "type": "text",
14 "primaryKey": true,
15 "notNull": true
16 },
17 "name": {
18 "name": "name",
19 "type": "text",
20 "primaryKey": false,
21 "notNull": true
22 },
23 "description": {
24 "name": "description",
25 "type": "text",
26 "primaryKey": false,
27 "notNull": false
28 },
29 "created_at": {
30 "name": "created_at",
31 "type": "date",
32 "primaryKey": false,
33 "notNull": true
34 },
35 "project_id": {
36 "name": "project_id",
37 "type": "text",
38 "primaryKey": false,
39 "notNull": true
40 }
41 },
42 "indexes": {},
43 "foreignKeys": {
44 "boards_project_id_projects_id_fk": {
45 "name": "boards_project_id_projects_id_fk",
46 "tableFrom": "boards",
47 "tableTo": "projects",
48 "columnsFrom": [
49 "project_id"
50 ],
51 "columnsTo": [
52 "id"
53 ],
54 "onDelete": "cascade",
55 "onUpdate": "no action"
56 }
57 },
58 "compositePrimaryKeys": {},
59 "uniqueConstraints": {},
60 "policies": {},
61 "checkConstraints": {},
62 "isRLSEnabled": false
63 },
64 "public.projects": {
65 "name": "projects",
66 "schema": "",
67 "columns": {
68 "id": {
69 "name": "id",
70 "type": "text",
71 "primaryKey": true,
72 "notNull": true
73 },
74 "name": {
75 "name": "name",
76 "type": "text",
77 "primaryKey": false,
78 "notNull": true
79 },
80 "description": {
81 "name": "description",
82 "type": "text",
83 "primaryKey": false,
84 "notNull": true
85 },
86 "created_at": {
87 "name": "created_at",
88 "type": "date",
89 "primaryKey": false,
90 "notNull": true
91 }
92 },
93 "indexes": {},
94 "foreignKeys": {},
95 "compositePrimaryKeys": {},
96 "uniqueConstraints": {
97 "projects_name_unique": {
98 "name": "projects_name_unique",
99 "nullsNotDistinct": false,
100 "columns": [
101 "name"
102 ]
103 }
104 },
105 "policies": {},
106 "checkConstraints": {},
107 "isRLSEnabled": false
108 },
109 "public.seed_script_runs": {
110 "name": "seed_script_runs",
111 "schema": "",
112 "columns": {
113 "id": {
114 "name": "id",
115 "type": "text",
116 "primaryKey": true,
117 "notNull": true
118 },
119 "created_at": {
120 "name": "created_at",
121 "type": "date",
122 "primaryKey": false,
123 "notNull": true
124 },
125 "state": {
126 "name": "state",
127 "type": "text",
128 "primaryKey": false,
129 "notNull": false
130 }
131 },
132 "indexes": {},
133 "foreignKeys": {},
134 "compositePrimaryKeys": {},
135 "uniqueConstraints": {},
136 "policies": {},
137 "checkConstraints": {},
138 "isRLSEnabled": false
139 },
140 "public.todo_items": {
141 "name": "todo_items",
142 "schema": "",
143 "columns": {
144 "id": {
145 "name": "id",
146 "type": "text",
147 "primaryKey": true,
148 "notNull": true
149 },
150 "title": {
151 "name": "title",
152 "type": "text",
153 "primaryKey": false,
154 "notNull": true
155 },
156 "description": {
157 "name": "description",
158 "type": "text",
159 "primaryKey": false,
160 "notNull": false
161 },
162 "created_at": {
163 "name": "created_at",
164 "type": "date",
165 "primaryKey": false,
166 "notNull": true
167 },
168 "board_id": {
169 "name": "board_id",
170 "type": "text",
171 "primaryKey": false,
172 "notNull": true
173 },
174 "priority": {
175 "name": "priority",
176 "type": "integer",
177 "primaryKey": false,
178 "notNull": false,
179 "default": 0
180 },
181 "position": {
182 "name": "position",
183 "type": "text",
184 "primaryKey": false,
185 "notNull": true
186 }
187 },
188 "indexes": {
189 "todo_items_board_id_position_idx": {
190 "name": "todo_items_board_id_position_idx",
191 "columns": [
192 {
193 "expression": "board_id",
194 "isExpression": false,
195 "asc": true,
196 "nulls": "last"
197 },
198 {
199 "expression": "position",
200 "isExpression": false,
201 "asc": true,
202 "nulls": "last"
203 }
204 ],
205 "isUnique": false,
206 "concurrently": false,
207 "method": "btree",
208 "with": {}
209 }
210 },
211 "foreignKeys": {
212 "todo_items_board_id_boards_id_fk": {
213 "name": "todo_items_board_id_boards_id_fk",
214 "tableFrom": "todo_items",
215 "tableTo": "boards",
216 "columnsFrom": [
217 "board_id"
218 ],
219 "columnsTo": [
220 "id"
221 ],
222 "onDelete": "cascade",
223 "onUpdate": "no action"
224 }
225 },
226 "compositePrimaryKeys": {},
227 "uniqueConstraints": {},
228 "policies": {},
229 "checkConstraints": {},
230 "isRLSEnabled": false
231 },
232 "public.users": {
233 "name": "users",
234 "schema": "",
235 "columns": {
236 "id": {
237 "name": "id",
238 "type": "text",
239 "primaryKey": true,
240 "notNull": true
241 },
242 "name": {
243 "name": "name",
244 "type": "text",
245 "primaryKey": false,
246 "notNull": true
247 },
248 "age": {
249 "name": "age",
250 "type": "integer",
251 "primaryKey": false,
252 "notNull": true
253 },
254 "email": {
255 "name": "email",
256 "type": "text",
257 "primaryKey": false,
258 "notNull": true
259 }
260 },
261 "indexes": {},
262 "foreignKeys": {},
263 "compositePrimaryKeys": {},
264 "uniqueConstraints": {
265 "users_email_unique_tempdbid": {
266 "name": "users_email_unique_tempdbid",
267 "nullsNotDistinct": false,
268 "columns": [
269 "email"
270 ]
271 }
272 },
273 "policies": {},
274 "checkConstraints": {},
275 "isRLSEnabled": false
276 }
277 },
278 "enums": {},
279 "schemas": {},
280 "sequences": {},
281 "roles": {},
282 "policies": {},
283 "views": {},
284 "_meta": {
285 "columns": {},
286 "schemas": {},
287 "tables": {}
288 }
289}