create-fate 1.7.6 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/bin/create-fate.mjs +40 -6
  2. package/package.json +1 -1
  3. package/templates/fate/_shared/vue-app/package.json +3 -2
  4. package/templates/fate/_shared/vue-app/src/App.css +1 -6
  5. package/templates/fate/_shared/vue-app/vite.config.ts +12 -1
  6. package/templates/fate/drizzle/AGENTS.md +1 -1
  7. package/templates/fate/drizzle/_gitignore +1 -0
  8. package/templates/fate/drizzle/client/package.json +2 -2
  9. package/templates/fate/drizzle/client/pages/layout.tsx +2 -2
  10. package/templates/fate/drizzle/client/src/App.css +1 -6
  11. package/templates/fate/drizzle/pnpm-workspace.yaml +4 -4
  12. package/templates/fate/drizzle/server/package.json +1 -1
  13. package/templates/fate/drizzle/server/src/drizzle/schema.ts +18 -2
  14. package/templates/fate/graphql/AGENTS.md +1 -1
  15. package/templates/fate/graphql/_gitignore +1 -0
  16. package/templates/fate/graphql/client/package.json +2 -2
  17. package/templates/fate/graphql/client/pages/layout.tsx +2 -2
  18. package/templates/fate/graphql/client/src/App.css +1 -6
  19. package/templates/fate/graphql/pnpm-workspace.yaml +3 -3
  20. package/templates/fate/graphql/server/src/prisma/schema.prisma +23 -11
  21. package/templates/fate/graphql-client/AGENTS.md +20 -0
  22. package/templates/fate/graphql-client/_gitignore +1 -0
  23. package/templates/fate/graphql-client/package.json +2 -2
  24. package/templates/fate/graphql-client/pnpm-workspace.yaml +3 -3
  25. package/templates/fate/graphql-client/src/App.css +1 -7
  26. package/templates/fate/graphql-client/vite.config.ts +1 -11
  27. package/templates/fate/http/AGENTS.md +1 -1
  28. package/templates/fate/http/_gitignore +1 -0
  29. package/templates/fate/http/client/package.json +2 -2
  30. package/templates/fate/http/client/pages/layout.tsx +2 -2
  31. package/templates/fate/http/client/src/App.css +1 -6
  32. package/templates/fate/http/pnpm-workspace.yaml +4 -4
  33. package/templates/fate/http/server/package.json +1 -1
  34. package/templates/fate/http/server/src/drizzle/schema.ts +18 -2
  35. package/templates/fate/prisma/AGENTS.md +1 -1
  36. package/templates/fate/prisma/_gitignore +1 -0
  37. package/templates/fate/prisma/client/package.json +2 -2
  38. package/templates/fate/prisma/client/pages/layout.tsx +2 -2
  39. package/templates/fate/prisma/client/src/App.css +1 -6
  40. package/templates/fate/prisma/pnpm-workspace.yaml +3 -3
  41. package/templates/fate/prisma/server/src/prisma/schema.prisma +23 -11
  42. package/templates/fate/void/AGENTS.md +23 -0
  43. package/templates/fate/void/_gitignore +1 -0
  44. package/templates/fate/void/db/migrations/20261015035853_better_auth_accounts.sql +3 -0
  45. package/templates/fate/void/db/migrations/meta/20261015035853_snapshot.json +918 -0
  46. package/templates/fate/void/db/migrations/meta/_journal.json +7 -0
  47. package/templates/fate/void/db/schema.ts +20 -3
  48. package/templates/fate/void/package.json +4 -4
  49. package/templates/fate/void/pnpm-workspace.yaml +5 -4
  50. package/templates/fate/void/src/App.css +1 -6
  51. package/templates/fate/void/vite.config.ts +0 -7
