Open History to see the last commit
1{
2 "id": "bec13a12-e3c0-460a-8fd3-76c386221c9d",
3 "prevId": "58ddc186-dd38-49a3-81e4-b0e9c8528908",
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 "project_id": {
175 "name": "project_id",
176 "type": "text",
177 "primaryKey": false,
178 "notNull": true
179 },
180 "priority": {
181 "name": "priority",
182 "type": "integer",
183 "primaryKey": false,
184 "notNull": false,
185 "default": 0
186 },
187 "position": {
188 "name": "position",
189 "type": "text",
190 "primaryKey": false,
191 "notNull": true
192 }
193 },
194 "indexes": {
195 "todo_items_board_id_position_idx": {
196 "name": "todo_items_board_id_position_idx",
197 "columns": [
198 {
199 "expression": "board_id",
200 "isExpression": false,
201 "asc": true,
202 "nulls": "last"
203 },
204 {
205 "expression": "position",
206 "isExpression": false,
207 "asc": true,
208 "nulls": "last"
209 }
210 ],
211 "isUnique": false,
212 "concurrently": false,
213 "method": "btree",
214 "with": {}
215 },
216 "todo_items_project_id_idx": {
217 "name": "todo_items_project_id_idx",
218 "columns": [
219 {
220 "expression": "project_id",
221 "isExpression": false,
222 "asc": true,
223 "nulls": "last"
224 }
225 ],
226 "isUnique": false,
227 "concurrently": false,
228 "method": "btree",
229 "with": {}
230 }
231 },
232 "foreignKeys": {
233 "todo_items_board_id_boards_id_fk": {
234 "name": "todo_items_board_id_boards_id_fk",
235 "tableFrom": "todo_items",
236 "tableTo": "boards",
237 "columnsFrom": [
238 "board_id"
239 ],
240 "columnsTo": [
241 "id"
242 ],
243 "onDelete": "cascade",
244 "onUpdate": "no action"
245 },
246 "todo_items_project_id_projects_id_fk": {
247 "name": "todo_items_project_id_projects_id_fk",
248 "tableFrom": "todo_items",
249 "tableTo": "projects",
250 "columnsFrom": [
251 "project_id"
252 ],
253 "columnsTo": [
254 "id"
255 ],
256 "onDelete": "cascade",
257 "onUpdate": "no action"
258 }
259 },
260 "compositePrimaryKeys": {},
261 "uniqueConstraints": {},
262 "policies": {},
263 "checkConstraints": {},
264 "isRLSEnabled": false
265 },
266 "public.users": {
267 "name": "users",
268 "schema": "",
269 "columns": {
270 "id": {
271 "name": "id",
272 "type": "text",
273 "primaryKey": true,
274 "notNull": true
275 },
276 "name": {
277 "name": "name",
278 "type": "text",
279 "primaryKey": false,
280 "notNull": true
281 },
282 "age": {
283 "name": "age",
284 "type": "integer",
285 "primaryKey": false,
286 "notNull": true
287 },
288 "email": {
289 "name": "email",
290 "type": "text",
291 "primaryKey": false,
292 "notNull": true
293 }
294 },
295 "indexes": {},
296 "foreignKeys": {},
297 "compositePrimaryKeys": {},
298 "uniqueConstraints": {
299 "users_email_unique_tempdbid": {
300 "name": "users_email_unique_tempdbid",
301 "nullsNotDistinct": false,
302 "columns": [
303 "email"
304 ]
305 }
306 },
307 "policies": {},
308 "checkConstraints": {},
309 "isRLSEnabled": false
310 }
311 },
312 "enums": {},
313 "schemas": {},
314 "sequences": {},
315 "roles": {},
316 "policies": {},
317 "views": {},
318 "_meta": {
319 "columns": {},
320 "schemas": {},
321 "tables": {}
322 }
323}