@@ -0,0 +1,918 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "69ebbf62-1992-4a44-a3b9-feb2cb4dd933",
5
+ "prevId": "a8edb33d-77ee-4778-8b45-031fc56101f0",
6
+ "tables": {
7
+ "account": {
8
+ "name": "account",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "accountId": {
18
+ "name": "accountId",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "providerId": {
25
+ "name": "providerId",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "userId": {
32
+ "name": "userId",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "accessToken": {
39
+ "name": "accessToken",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": false,
43
+ "autoincrement": false
44
+ },
45
+ "refreshToken": {
46
+ "name": "refreshToken",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": false,
50
+ "autoincrement": false
51
+ },
52
+ "idToken": {
53
+ "name": "idToken",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": false,
57
+ "autoincrement": false
58
+ },
59
+ "accessTokenExpiresAt": {
60
+ "name": "accessTokenExpiresAt",
61
+ "type": "integer",
62
+ "primaryKey": false,
63
+ "notNull": false,
64
+ "autoincrement": false
65
+ },
66
+ "refreshTokenExpiresAt": {
67
+ "name": "refreshTokenExpiresAt",
68
+ "type": "integer",
69
+ "primaryKey": false,
70
+ "notNull": false,
71
+ "autoincrement": false
72
+ },
73
+ "scope": {
74
+ "name": "scope",
75
+ "type": "text",
76
+ "primaryKey": false,
77
+ "notNull": false,
78
+ "autoincrement": false
79
+ },
80
+ "password": {
81
+ "name": "password",
82
+ "type": "text",
83
+ "primaryKey": false,
84
+ "notNull": false,
85
+ "autoincrement": false
86
+ },
87
+ "createdAt": {
88
+ "name": "createdAt",
89
+ "type": "integer",
90
+ "primaryKey": false,
91
+ "notNull": true,
92
+ "autoincrement": false
93
+ },
94
+ "updatedAt": {
95
+ "name": "updatedAt",
96
+ "type": "integer",
97
+ "primaryKey": false,
98
+ "notNull": true,
99
+ "autoincrement": false
100
+ }
101
+ },
102
+ "indexes": {
103
+ "account_userId_idx": {
104
+ "name": "account_userId_idx",
105
+ "columns": ["userId"],
106
+ "isUnique": false
107
+ }
108
+ },
109
+ "foreignKeys": {
110
+ "account_userId_user_id_fk": {
111
+ "name": "account_userId_user_id_fk",
112
+ "tableFrom": "account",
113
+ "tableTo": "user",
114
+ "columnsFrom": ["userId"],
115
+ "columnsTo": ["id"],
116
+ "onDelete": "cascade",
117
+ "onUpdate": "no action"
118
+ }
119
+ },
120
+ "compositePrimaryKeys": {},
121
+ "uniqueConstraints": {},
122
+ "checkConstraints": {}
123
+ },
124
+ "Category": {
125
+ "name": "Category",
126
+ "columns": {
127
+ "createdAt": {
128
+ "name": "createdAt",
129
+ "type": "integer",
130
+ "primaryKey": false,
131
+ "notNull": true,
132
+ "autoincrement": false,
133
+ "default": "(unixepoch())"
134
+ },
135
+ "description": {
136
+ "name": "description",
137
+ "type": "text",
138
+ "primaryKey": false,
139
+ "notNull": false,
140
+ "autoincrement": false
141
+ },
142
+ "id": {
143
+ "name": "id",
144
+ "type": "text",
145
+ "primaryKey": true,
146
+ "notNull": true,
147
+ "autoincrement": false
148
+ },
149
+ "name": {
150
+ "name": "name",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": true,
154
+ "autoincrement": false
155
+ }
156
+ },
157
+ "indexes": {
158
+ "Category_name_key": {
159
+ "name": "Category_name_key",
160
+ "columns": ["name"],
161
+ "isUnique": true
162
+ }
163
+ },
164
+ "foreignKeys": {},
165
+ "compositePrimaryKeys": {},
166
+ "uniqueConstraints": {},
167
+ "checkConstraints": {}
168
+ },
169
+ "Comment": {
170
+ "name": "Comment",
171
+ "columns": {
172
+ "authorId": {
173
+ "name": "authorId",
174
+ "type": "text",
175
+ "primaryKey": false,
176
+ "notNull": false,
177
+ "autoincrement": false
178
+ },
179
+ "content": {
180
+ "name": "content",
181
+ "type": "text",
182
+ "primaryKey": false,
183
+ "notNull": true,
184
+ "autoincrement": false
185
+ },
186
+ "createdAt": {
187
+ "name": "createdAt",
188
+ "type": "integer",
189
+ "primaryKey": false,
190
+ "notNull": true,
191
+ "autoincrement": false,
192
+ "default": "(unixepoch())"
193
+ },
194
+ "id": {
195
+ "name": "id",
196
+ "type": "text",
197
+ "primaryKey": true,
198
+ "notNull": true,
199
+ "autoincrement": false
200
+ },
201
+ "postId": {
202
+ "name": "postId",
203
+ "type": "text",
204
+ "primaryKey": false,
205
+ "notNull": true,
206
+ "autoincrement": false
207
+ }
208
+ },
209
+ "indexes": {
210
+ "Comment_authorId_idx": {
211
+ "name": "Comment_authorId_idx",
212
+ "columns": ["authorId"],
213
+ "isUnique": false
214
+ },
215
+ "Comment_postId_idx": {
216
+ "name": "Comment_postId_idx",
217
+ "columns": ["postId"],
218
+ "isUnique": false
219
+ }
220
+ },
221
+ "foreignKeys": {
222
+ "Comment_authorId_user_id_fk": {
223
+ "name": "Comment_authorId_user_id_fk",
224
+ "tableFrom": "Comment",
225
+ "tableTo": "user",
226
+ "columnsFrom": ["authorId"],
227
+ "columnsTo": ["id"],
228
+ "onDelete": "set null",
229
+ "onUpdate": "no action"
230
+ },
231
+ "Comment_postId_Post_id_fk": {
232
+ "name": "Comment_postId_Post_id_fk",
233
+ "tableFrom": "Comment",
234
+ "tableTo": "Post",
235
+ "columnsFrom": ["postId"],
236
+ "columnsTo": ["id"],
237
+ "onDelete": "cascade",
238
+ "onUpdate": "no action"
239
+ }
240
+ },
241
+ "compositePrimaryKeys": {},
242
+ "uniqueConstraints": {},
243
+ "checkConstraints": {}
244
+ },
245
+ "Event": {
246
+ "name": "Event",
247
+ "columns": {
248
+ "capacity": {
249
+ "name": "capacity",
250
+ "type": "integer",
251
+ "primaryKey": false,
252
+ "notNull": true,
253
+ "autoincrement": false
254
+ },
255
+ "createdAt": {
256
+ "name": "createdAt",
257
+ "type": "integer",
258
+ "primaryKey": false,
259
+ "notNull": true,
260
+ "autoincrement": false,
261
+ "default": "(unixepoch())"
262
+ },
263
+ "description": {
264
+ "name": "description",
265
+ "type": "text",
266
+ "primaryKey": false,
267
+ "notNull": true,
268
+ "autoincrement": false
269
+ },
270
+ "endAt": {
271
+ "name": "endAt",
272
+ "type": "integer",
273
+ "primaryKey": false,
274
+ "notNull": true,
275
+ "autoincrement": false
276
+ },
277
+ "hostId": {
278
+ "name": "hostId",
279
+ "type": "text",
280
+ "primaryKey": false,
281
+ "notNull": true,
282
+ "autoincrement": false
283
+ },
284
+ "id": {
285
+ "name": "id",
286
+ "type": "text",
287
+ "primaryKey": true,
288
+ "notNull": true,
289
+ "autoincrement": false
290
+ },
291
+ "livestreamUrl": {
292
+ "name": "livestreamUrl",
293
+ "type": "text",
294
+ "primaryKey": false,
295
+ "notNull": false,
296
+ "autoincrement": false
297
+ },
298
+ "location": {
299
+ "name": "location",
300
+ "type": "text",
301
+ "primaryKey": false,
302
+ "notNull": true,
303
+ "autoincrement": false
304
+ },
305
+ "name": {
306
+ "name": "name",
307
+ "type": "text",
308
+ "primaryKey": false,
309
+ "notNull": true,
310
+ "autoincrement": false
311
+ },
312
+ "startAt": {
313
+ "name": "startAt",
314
+ "type": "integer",
315
+ "primaryKey": false,
316
+ "notNull": true,
317
+ "autoincrement": false
318
+ },
319
+ "topics": {
320
+ "name": "topics",
321
+ "type": "text",
322
+ "primaryKey": false,
323
+ "notNull": true,
324
+ "autoincrement": false,
325
+ "default": "'[]'"
326
+ },
327
+ "type": {
328
+ "name": "type",
329
+ "type": "text",
330
+ "primaryKey": false,
331
+ "notNull": true,
332
+ "autoincrement": false,
333
+ "default": "'MEETUP'"
334
+ },
335
+ "updatedAt": {
336
+ "name": "updatedAt",
337
+ "type": "integer",
338
+ "primaryKey": false,
339
+ "notNull": true,
340
+ "autoincrement": false,
341
+ "default": "(unixepoch())"
342
+ }
343
+ },
344
+ "indexes": {
345
+ "Event_hostId_idx": {
346
+ "name": "Event_hostId_idx",
347
+ "columns": ["hostId"],
348
+ "isUnique": false
349
+ }
350
+ },
351
+ "foreignKeys": {
352
+ "Event_hostId_user_id_fk": {
353
+ "name": "Event_hostId_user_id_fk",
354
+ "tableFrom": "Event",
355
+ "tableTo": "user",
356
+ "columnsFrom": ["hostId"],
357
+ "columnsTo": ["id"],
358
+ "onDelete": "cascade",
359
+ "onUpdate": "no action"
360
+ }
361
+ },
362
+ "compositePrimaryKeys": {},
363
+ "uniqueConstraints": {},
364
+ "checkConstraints": {}
365
+ },
366
+ "EventAttendee": {
367
+ "name": "EventAttendee",
368
+ "columns": {
369
+ "createdAt": {
370
+ "name": "createdAt",
371
+ "type": "integer",
372
+ "primaryKey": false,
373
+ "notNull": true,
374
+ "autoincrement": false,
375
+ "default": "(unixepoch())"
376
+ },
377
+ "eventId": {
378
+ "name": "eventId",
379
+ "type": "text",
380
+ "primaryKey": false,
381
+ "notNull": true,
382
+ "autoincrement": false
383
+ },
384
+ "id": {
385
+ "name": "id",
386
+ "type": "text",
387
+ "primaryKey": true,
388
+ "notNull": true,
389
+ "autoincrement": false
390
+ },
391
+ "notes": {
392
+ "name": "notes",
393
+ "type": "text",
394
+ "primaryKey": false,
395
+ "notNull": false,
396
+ "autoincrement": false
397
+ },
398
+ "status": {
399
+ "name": "status",
400
+ "type": "text",
401
+ "primaryKey": false,
402
+ "notNull": true,
403
+ "autoincrement": false,
404
+ "default": "'INVITED'"
405
+ },
406
+ "userId": {
407
+ "name": "userId",
408
+ "type": "text",
409
+ "primaryKey": false,
410
+ "notNull": true,
411
+ "autoincrement": false
412
+ }
413
+ },
414
+ "indexes": {
415
+ "EventAttendee_eventId_userId_key": {
416
+ "name": "EventAttendee_eventId_userId_key",
417
+ "columns": ["eventId", "userId"],
418
+ "isUnique": true
419
+ },
420
+ "EventAttendee_userId_idx": {
421
+ "name": "EventAttendee_userId_idx",
422
+ "columns": ["userId"],
423
+ "isUnique": false
424
+ }
425
+ },
426
+ "foreignKeys": {
427
+ "EventAttendee_eventId_Event_id_fk": {
428
+ "name": "EventAttendee_eventId_Event_id_fk",
429
+ "tableFrom": "EventAttendee",
430
+ "tableTo": "Event",
431
+ "columnsFrom": ["eventId"],
432
+ "columnsTo": ["id"],
433
+ "onDelete": "cascade",
434
+ "onUpdate": "no action"
435
+ },
436
+ "EventAttendee_userId_user_id_fk": {
437
+ "name": "EventAttendee_userId_user_id_fk",
438
+ "tableFrom": "EventAttendee",
439
+ "tableTo": "user",
440
+ "columnsFrom": ["userId"],
441
+ "columnsTo": ["id"],
442
+ "onDelete": "cascade",
443
+ "onUpdate": "no action"
444
+ }
445
+ },
446
+ "compositePrimaryKeys": {},
447
+ "uniqueConstraints": {},
448
+ "checkConstraints": {}
449
+ },
450
+ "Post": {
451
+ "name": "Post",
452
+ "columns": {
453
+ "authorId": {
454
+ "name": "authorId",
455
+ "type": "text",
456
+ "primaryKey": false,
457
+ "notNull": true,
458
+ "autoincrement": false
459
+ },
460
+ "categoryId": {
461
+ "name": "categoryId",
462
+ "type": "text",
463
+ "primaryKey": false,
464
+ "notNull": false,
465
+ "autoincrement": false
466
+ },
467
+ "content": {
468
+ "name": "content",
469
+ "type": "text",
470
+ "primaryKey": false,
471
+ "notNull": true,
472
+ "autoincrement": false
473
+ },
474
+ "createdAt": {
475
+ "name": "createdAt",
476
+ "type": "integer",
477
+ "primaryKey": false,
478
+ "notNull": true,
479
+ "autoincrement": false,
480
+ "default": "(unixepoch())"
481
+ },
482
+ "id": {
483
+ "name": "id",
484
+ "type": "text",
485
+ "primaryKey": true,
486
+ "notNull": true,
487
+ "autoincrement": false
488
+ },
489
+ "likes": {
490
+ "name": "likes",
491
+ "type": "integer",
492
+ "primaryKey": false,
493
+ "notNull": true,
494
+ "autoincrement": false,
495
+ "default": 0
496
+ },
497
+ "title": {
498
+ "name": "title",
499
+ "type": "text",
500
+ "primaryKey": false,
501
+ "notNull": true,
502
+ "autoincrement": false
503
+ },
504
+ "updatedAt": {
505
+ "name": "updatedAt",
506
+ "type": "integer",
507
+ "primaryKey": false,
508
+ "notNull": true,
509
+ "autoincrement": false,
510
+ "default": "(unixepoch())"
511
+ }
512
+ },
513
+ "indexes": {
514
+ "Post_authorId_idx": {
515
+ "name": "Post_authorId_idx",
516
+ "columns": ["authorId"],
517
+ "isUnique": false
518
+ }
519
+ },
520
+ "foreignKeys": {
521
+ "Post_authorId_user_id_fk": {
522
+ "name": "Post_authorId_user_id_fk",
523
+ "tableFrom": "Post",
524
+ "tableTo": "user",
525
+ "columnsFrom": ["authorId"],
526
+ "columnsTo": ["id"],
527
+ "onDelete": "cascade",
528
+ "onUpdate": "no action"
529
+ },
530
+ "Post_categoryId_Category_id_fk": {
531
+ "name": "Post_categoryId_Category_id_fk",
532
+ "tableFrom": "Post",
533
+ "tableTo": "Category",
534
+ "columnsFrom": ["categoryId"],
535
+ "columnsTo": ["id"],
536
+ "onDelete": "set null",
537
+ "onUpdate": "no action"
538
+ }
539
+ },
540
+ "compositePrimaryKeys": {},
541
+ "uniqueConstraints": {},
542
+ "checkConstraints": {}
543
+ },
544
+ "_PostTags": {
545
+ "name": "_PostTags",
546
+ "columns": {
547
+ "A": {
548
+ "name": "A",
549
+ "type": "text",
550
+ "primaryKey": false,
551
+ "notNull": true,
552
+ "autoincrement": false
553
+ },
554
+ "B": {
555
+ "name": "B",
556
+ "type": "text",
557
+ "primaryKey": false,
558
+ "notNull": true,
559
+ "autoincrement": false
560
+ }
561
+ },
562
+ "indexes": {
563
+ "_PostTags_B_index": {
564
+ "name": "_PostTags_B_index",
565
+ "columns": ["B"],
566
+ "isUnique": false
567
+ }
568
+ },
569
+ "foreignKeys": {
570
+ "_PostTags_A_Post_id_fk": {
571
+ "name": "_PostTags_A_Post_id_fk",
572
+ "tableFrom": "_PostTags",
573
+ "tableTo": "Post",
574
+ "columnsFrom": ["A"],
575
+ "columnsTo": ["id"],
576
+ "onDelete": "cascade",
577
+ "onUpdate": "no action"
578
+ },
579
+ "_PostTags_B_Tag_id_fk": {
580
+ "name": "_PostTags_B_Tag_id_fk",
581
+ "tableFrom": "_PostTags",
582
+ "tableTo": "Tag",
583
+ "columnsFrom": ["B"],
584
+ "columnsTo": ["id"],
585
+ "onDelete": "cascade",
586
+ "onUpdate": "no action"
587
+ }
588
+ },
589
+ "compositePrimaryKeys": {
590
+ "_PostTags_AB_pkey": {
591
+ "columns": ["A", "B"],
592
+ "name": "_PostTags_AB_pkey"
593
+ }
594
+ },
595
+ "uniqueConstraints": {},
596
+ "checkConstraints": {}
597
+ },
598
+ "session": {
599
+ "name": "session",
600
+ "columns": {
601
+ "id": {
602
+ "name": "id",
603
+ "type": "text",
604
+ "primaryKey": true,
605
+ "notNull": true,
606
+ "autoincrement": false
607
+ },
608
+ "expiresAt": {
609
+ "name": "expiresAt",
610
+ "type": "integer",
611
+ "primaryKey": false,
612
+ "notNull": true,
613
+ "autoincrement": false
614
+ },
615
+ "token": {
616
+ "name": "token",
617
+ "type": "text",
618
+ "primaryKey": false,
619
+ "notNull": true,
620
+ "autoincrement": false
621
+ },
622
+ "createdAt": {
623
+ "name": "createdAt",
624
+ "type": "integer",
625
+ "primaryKey": false,
626
+ "notNull": true,
627
+ "autoincrement": false
628
+ },
629
+ "updatedAt": {
630
+ "name": "updatedAt",
631
+ "type": "integer",
632
+ "primaryKey": false,
633
+ "notNull": true,
634
+ "autoincrement": false
635
+ },
636
+ "ipAddress": {
637
+ "name": "ipAddress",
638
+ "type": "text",
639
+ "primaryKey": false,
640
+ "notNull": false,
641
+ "autoincrement": false
642
+ },
643
+ "userAgent": {
644
+ "name": "userAgent",
645
+ "type": "text",
646
+ "primaryKey": false,
647
+ "notNull": false,
648
+ "autoincrement": false
649
+ },
650
+ "userId": {
651
+ "name": "userId",
652
+ "type": "text",
653
+ "primaryKey": false,
654
+ "notNull": true,
655
+ "autoincrement": false
656
+ },
657
+ "impersonatedBy": {
658
+ "name": "impersonatedBy",
659
+ "type": "text",
660
+ "primaryKey": false,
661
+ "notNull": false,
662
+ "autoincrement": false
663
+ }
664
+ },
665
+ "indexes": {
666
+ "session_token_unique": {
667
+ "name": "session_token_unique",
668
+ "columns": ["token"],
669
+ "isUnique": true
670
+ },
671
+ "session_userId_idx": {
672
+ "name": "session_userId_idx",
673
+ "columns": ["userId"],
674
+ "isUnique": false
675
+ }
676
+ },
677
+ "foreignKeys": {
678
+ "session_userId_user_id_fk": {
679
+ "name": "session_userId_user_id_fk",
680
+ "tableFrom": "session",
681
+ "tableTo": "user",
682
+ "columnsFrom": ["userId"],
683
+ "columnsTo": ["id"],
684
+ "onDelete": "cascade",
685
+ "onUpdate": "no action"
686
+ }
687
+ },
688
+ "compositePrimaryKeys": {},
689
+ "uniqueConstraints": {},
690
+ "checkConstraints": {}
691
+ },
692
+ "Tag": {
693
+ "name": "Tag",
694
+ "columns": {
695
+ "createdAt": {
696
+ "name": "createdAt",
697
+ "type": "integer",
698
+ "primaryKey": false,
699
+ "notNull": true,
700
+ "autoincrement": false,
701
+ "default": "(unixepoch())"
702
+ },
703
+ "description": {
704
+ "name": "description",
705
+ "type": "text",
706
+ "primaryKey": false,
707
+ "notNull": false,
708
+ "autoincrement": false
709
+ },
710
+ "id": {
711
+ "name": "id",
712
+ "type": "text",
713
+ "primaryKey": true,
714
+ "notNull": true,
715
+ "autoincrement": false
716
+ },
717
+ "name": {
718
+ "name": "name",
719
+ "type": "text",
720
+ "primaryKey": false,
721
+ "notNull": true,
722
+ "autoincrement": false
723
+ }
724
+ },
725
+ "indexes": {
726
+ "Tag_name_key": {
727
+ "name": "Tag_name_key",
728
+ "columns": ["name"],
729
+ "isUnique": true
730
+ }
731
+ },
732
+ "foreignKeys": {},
733
+ "compositePrimaryKeys": {},
734
+ "uniqueConstraints": {},
735
+ "checkConstraints": {}
736
+ },
737
+ "user": {
738
+ "name": "user",
739
+ "columns": {
740
+ "id": {
741
+ "name": "id",
742
+ "type": "text",
743
+ "primaryKey": true,
744
+ "notNull": true,
745
+ "autoincrement": false
746
+ },
747
+ "name": {
748
+ "name": "name",
749
+ "type": "text",
750
+ "primaryKey": false,
751
+ "notNull": true,
752
+ "autoincrement": false
753
+ },
754
+ "email": {
755
+ "name": "email",
756
+ "type": "text",
757
+ "primaryKey": false,
758
+ "notNull": true,
759
+ "autoincrement": false
760
+ },
761
+ "emailVerified": {
762
+ "name": "emailVerified",
763
+ "type": "integer",
764
+ "primaryKey": false,
765
+ "notNull": true,
766
+ "autoincrement": false
767
+ },
768
+ "image": {
769
+ "name": "image",
770
+ "type": "text",
771
+ "primaryKey": false,
772
+ "notNull": false,
773
+ "autoincrement": false
774
+ },
775
+ "createdAt": {
776
+ "name": "createdAt",
777
+ "type": "integer",
778
+ "primaryKey": false,
779
+ "notNull": true,
780
+ "autoincrement": false
781
+ },
782
+ "updatedAt": {
783
+ "name": "updatedAt",
784
+ "type": "integer",
785
+ "primaryKey": false,
786
+ "notNull": true,
787
+ "autoincrement": false
788
+ },
789
+ "role": {
790
+ "name": "role",
791
+ "type": "text",
792
+ "primaryKey": false,
793
+ "notNull": false,
794
+ "autoincrement": false
795
+ },
796
+ "banned": {
797
+ "name": "banned",
798
+ "type": "integer",
799
+ "primaryKey": false,
800
+ "notNull": false,
801
+ "autoincrement": false
802
+ },
803
+ "banReason": {
804
+ "name": "banReason",
805
+ "type": "text",
806
+ "primaryKey": false,
807
+ "notNull": false,
808
+ "autoincrement": false
809
+ },
810
+ "banExpires": {
811
+ "name": "banExpires",
812
+ "type": "integer",
813
+ "primaryKey": false,
814
+ "notNull": false,
815
+ "autoincrement": false
816
+ },
817
+ "username": {
818
+ "name": "username",
819
+ "type": "text",
820
+ "primaryKey": false,
821
+ "notNull": false,
822
+ "autoincrement": false
823
+ },
824
+ "displayUsername": {
825
+ "name": "displayUsername",
826
+ "type": "text",
827
+ "primaryKey": false,
828
+ "notNull": false,
829
+ "autoincrement": false
830
+ }
831
+ },
832
+ "indexes": {
833
+ "user_email_unique": {
834
+ "name": "user_email_unique",
835
+ "columns": ["email"],
836
+ "isUnique": true
837
+ },
838
+ "user_username_unique": {
839
+ "name": "user_username_unique",
840
+ "columns": ["username"],
841
+ "isUnique": true
842
+ }
843
+ },
844
+ "foreignKeys": {},
845
+ "compositePrimaryKeys": {},
846
+ "uniqueConstraints": {},
847
+ "checkConstraints": {}
848
+ },
849
+ "verification": {
850
+ "name": "verification",
851
+ "columns": {
852
+ "id": {
853
+ "name": "id",
854
+ "type": "text",
855
+ "primaryKey": true,
856
+ "notNull": true,
857
+ "autoincrement": false
858
+ },
859
+ "identifier": {
860
+ "name": "identifier",
861
+ "type": "text",
862
+ "primaryKey": false,
863
+ "notNull": true,
864
+ "autoincrement": false
865
+ },
866
+ "value": {
867
+ "name": "value",
868
+ "type": "text",
869
+ "primaryKey": false,
870
+ "notNull": true,
871
+ "autoincrement": false
872
+ },
873
+ "expiresAt": {
874
+ "name": "expiresAt",
875
+ "type": "integer",
876
+ "primaryKey": false,
877
+ "notNull": true,
878
+ "autoincrement": false
879
+ },
880
+ "createdAt": {
881
+ "name": "createdAt",
882
+ "type": "integer",
883
+ "primaryKey": false,
884
+ "notNull": true,
885
+ "autoincrement": false
886
+ },
887
+ "updatedAt": {
888
+ "name": "updatedAt",
889
+ "type": "integer",
890
+ "primaryKey": false,
891
+ "notNull": true,
892
+ "autoincrement": false
893
+ }
894
+ },
895
+ "indexes": {
896
+ "verification_identifier_idx": {
897
+ "name": "verification_identifier_idx",
898
+ "columns": ["identifier"],
899
+ "isUnique": false
900
+ }
901
+ },
902
+ "foreignKeys": {},
903
+ "compositePrimaryKeys": {},
904
+ "uniqueConstraints": {},
905
+ "checkConstraints": {}
906
+ }
907
+ },
908
+ "views": {},
909
+ "enums": {},
910
+ "_meta": {
911
+ "schemas": {},
912
+ "tables": {},
913
+ "columns": {}
914
+ },
915
+ "internal": {
916
+ "indexes": {}
917
+ }
918
+ }