@zodic/shared 0.0.124 → 0.0.126

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.
@@ -0,0 +1,1739 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "a114b246-6579-4119-8b14-0f1ac0eaefbd",
5
+ "prevId": "28d34140-d61c-42e8-b826-ce351c86b94e",
6
+ "tables": {
7
+ "artifact_faceswap": {
8
+ "name": "artifact_faceswap",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "user_artifact_id": {
18
+ "name": "user_artifact_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "face_swapped_image_url": {
25
+ "name": "face_swapped_image_url",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "status": {
32
+ "name": "status",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false,
37
+ "default": "'pending'"
38
+ },
39
+ "created_at": {
40
+ "name": "created_at",
41
+ "type": "integer",
42
+ "primaryKey": false,
43
+ "notNull": true,
44
+ "autoincrement": false,
45
+ "default": "CURRENT_TIMESTAMP"
46
+ },
47
+ "updated_at": {
48
+ "name": "updated_at",
49
+ "type": "integer",
50
+ "primaryKey": false,
51
+ "notNull": true,
52
+ "autoincrement": false,
53
+ "default": "CURRENT_TIMESTAMP"
54
+ }
55
+ },
56
+ "indexes": {},
57
+ "foreignKeys": {
58
+ "artifact_faceswap_user_artifact_id_user_artifacts_id_fk": {
59
+ "name": "artifact_faceswap_user_artifact_id_user_artifacts_id_fk",
60
+ "tableFrom": "artifact_faceswap",
61
+ "tableTo": "user_artifacts",
62
+ "columnsFrom": [
63
+ "user_artifact_id"
64
+ ],
65
+ "columnsTo": [
66
+ "id"
67
+ ],
68
+ "onDelete": "cascade",
69
+ "onUpdate": "no action"
70
+ }
71
+ },
72
+ "compositePrimaryKeys": {},
73
+ "uniqueConstraints": {},
74
+ "checkConstraints": {}
75
+ },
76
+ "artifact_video_generation": {
77
+ "name": "artifact_video_generation",
78
+ "columns": {
79
+ "id": {
80
+ "name": "id",
81
+ "type": "text",
82
+ "primaryKey": true,
83
+ "notNull": true,
84
+ "autoincrement": false
85
+ },
86
+ "user_artifact_id": {
87
+ "name": "user_artifact_id",
88
+ "type": "text",
89
+ "primaryKey": false,
90
+ "notNull": true,
91
+ "autoincrement": false
92
+ },
93
+ "video_status": {
94
+ "name": "video_status",
95
+ "type": "text",
96
+ "primaryKey": false,
97
+ "notNull": false,
98
+ "autoincrement": false,
99
+ "default": "'pending'"
100
+ },
101
+ "video_url": {
102
+ "name": "video_url",
103
+ "type": "text",
104
+ "primaryKey": false,
105
+ "notNull": false,
106
+ "autoincrement": false
107
+ },
108
+ "description": {
109
+ "name": "description",
110
+ "type": "text",
111
+ "primaryKey": false,
112
+ "notNull": false,
113
+ "autoincrement": false
114
+ },
115
+ "duration": {
116
+ "name": "duration",
117
+ "type": "integer",
118
+ "primaryKey": false,
119
+ "notNull": false,
120
+ "autoincrement": false
121
+ },
122
+ "created_at": {
123
+ "name": "created_at",
124
+ "type": "integer",
125
+ "primaryKey": false,
126
+ "notNull": true,
127
+ "autoincrement": false,
128
+ "default": "CURRENT_TIMESTAMP"
129
+ },
130
+ "updated_at": {
131
+ "name": "updated_at",
132
+ "type": "integer",
133
+ "primaryKey": false,
134
+ "notNull": true,
135
+ "autoincrement": false,
136
+ "default": "CURRENT_TIMESTAMP"
137
+ }
138
+ },
139
+ "indexes": {
140
+ "artifact_video_generation_status_idx": {
141
+ "name": "artifact_video_generation_status_idx",
142
+ "columns": [
143
+ "video_status"
144
+ ],
145
+ "isUnique": false
146
+ }
147
+ },
148
+ "foreignKeys": {
149
+ "artifact_video_generation_user_artifact_id_user_artifacts_id_fk": {
150
+ "name": "artifact_video_generation_user_artifact_id_user_artifacts_id_fk",
151
+ "tableFrom": "artifact_video_generation",
152
+ "tableTo": "user_artifacts",
153
+ "columnsFrom": [
154
+ "user_artifact_id"
155
+ ],
156
+ "columnsTo": [
157
+ "id"
158
+ ],
159
+ "onDelete": "cascade",
160
+ "onUpdate": "no action"
161
+ }
162
+ },
163
+ "compositePrimaryKeys": {},
164
+ "uniqueConstraints": {},
165
+ "checkConstraints": {}
166
+ },
167
+ "artifacts": {
168
+ "name": "artifacts",
169
+ "columns": {
170
+ "id": {
171
+ "name": "id",
172
+ "type": "text",
173
+ "primaryKey": true,
174
+ "notNull": true,
175
+ "autoincrement": false
176
+ },
177
+ "name": {
178
+ "name": "name",
179
+ "type": "text",
180
+ "primaryKey": false,
181
+ "notNull": true,
182
+ "autoincrement": false
183
+ },
184
+ "slug": {
185
+ "name": "slug",
186
+ "type": "text",
187
+ "primaryKey": false,
188
+ "notNull": true,
189
+ "autoincrement": false
190
+ },
191
+ "concept_id": {
192
+ "name": "concept_id",
193
+ "type": "text",
194
+ "primaryKey": false,
195
+ "notNull": true,
196
+ "autoincrement": false
197
+ },
198
+ "description": {
199
+ "name": "description",
200
+ "type": "text",
201
+ "primaryKey": false,
202
+ "notNull": true,
203
+ "autoincrement": false
204
+ },
205
+ "price": {
206
+ "name": "price",
207
+ "type": "integer",
208
+ "primaryKey": false,
209
+ "notNull": true,
210
+ "autoincrement": false
211
+ },
212
+ "promotion_price": {
213
+ "name": "promotion_price",
214
+ "type": "integer",
215
+ "primaryKey": false,
216
+ "notNull": false,
217
+ "autoincrement": false
218
+ },
219
+ "created_at": {
220
+ "name": "created_at",
221
+ "type": "integer",
222
+ "primaryKey": false,
223
+ "notNull": false,
224
+ "autoincrement": false,
225
+ "default": "CURRENT_TIMESTAMP"
226
+ }
227
+ },
228
+ "indexes": {
229
+ "artifacts_slug_unique": {
230
+ "name": "artifacts_slug_unique",
231
+ "columns": [
232
+ "slug"
233
+ ],
234
+ "isUnique": true
235
+ },
236
+ "artifacts_concept_id_idx": {
237
+ "name": "artifacts_concept_id_idx",
238
+ "columns": [
239
+ "concept_id"
240
+ ],
241
+ "isUnique": false
242
+ }
243
+ },
244
+ "foreignKeys": {
245
+ "artifacts_concept_id_concepts_id_fk": {
246
+ "name": "artifacts_concept_id_concepts_id_fk",
247
+ "tableFrom": "artifacts",
248
+ "tableTo": "concepts",
249
+ "columnsFrom": [
250
+ "concept_id"
251
+ ],
252
+ "columnsTo": [
253
+ "id"
254
+ ],
255
+ "onDelete": "cascade",
256
+ "onUpdate": "no action"
257
+ }
258
+ },
259
+ "compositePrimaryKeys": {},
260
+ "uniqueConstraints": {},
261
+ "checkConstraints": {}
262
+ },
263
+ "astro_aspects": {
264
+ "name": "astro_aspects",
265
+ "columns": {
266
+ "id": {
267
+ "name": "id",
268
+ "type": "text",
269
+ "primaryKey": true,
270
+ "notNull": true,
271
+ "autoincrement": false
272
+ },
273
+ "user_id": {
274
+ "name": "user_id",
275
+ "type": "text",
276
+ "primaryKey": false,
277
+ "notNull": true,
278
+ "autoincrement": false
279
+ },
280
+ "aspecting_planet": {
281
+ "name": "aspecting_planet",
282
+ "type": "text",
283
+ "primaryKey": false,
284
+ "notNull": true,
285
+ "autoincrement": false
286
+ },
287
+ "aspected_planet": {
288
+ "name": "aspected_planet",
289
+ "type": "text",
290
+ "primaryKey": false,
291
+ "notNull": true,
292
+ "autoincrement": false
293
+ },
294
+ "aspecting_planet_id": {
295
+ "name": "aspecting_planet_id",
296
+ "type": "integer",
297
+ "primaryKey": false,
298
+ "notNull": true,
299
+ "autoincrement": false
300
+ },
301
+ "aspected_planet_id": {
302
+ "name": "aspected_planet_id",
303
+ "type": "integer",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false
307
+ },
308
+ "type": {
309
+ "name": "type",
310
+ "type": "text",
311
+ "primaryKey": false,
312
+ "notNull": true,
313
+ "autoincrement": false
314
+ },
315
+ "orb": {
316
+ "name": "orb",
317
+ "type": "real",
318
+ "primaryKey": false,
319
+ "notNull": true,
320
+ "autoincrement": false
321
+ },
322
+ "diff": {
323
+ "name": "diff",
324
+ "type": "real",
325
+ "primaryKey": false,
326
+ "notNull": true,
327
+ "autoincrement": false
328
+ }
329
+ },
330
+ "indexes": {
331
+ "astro_aspects_user_id_idx": {
332
+ "name": "astro_aspects_user_id_idx",
333
+ "columns": [
334
+ "user_id"
335
+ ],
336
+ "isUnique": false
337
+ }
338
+ },
339
+ "foreignKeys": {
340
+ "astro_aspects_user_id_users_id_fk": {
341
+ "name": "astro_aspects_user_id_users_id_fk",
342
+ "tableFrom": "astro_aspects",
343
+ "tableTo": "users",
344
+ "columnsFrom": [
345
+ "user_id"
346
+ ],
347
+ "columnsTo": [
348
+ "id"
349
+ ],
350
+ "onDelete": "cascade",
351
+ "onUpdate": "no action"
352
+ }
353
+ },
354
+ "compositePrimaryKeys": {},
355
+ "uniqueConstraints": {},
356
+ "checkConstraints": {}
357
+ },
358
+ "astro_features": {
359
+ "name": "astro_features",
360
+ "columns": {
361
+ "id": {
362
+ "name": "id",
363
+ "type": "text",
364
+ "primaryKey": true,
365
+ "notNull": true,
366
+ "autoincrement": false
367
+ },
368
+ "user_id": {
369
+ "name": "user_id",
370
+ "type": "text",
371
+ "primaryKey": false,
372
+ "notNull": true,
373
+ "autoincrement": false
374
+ },
375
+ "feature_type": {
376
+ "name": "feature_type",
377
+ "type": "text",
378
+ "primaryKey": false,
379
+ "notNull": true,
380
+ "autoincrement": false
381
+ },
382
+ "name": {
383
+ "name": "name",
384
+ "type": "text",
385
+ "primaryKey": false,
386
+ "notNull": true,
387
+ "autoincrement": false
388
+ },
389
+ "description": {
390
+ "name": "description",
391
+ "type": "text",
392
+ "primaryKey": false,
393
+ "notNull": false,
394
+ "autoincrement": false
395
+ },
396
+ "percentage": {
397
+ "name": "percentage",
398
+ "type": "real",
399
+ "primaryKey": false,
400
+ "notNull": false,
401
+ "autoincrement": false
402
+ },
403
+ "order": {
404
+ "name": "order",
405
+ "type": "integer",
406
+ "primaryKey": false,
407
+ "notNull": false,
408
+ "autoincrement": false
409
+ },
410
+ "prominent_id": {
411
+ "name": "prominent_id",
412
+ "type": "integer",
413
+ "primaryKey": false,
414
+ "notNull": false,
415
+ "autoincrement": false
416
+ }
417
+ },
418
+ "indexes": {
419
+ "astro_features_user_id_idx": {
420
+ "name": "astro_features_user_id_idx",
421
+ "columns": [
422
+ "user_id"
423
+ ],
424
+ "isUnique": false
425
+ }
426
+ },
427
+ "foreignKeys": {
428
+ "astro_features_user_id_users_id_fk": {
429
+ "name": "astro_features_user_id_users_id_fk",
430
+ "tableFrom": "astro_features",
431
+ "tableTo": "users",
432
+ "columnsFrom": [
433
+ "user_id"
434
+ ],
435
+ "columnsTo": [
436
+ "id"
437
+ ],
438
+ "onDelete": "cascade",
439
+ "onUpdate": "no action"
440
+ }
441
+ },
442
+ "compositePrimaryKeys": {},
443
+ "uniqueConstraints": {},
444
+ "checkConstraints": {}
445
+ },
446
+ "astro_houses": {
447
+ "name": "astro_houses",
448
+ "columns": {
449
+ "id": {
450
+ "name": "id",
451
+ "type": "text",
452
+ "primaryKey": true,
453
+ "notNull": true,
454
+ "autoincrement": false
455
+ },
456
+ "user_id": {
457
+ "name": "user_id",
458
+ "type": "text",
459
+ "primaryKey": false,
460
+ "notNull": true,
461
+ "autoincrement": false
462
+ },
463
+ "house": {
464
+ "name": "house",
465
+ "type": "integer",
466
+ "primaryKey": false,
467
+ "notNull": true,
468
+ "autoincrement": false
469
+ },
470
+ "sign": {
471
+ "name": "sign",
472
+ "type": "text",
473
+ "primaryKey": false,
474
+ "notNull": true,
475
+ "autoincrement": false
476
+ },
477
+ "degree": {
478
+ "name": "degree",
479
+ "type": "real",
480
+ "primaryKey": false,
481
+ "notNull": true,
482
+ "autoincrement": false
483
+ }
484
+ },
485
+ "indexes": {
486
+ "astro_houses_user_id_idx": {
487
+ "name": "astro_houses_user_id_idx",
488
+ "columns": [
489
+ "user_id"
490
+ ],
491
+ "isUnique": false
492
+ }
493
+ },
494
+ "foreignKeys": {
495
+ "astro_houses_user_id_users_id_fk": {
496
+ "name": "astro_houses_user_id_users_id_fk",
497
+ "tableFrom": "astro_houses",
498
+ "tableTo": "users",
499
+ "columnsFrom": [
500
+ "user_id"
501
+ ],
502
+ "columnsTo": [
503
+ "id"
504
+ ],
505
+ "onDelete": "cascade",
506
+ "onUpdate": "no action"
507
+ }
508
+ },
509
+ "compositePrimaryKeys": {},
510
+ "uniqueConstraints": {},
511
+ "checkConstraints": {}
512
+ },
513
+ "astro_planets": {
514
+ "name": "astro_planets",
515
+ "columns": {
516
+ "id": {
517
+ "name": "id",
518
+ "type": "text",
519
+ "primaryKey": true,
520
+ "notNull": true,
521
+ "autoincrement": false
522
+ },
523
+ "user_id": {
524
+ "name": "user_id",
525
+ "type": "text",
526
+ "primaryKey": false,
527
+ "notNull": true,
528
+ "autoincrement": false
529
+ },
530
+ "type": {
531
+ "name": "type",
532
+ "type": "text",
533
+ "primaryKey": false,
534
+ "notNull": true,
535
+ "autoincrement": false
536
+ },
537
+ "name": {
538
+ "name": "name",
539
+ "type": "text",
540
+ "primaryKey": false,
541
+ "notNull": true,
542
+ "autoincrement": false
543
+ },
544
+ "sign": {
545
+ "name": "sign",
546
+ "type": "text",
547
+ "primaryKey": false,
548
+ "notNull": true,
549
+ "autoincrement": false
550
+ },
551
+ "house": {
552
+ "name": "house",
553
+ "type": "integer",
554
+ "primaryKey": false,
555
+ "notNull": false,
556
+ "autoincrement": false
557
+ },
558
+ "full_degree": {
559
+ "name": "full_degree",
560
+ "type": "real",
561
+ "primaryKey": false,
562
+ "notNull": false,
563
+ "autoincrement": false
564
+ },
565
+ "norm_degree": {
566
+ "name": "norm_degree",
567
+ "type": "real",
568
+ "primaryKey": false,
569
+ "notNull": false,
570
+ "autoincrement": false
571
+ },
572
+ "speed": {
573
+ "name": "speed",
574
+ "type": "real",
575
+ "primaryKey": false,
576
+ "notNull": false,
577
+ "autoincrement": false
578
+ },
579
+ "is_retro": {
580
+ "name": "is_retro",
581
+ "type": "integer",
582
+ "primaryKey": false,
583
+ "notNull": false,
584
+ "autoincrement": false
585
+ }
586
+ },
587
+ "indexes": {
588
+ "astro_planets_user_id_idx": {
589
+ "name": "astro_planets_user_id_idx",
590
+ "columns": [
591
+ "user_id"
592
+ ],
593
+ "isUnique": false
594
+ }
595
+ },
596
+ "foreignKeys": {
597
+ "astro_planets_user_id_users_id_fk": {
598
+ "name": "astro_planets_user_id_users_id_fk",
599
+ "tableFrom": "astro_planets",
600
+ "tableTo": "users",
601
+ "columnsFrom": [
602
+ "user_id"
603
+ ],
604
+ "columnsTo": [
605
+ "id"
606
+ ],
607
+ "onDelete": "cascade",
608
+ "onUpdate": "no action"
609
+ }
610
+ },
611
+ "compositePrimaryKeys": {},
612
+ "uniqueConstraints": {},
613
+ "checkConstraints": {}
614
+ },
615
+ "concept_combinations": {
616
+ "name": "concept_combinations",
617
+ "columns": {
618
+ "id": {
619
+ "name": "id",
620
+ "type": "text",
621
+ "primaryKey": true,
622
+ "notNull": true,
623
+ "autoincrement": false
624
+ },
625
+ "concept_id": {
626
+ "name": "concept_id",
627
+ "type": "text",
628
+ "primaryKey": false,
629
+ "notNull": true,
630
+ "autoincrement": false
631
+ },
632
+ "planet1_sign": {
633
+ "name": "planet1_sign",
634
+ "type": "text",
635
+ "primaryKey": false,
636
+ "notNull": true,
637
+ "autoincrement": false
638
+ },
639
+ "planet2_sign": {
640
+ "name": "planet2_sign",
641
+ "type": "text",
642
+ "primaryKey": false,
643
+ "notNull": true,
644
+ "autoincrement": false
645
+ },
646
+ "planet3_sign": {
647
+ "name": "planet3_sign",
648
+ "type": "text",
649
+ "primaryKey": false,
650
+ "notNull": true,
651
+ "autoincrement": false
652
+ },
653
+ "combination_string": {
654
+ "name": "combination_string",
655
+ "type": "text",
656
+ "primaryKey": false,
657
+ "notNull": true,
658
+ "autoincrement": false
659
+ }
660
+ },
661
+ "indexes": {
662
+ "concept_combinations_unique_combination_idx": {
663
+ "name": "concept_combinations_unique_combination_idx",
664
+ "columns": [
665
+ "concept_id",
666
+ "combination_string"
667
+ ],
668
+ "isUnique": false
669
+ }
670
+ },
671
+ "foreignKeys": {
672
+ "concept_combinations_concept_id_concepts_id_fk": {
673
+ "name": "concept_combinations_concept_id_concepts_id_fk",
674
+ "tableFrom": "concept_combinations",
675
+ "tableTo": "concepts",
676
+ "columnsFrom": [
677
+ "concept_id"
678
+ ],
679
+ "columnsTo": [
680
+ "id"
681
+ ],
682
+ "onDelete": "cascade",
683
+ "onUpdate": "no action"
684
+ }
685
+ },
686
+ "compositePrimaryKeys": {},
687
+ "uniqueConstraints": {},
688
+ "checkConstraints": {}
689
+ },
690
+ "concepts": {
691
+ "name": "concepts",
692
+ "columns": {
693
+ "id": {
694
+ "name": "id",
695
+ "type": "text",
696
+ "primaryKey": true,
697
+ "notNull": true,
698
+ "autoincrement": false
699
+ },
700
+ "name": {
701
+ "name": "name",
702
+ "type": "text",
703
+ "primaryKey": false,
704
+ "notNull": true,
705
+ "autoincrement": false
706
+ },
707
+ "slug": {
708
+ "name": "slug",
709
+ "type": "text",
710
+ "primaryKey": false,
711
+ "notNull": true,
712
+ "autoincrement": false
713
+ },
714
+ "planet1": {
715
+ "name": "planet1",
716
+ "type": "text",
717
+ "primaryKey": false,
718
+ "notNull": true,
719
+ "autoincrement": false
720
+ },
721
+ "planet2": {
722
+ "name": "planet2",
723
+ "type": "text",
724
+ "primaryKey": false,
725
+ "notNull": true,
726
+ "autoincrement": false
727
+ },
728
+ "planet3": {
729
+ "name": "planet3",
730
+ "type": "text",
731
+ "primaryKey": false,
732
+ "notNull": false,
733
+ "autoincrement": false
734
+ }
735
+ },
736
+ "indexes": {
737
+ "concepts_name_idx": {
738
+ "name": "concepts_name_idx",
739
+ "columns": [
740
+ "name"
741
+ ],
742
+ "isUnique": false
743
+ }
744
+ },
745
+ "foreignKeys": {},
746
+ "compositePrimaryKeys": {},
747
+ "uniqueConstraints": {},
748
+ "checkConstraints": {}
749
+ },
750
+ "credits_transactions": {
751
+ "name": "credits_transactions",
752
+ "columns": {
753
+ "id": {
754
+ "name": "id",
755
+ "type": "text",
756
+ "primaryKey": true,
757
+ "notNull": true,
758
+ "autoincrement": false
759
+ },
760
+ "user_id": {
761
+ "name": "user_id",
762
+ "type": "text",
763
+ "primaryKey": false,
764
+ "notNull": true,
765
+ "autoincrement": false
766
+ },
767
+ "type": {
768
+ "name": "type",
769
+ "type": "text",
770
+ "primaryKey": false,
771
+ "notNull": true,
772
+ "autoincrement": false
773
+ },
774
+ "amount": {
775
+ "name": "amount",
776
+ "type": "integer",
777
+ "primaryKey": false,
778
+ "notNull": true,
779
+ "autoincrement": false
780
+ },
781
+ "description": {
782
+ "name": "description",
783
+ "type": "text",
784
+ "primaryKey": false,
785
+ "notNull": false,
786
+ "autoincrement": false
787
+ },
788
+ "product_type": {
789
+ "name": "product_type",
790
+ "type": "text",
791
+ "primaryKey": false,
792
+ "notNull": false,
793
+ "autoincrement": false
794
+ },
795
+ "product_id": {
796
+ "name": "product_id",
797
+ "type": "text",
798
+ "primaryKey": false,
799
+ "notNull": false,
800
+ "autoincrement": false
801
+ },
802
+ "payment_id": {
803
+ "name": "payment_id",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true,
807
+ "autoincrement": false
808
+ },
809
+ "created_at": {
810
+ "name": "created_at",
811
+ "type": "integer",
812
+ "primaryKey": false,
813
+ "notNull": true,
814
+ "autoincrement": false,
815
+ "default": "CURRENT_TIMESTAMP"
816
+ },
817
+ "updated_at": {
818
+ "name": "updated_at",
819
+ "type": "integer",
820
+ "primaryKey": false,
821
+ "notNull": true,
822
+ "autoincrement": false,
823
+ "default": "CURRENT_TIMESTAMP"
824
+ }
825
+ },
826
+ "indexes": {
827
+ "credits_transactions_user_id_idx": {
828
+ "name": "credits_transactions_user_id_idx",
829
+ "columns": [
830
+ "user_id"
831
+ ],
832
+ "isUnique": false
833
+ }
834
+ },
835
+ "foreignKeys": {
836
+ "credits_transactions_user_id_users_id_fk": {
837
+ "name": "credits_transactions_user_id_users_id_fk",
838
+ "tableFrom": "credits_transactions",
839
+ "tableTo": "users",
840
+ "columnsFrom": [
841
+ "user_id"
842
+ ],
843
+ "columnsTo": [
844
+ "id"
845
+ ],
846
+ "onDelete": "cascade",
847
+ "onUpdate": "no action"
848
+ }
849
+ },
850
+ "compositePrimaryKeys": {},
851
+ "uniqueConstraints": {},
852
+ "checkConstraints": {}
853
+ },
854
+ "generations": {
855
+ "name": "generations",
856
+ "columns": {
857
+ "id": {
858
+ "name": "id",
859
+ "type": "text",
860
+ "primaryKey": true,
861
+ "notNull": true,
862
+ "autoincrement": false
863
+ },
864
+ "user_id": {
865
+ "name": "user_id",
866
+ "type": "text",
867
+ "primaryKey": false,
868
+ "notNull": false,
869
+ "autoincrement": false
870
+ },
871
+ "artifact_id": {
872
+ "name": "artifact_id",
873
+ "type": "text",
874
+ "primaryKey": false,
875
+ "notNull": false,
876
+ "autoincrement": false
877
+ },
878
+ "archetype_index": {
879
+ "name": "archetype_index",
880
+ "type": "integer",
881
+ "primaryKey": false,
882
+ "notNull": false,
883
+ "autoincrement": false
884
+ },
885
+ "user_artifact_id": {
886
+ "name": "user_artifact_id",
887
+ "type": "text",
888
+ "primaryKey": false,
889
+ "notNull": false,
890
+ "autoincrement": false
891
+ },
892
+ "gender": {
893
+ "name": "gender",
894
+ "type": "text",
895
+ "primaryKey": false,
896
+ "notNull": false,
897
+ "autoincrement": false
898
+ },
899
+ "concept_combination_id": {
900
+ "name": "concept_combination_id",
901
+ "type": "text",
902
+ "primaryKey": false,
903
+ "notNull": false,
904
+ "autoincrement": false
905
+ },
906
+ "type": {
907
+ "name": "type",
908
+ "type": "text",
909
+ "primaryKey": false,
910
+ "notNull": true,
911
+ "autoincrement": false
912
+ },
913
+ "status": {
914
+ "name": "status",
915
+ "type": "text",
916
+ "primaryKey": false,
917
+ "notNull": true,
918
+ "autoincrement": false,
919
+ "default": "'pending'"
920
+ },
921
+ "url": {
922
+ "name": "url",
923
+ "type": "text",
924
+ "primaryKey": false,
925
+ "notNull": false,
926
+ "autoincrement": false
927
+ },
928
+ "created_at": {
929
+ "name": "created_at",
930
+ "type": "integer",
931
+ "primaryKey": false,
932
+ "notNull": true,
933
+ "autoincrement": false,
934
+ "default": "CURRENT_TIMESTAMP"
935
+ },
936
+ "updated_at": {
937
+ "name": "updated_at",
938
+ "type": "integer",
939
+ "primaryKey": false,
940
+ "notNull": true,
941
+ "autoincrement": false,
942
+ "default": "CURRENT_TIMESTAMP"
943
+ }
944
+ },
945
+ "indexes": {
946
+ "generations_user_id_idx": {
947
+ "name": "generations_user_id_idx",
948
+ "columns": [
949
+ "user_id"
950
+ ],
951
+ "isUnique": false
952
+ },
953
+ "generations_concept_combination_id_idx": {
954
+ "name": "generations_concept_combination_id_idx",
955
+ "columns": [
956
+ "concept_combination_id"
957
+ ],
958
+ "isUnique": false
959
+ },
960
+ "generations_archetype_index_idx": {
961
+ "name": "generations_archetype_index_idx",
962
+ "columns": [
963
+ "archetype_index"
964
+ ],
965
+ "isUnique": false
966
+ }
967
+ },
968
+ "foreignKeys": {
969
+ "generations_user_id_users_id_fk": {
970
+ "name": "generations_user_id_users_id_fk",
971
+ "tableFrom": "generations",
972
+ "tableTo": "users",
973
+ "columnsFrom": [
974
+ "user_id"
975
+ ],
976
+ "columnsTo": [
977
+ "id"
978
+ ],
979
+ "onDelete": "cascade",
980
+ "onUpdate": "no action"
981
+ },
982
+ "generations_artifact_id_artifacts_id_fk": {
983
+ "name": "generations_artifact_id_artifacts_id_fk",
984
+ "tableFrom": "generations",
985
+ "tableTo": "artifacts",
986
+ "columnsFrom": [
987
+ "artifact_id"
988
+ ],
989
+ "columnsTo": [
990
+ "id"
991
+ ],
992
+ "onDelete": "cascade",
993
+ "onUpdate": "no action"
994
+ },
995
+ "generations_user_artifact_id_user_artifacts_id_fk": {
996
+ "name": "generations_user_artifact_id_user_artifacts_id_fk",
997
+ "tableFrom": "generations",
998
+ "tableTo": "user_artifacts",
999
+ "columnsFrom": [
1000
+ "user_artifact_id"
1001
+ ],
1002
+ "columnsTo": [
1003
+ "id"
1004
+ ],
1005
+ "onDelete": "cascade",
1006
+ "onUpdate": "no action"
1007
+ },
1008
+ "generations_concept_combination_id_concept_combinations_id_fk": {
1009
+ "name": "generations_concept_combination_id_concept_combinations_id_fk",
1010
+ "tableFrom": "generations",
1011
+ "tableTo": "concept_combinations",
1012
+ "columnsFrom": [
1013
+ "concept_combination_id"
1014
+ ],
1015
+ "columnsTo": [
1016
+ "id"
1017
+ ],
1018
+ "onDelete": "cascade",
1019
+ "onUpdate": "no action"
1020
+ }
1021
+ },
1022
+ "compositePrimaryKeys": {},
1023
+ "uniqueConstraints": {},
1024
+ "checkConstraints": {}
1025
+ },
1026
+ "tokens": {
1027
+ "name": "tokens",
1028
+ "columns": {
1029
+ "id": {
1030
+ "name": "id",
1031
+ "type": "text",
1032
+ "primaryKey": true,
1033
+ "notNull": true,
1034
+ "autoincrement": false
1035
+ },
1036
+ "user_id": {
1037
+ "name": "user_id",
1038
+ "type": "text",
1039
+ "primaryKey": false,
1040
+ "notNull": true,
1041
+ "autoincrement": false
1042
+ },
1043
+ "refresh_token": {
1044
+ "name": "refresh_token",
1045
+ "type": "text",
1046
+ "primaryKey": false,
1047
+ "notNull": true,
1048
+ "autoincrement": false
1049
+ },
1050
+ "expires_at": {
1051
+ "name": "expires_at",
1052
+ "type": "text",
1053
+ "primaryKey": false,
1054
+ "notNull": true,
1055
+ "autoincrement": false
1056
+ },
1057
+ "created_at": {
1058
+ "name": "created_at",
1059
+ "type": "integer",
1060
+ "primaryKey": false,
1061
+ "notNull": true,
1062
+ "autoincrement": false,
1063
+ "default": "CURRENT_TIMESTAMP"
1064
+ },
1065
+ "updated_at": {
1066
+ "name": "updated_at",
1067
+ "type": "integer",
1068
+ "primaryKey": false,
1069
+ "notNull": true,
1070
+ "autoincrement": false,
1071
+ "default": "CURRENT_TIMESTAMP"
1072
+ }
1073
+ },
1074
+ "indexes": {
1075
+ "tokens_refresh_token_unique": {
1076
+ "name": "tokens_refresh_token_unique",
1077
+ "columns": [
1078
+ "refresh_token"
1079
+ ],
1080
+ "isUnique": true
1081
+ },
1082
+ "tokens_user_id_idx": {
1083
+ "name": "tokens_user_id_idx",
1084
+ "columns": [
1085
+ "user_id"
1086
+ ],
1087
+ "isUnique": false
1088
+ }
1089
+ },
1090
+ "foreignKeys": {
1091
+ "tokens_user_id_users_id_fk": {
1092
+ "name": "tokens_user_id_users_id_fk",
1093
+ "tableFrom": "tokens",
1094
+ "tableTo": "users",
1095
+ "columnsFrom": [
1096
+ "user_id"
1097
+ ],
1098
+ "columnsTo": [
1099
+ "id"
1100
+ ],
1101
+ "onDelete": "cascade",
1102
+ "onUpdate": "no action"
1103
+ }
1104
+ },
1105
+ "compositePrimaryKeys": {},
1106
+ "uniqueConstraints": {},
1107
+ "checkConstraints": {}
1108
+ },
1109
+ "user_artifacts": {
1110
+ "name": "user_artifacts",
1111
+ "columns": {
1112
+ "id": {
1113
+ "name": "id",
1114
+ "type": "text",
1115
+ "primaryKey": true,
1116
+ "notNull": true,
1117
+ "autoincrement": false
1118
+ },
1119
+ "user_id": {
1120
+ "name": "user_id",
1121
+ "type": "text",
1122
+ "primaryKey": false,
1123
+ "notNull": true,
1124
+ "autoincrement": false
1125
+ },
1126
+ "user_concept_id": {
1127
+ "name": "user_concept_id",
1128
+ "type": "text",
1129
+ "primaryKey": false,
1130
+ "notNull": true,
1131
+ "autoincrement": false
1132
+ },
1133
+ "artifact_id": {
1134
+ "name": "artifact_id",
1135
+ "type": "text",
1136
+ "primaryKey": false,
1137
+ "notNull": true,
1138
+ "autoincrement": false
1139
+ },
1140
+ "gender": {
1141
+ "name": "gender",
1142
+ "type": "text",
1143
+ "primaryKey": false,
1144
+ "notNull": true,
1145
+ "autoincrement": false
1146
+ },
1147
+ "archetype_index": {
1148
+ "name": "archetype_index",
1149
+ "type": "text",
1150
+ "primaryKey": false,
1151
+ "notNull": true,
1152
+ "autoincrement": false
1153
+ },
1154
+ "post_image_id": {
1155
+ "name": "post_image_id",
1156
+ "type": "text",
1157
+ "primaryKey": false,
1158
+ "notNull": false,
1159
+ "autoincrement": false
1160
+ },
1161
+ "reel_image_id": {
1162
+ "name": "reel_image_id",
1163
+ "type": "text",
1164
+ "primaryKey": false,
1165
+ "notNull": false,
1166
+ "autoincrement": false
1167
+ },
1168
+ "post_image_url": {
1169
+ "name": "post_image_url",
1170
+ "type": "text",
1171
+ "primaryKey": false,
1172
+ "notNull": false,
1173
+ "autoincrement": false
1174
+ },
1175
+ "reel_image_url": {
1176
+ "name": "reel_image_url",
1177
+ "type": "text",
1178
+ "primaryKey": false,
1179
+ "notNull": false,
1180
+ "autoincrement": false
1181
+ },
1182
+ "post_generation_id": {
1183
+ "name": "post_generation_id",
1184
+ "type": "text",
1185
+ "primaryKey": false,
1186
+ "notNull": false,
1187
+ "autoincrement": false
1188
+ },
1189
+ "reel_generation_id": {
1190
+ "name": "reel_generation_id",
1191
+ "type": "text",
1192
+ "primaryKey": false,
1193
+ "notNull": false,
1194
+ "autoincrement": false
1195
+ },
1196
+ "status": {
1197
+ "name": "status",
1198
+ "type": "text",
1199
+ "primaryKey": false,
1200
+ "notNull": true,
1201
+ "autoincrement": false,
1202
+ "default": "'pending'"
1203
+ },
1204
+ "created_at": {
1205
+ "name": "created_at",
1206
+ "type": "integer",
1207
+ "primaryKey": false,
1208
+ "notNull": true,
1209
+ "autoincrement": false,
1210
+ "default": "CURRENT_TIMESTAMP"
1211
+ },
1212
+ "updated_at": {
1213
+ "name": "updated_at",
1214
+ "type": "integer",
1215
+ "primaryKey": false,
1216
+ "notNull": true,
1217
+ "autoincrement": false,
1218
+ "default": "CURRENT_TIMESTAMP"
1219
+ }
1220
+ },
1221
+ "indexes": {
1222
+ "user_artifacts_user_id_idx": {
1223
+ "name": "user_artifacts_user_id_idx",
1224
+ "columns": [
1225
+ "user_id"
1226
+ ],
1227
+ "isUnique": false
1228
+ },
1229
+ "user_artifacts_artifact_id_idx": {
1230
+ "name": "user_artifacts_artifact_id_idx",
1231
+ "columns": [
1232
+ "artifact_id"
1233
+ ],
1234
+ "isUnique": false
1235
+ },
1236
+ "user_artifacts_status_idx": {
1237
+ "name": "user_artifacts_status_idx",
1238
+ "columns": [
1239
+ "status"
1240
+ ],
1241
+ "isUnique": false
1242
+ }
1243
+ },
1244
+ "foreignKeys": {
1245
+ "user_artifacts_user_id_users_id_fk": {
1246
+ "name": "user_artifacts_user_id_users_id_fk",
1247
+ "tableFrom": "user_artifacts",
1248
+ "tableTo": "users",
1249
+ "columnsFrom": [
1250
+ "user_id"
1251
+ ],
1252
+ "columnsTo": [
1253
+ "id"
1254
+ ],
1255
+ "onDelete": "cascade",
1256
+ "onUpdate": "no action"
1257
+ },
1258
+ "user_artifacts_user_concept_id_user_concepts_id_fk": {
1259
+ "name": "user_artifacts_user_concept_id_user_concepts_id_fk",
1260
+ "tableFrom": "user_artifacts",
1261
+ "tableTo": "user_concepts",
1262
+ "columnsFrom": [
1263
+ "user_concept_id"
1264
+ ],
1265
+ "columnsTo": [
1266
+ "id"
1267
+ ],
1268
+ "onDelete": "cascade",
1269
+ "onUpdate": "no action"
1270
+ },
1271
+ "user_artifacts_artifact_id_artifacts_id_fk": {
1272
+ "name": "user_artifacts_artifact_id_artifacts_id_fk",
1273
+ "tableFrom": "user_artifacts",
1274
+ "tableTo": "artifacts",
1275
+ "columnsFrom": [
1276
+ "artifact_id"
1277
+ ],
1278
+ "columnsTo": [
1279
+ "id"
1280
+ ],
1281
+ "onDelete": "cascade",
1282
+ "onUpdate": "no action"
1283
+ }
1284
+ },
1285
+ "compositePrimaryKeys": {},
1286
+ "uniqueConstraints": {},
1287
+ "checkConstraints": {}
1288
+ },
1289
+ "user_concepts": {
1290
+ "name": "user_concepts",
1291
+ "columns": {
1292
+ "id": {
1293
+ "name": "id",
1294
+ "type": "text",
1295
+ "primaryKey": true,
1296
+ "notNull": true,
1297
+ "autoincrement": false
1298
+ },
1299
+ "user_id": {
1300
+ "name": "user_id",
1301
+ "type": "text",
1302
+ "primaryKey": false,
1303
+ "notNull": true,
1304
+ "autoincrement": false
1305
+ },
1306
+ "concept_id": {
1307
+ "name": "concept_id",
1308
+ "type": "text",
1309
+ "primaryKey": false,
1310
+ "notNull": true,
1311
+ "autoincrement": false
1312
+ },
1313
+ "concept_combination_id": {
1314
+ "name": "concept_combination_id",
1315
+ "type": "text",
1316
+ "primaryKey": false,
1317
+ "notNull": true,
1318
+ "autoincrement": false
1319
+ },
1320
+ "created_at": {
1321
+ "name": "created_at",
1322
+ "type": "integer",
1323
+ "primaryKey": false,
1324
+ "notNull": true,
1325
+ "autoincrement": false,
1326
+ "default": "CURRENT_TIMESTAMP"
1327
+ },
1328
+ "updated_at": {
1329
+ "name": "updated_at",
1330
+ "type": "integer",
1331
+ "primaryKey": false,
1332
+ "notNull": true,
1333
+ "autoincrement": false,
1334
+ "default": "CURRENT_TIMESTAMP"
1335
+ }
1336
+ },
1337
+ "indexes": {
1338
+ "user_concepts_user_id_idx": {
1339
+ "name": "user_concepts_user_id_idx",
1340
+ "columns": [
1341
+ "user_id"
1342
+ ],
1343
+ "isUnique": false
1344
+ },
1345
+ "user_concepts_concept_id_idx": {
1346
+ "name": "user_concepts_concept_id_idx",
1347
+ "columns": [
1348
+ "concept_id"
1349
+ ],
1350
+ "isUnique": false
1351
+ }
1352
+ },
1353
+ "foreignKeys": {
1354
+ "user_concepts_user_id_users_id_fk": {
1355
+ "name": "user_concepts_user_id_users_id_fk",
1356
+ "tableFrom": "user_concepts",
1357
+ "tableTo": "users",
1358
+ "columnsFrom": [
1359
+ "user_id"
1360
+ ],
1361
+ "columnsTo": [
1362
+ "id"
1363
+ ],
1364
+ "onDelete": "cascade",
1365
+ "onUpdate": "no action"
1366
+ },
1367
+ "user_concepts_concept_id_concepts_id_fk": {
1368
+ "name": "user_concepts_concept_id_concepts_id_fk",
1369
+ "tableFrom": "user_concepts",
1370
+ "tableTo": "concepts",
1371
+ "columnsFrom": [
1372
+ "concept_id"
1373
+ ],
1374
+ "columnsTo": [
1375
+ "id"
1376
+ ],
1377
+ "onDelete": "cascade",
1378
+ "onUpdate": "no action"
1379
+ },
1380
+ "user_concepts_concept_combination_id_concept_combinations_id_fk": {
1381
+ "name": "user_concepts_concept_combination_id_concept_combinations_id_fk",
1382
+ "tableFrom": "user_concepts",
1383
+ "tableTo": "concept_combinations",
1384
+ "columnsFrom": [
1385
+ "concept_combination_id"
1386
+ ],
1387
+ "columnsTo": [
1388
+ "id"
1389
+ ],
1390
+ "onDelete": "cascade",
1391
+ "onUpdate": "no action"
1392
+ }
1393
+ },
1394
+ "compositePrimaryKeys": {},
1395
+ "uniqueConstraints": {},
1396
+ "checkConstraints": {}
1397
+ },
1398
+ "users": {
1399
+ "name": "users",
1400
+ "columns": {
1401
+ "id": {
1402
+ "name": "id",
1403
+ "type": "text",
1404
+ "primaryKey": true,
1405
+ "notNull": true,
1406
+ "autoincrement": false
1407
+ },
1408
+ "email": {
1409
+ "name": "email",
1410
+ "type": "text",
1411
+ "primaryKey": false,
1412
+ "notNull": true,
1413
+ "autoincrement": false
1414
+ },
1415
+ "password_hash": {
1416
+ "name": "password_hash",
1417
+ "type": "text",
1418
+ "primaryKey": false,
1419
+ "notNull": false,
1420
+ "autoincrement": false
1421
+ },
1422
+ "name": {
1423
+ "name": "name",
1424
+ "type": "text",
1425
+ "primaryKey": false,
1426
+ "notNull": true,
1427
+ "autoincrement": false
1428
+ },
1429
+ "profile_image": {
1430
+ "name": "profile_image",
1431
+ "type": "text",
1432
+ "primaryKey": false,
1433
+ "notNull": false,
1434
+ "autoincrement": false
1435
+ },
1436
+ "user_photo_id": {
1437
+ "name": "user_photo_id",
1438
+ "type": "text",
1439
+ "primaryKey": false,
1440
+ "notNull": false,
1441
+ "autoincrement": false
1442
+ },
1443
+ "user_photo_url": {
1444
+ "name": "user_photo_url",
1445
+ "type": "text",
1446
+ "primaryKey": false,
1447
+ "notNull": false,
1448
+ "autoincrement": false
1449
+ },
1450
+ "gender": {
1451
+ "name": "gender",
1452
+ "type": "text",
1453
+ "primaryKey": false,
1454
+ "notNull": false,
1455
+ "autoincrement": false
1456
+ },
1457
+ "day": {
1458
+ "name": "day",
1459
+ "type": "integer",
1460
+ "primaryKey": false,
1461
+ "notNull": true,
1462
+ "autoincrement": false
1463
+ },
1464
+ "month": {
1465
+ "name": "month",
1466
+ "type": "integer",
1467
+ "primaryKey": false,
1468
+ "notNull": true,
1469
+ "autoincrement": false
1470
+ },
1471
+ "year": {
1472
+ "name": "year",
1473
+ "type": "integer",
1474
+ "primaryKey": false,
1475
+ "notNull": true,
1476
+ "autoincrement": false
1477
+ },
1478
+ "hour": {
1479
+ "name": "hour",
1480
+ "type": "integer",
1481
+ "primaryKey": false,
1482
+ "notNull": false,
1483
+ "autoincrement": false
1484
+ },
1485
+ "min": {
1486
+ "name": "min",
1487
+ "type": "integer",
1488
+ "primaryKey": false,
1489
+ "notNull": false,
1490
+ "autoincrement": false
1491
+ },
1492
+ "latitude": {
1493
+ "name": "latitude",
1494
+ "type": "real",
1495
+ "primaryKey": false,
1496
+ "notNull": true,
1497
+ "autoincrement": false
1498
+ },
1499
+ "longitude": {
1500
+ "name": "longitude",
1501
+ "type": "real",
1502
+ "primaryKey": false,
1503
+ "notNull": true,
1504
+ "autoincrement": false
1505
+ },
1506
+ "tzone": {
1507
+ "name": "tzone",
1508
+ "type": "real",
1509
+ "primaryKey": false,
1510
+ "notNull": false,
1511
+ "autoincrement": false
1512
+ },
1513
+ "birth_location": {
1514
+ "name": "birth_location",
1515
+ "type": "text",
1516
+ "primaryKey": false,
1517
+ "notNull": true,
1518
+ "autoincrement": false
1519
+ },
1520
+ "instagram_username": {
1521
+ "name": "instagram_username",
1522
+ "type": "text",
1523
+ "primaryKey": false,
1524
+ "notNull": false,
1525
+ "autoincrement": false
1526
+ },
1527
+ "tiktok_username": {
1528
+ "name": "tiktok_username",
1529
+ "type": "text",
1530
+ "primaryKey": false,
1531
+ "notNull": false,
1532
+ "autoincrement": false
1533
+ },
1534
+ "oauth_provider": {
1535
+ "name": "oauth_provider",
1536
+ "type": "text",
1537
+ "primaryKey": false,
1538
+ "notNull": false,
1539
+ "autoincrement": false
1540
+ },
1541
+ "oauth_provider_id": {
1542
+ "name": "oauth_provider_id",
1543
+ "type": "text",
1544
+ "primaryKey": false,
1545
+ "notNull": false,
1546
+ "autoincrement": false
1547
+ },
1548
+ "credits_balance": {
1549
+ "name": "credits_balance",
1550
+ "type": "integer",
1551
+ "primaryKey": false,
1552
+ "notNull": true,
1553
+ "autoincrement": false,
1554
+ "default": 0
1555
+ },
1556
+ "total_credits_earned": {
1557
+ "name": "total_credits_earned",
1558
+ "type": "integer",
1559
+ "primaryKey": false,
1560
+ "notNull": true,
1561
+ "autoincrement": false,
1562
+ "default": 0
1563
+ },
1564
+ "last_transaction_at": {
1565
+ "name": "last_transaction_at",
1566
+ "type": "integer",
1567
+ "primaryKey": false,
1568
+ "notNull": false,
1569
+ "autoincrement": false
1570
+ },
1571
+ "language": {
1572
+ "name": "language",
1573
+ "type": "text",
1574
+ "primaryKey": false,
1575
+ "notNull": false,
1576
+ "autoincrement": false
1577
+ },
1578
+ "created_at": {
1579
+ "name": "created_at",
1580
+ "type": "integer",
1581
+ "primaryKey": false,
1582
+ "notNull": true,
1583
+ "autoincrement": false,
1584
+ "default": "CURRENT_TIMESTAMP"
1585
+ },
1586
+ "updated_at": {
1587
+ "name": "updated_at",
1588
+ "type": "integer",
1589
+ "primaryKey": false,
1590
+ "notNull": true,
1591
+ "autoincrement": false,
1592
+ "default": "CURRENT_TIMESTAMP"
1593
+ }
1594
+ },
1595
+ "indexes": {
1596
+ "users_email_unique": {
1597
+ "name": "users_email_unique",
1598
+ "columns": [
1599
+ "email"
1600
+ ],
1601
+ "isUnique": true
1602
+ },
1603
+ "users_instagram_username_unique": {
1604
+ "name": "users_instagram_username_unique",
1605
+ "columns": [
1606
+ "instagram_username"
1607
+ ],
1608
+ "isUnique": true
1609
+ },
1610
+ "users_tiktok_username_unique": {
1611
+ "name": "users_tiktok_username_unique",
1612
+ "columns": [
1613
+ "tiktok_username"
1614
+ ],
1615
+ "isUnique": true
1616
+ },
1617
+ "users_oauth_provider_id_unique": {
1618
+ "name": "users_oauth_provider_id_unique",
1619
+ "columns": [
1620
+ "oauth_provider_id"
1621
+ ],
1622
+ "isUnique": true
1623
+ },
1624
+ "users_email_idx": {
1625
+ "name": "users_email_idx",
1626
+ "columns": [
1627
+ "email"
1628
+ ],
1629
+ "isUnique": false
1630
+ },
1631
+ "users_oauth_provider_idx": {
1632
+ "name": "users_oauth_provider_idx",
1633
+ "columns": [
1634
+ "oauth_provider",
1635
+ "oauth_provider_id"
1636
+ ],
1637
+ "isUnique": false
1638
+ }
1639
+ },
1640
+ "foreignKeys": {},
1641
+ "compositePrimaryKeys": {},
1642
+ "uniqueConstraints": {},
1643
+ "checkConstraints": {}
1644
+ },
1645
+ "users_temp": {
1646
+ "name": "users_temp",
1647
+ "columns": {
1648
+ "id": {
1649
+ "name": "id",
1650
+ "type": "text",
1651
+ "primaryKey": true,
1652
+ "notNull": true,
1653
+ "autoincrement": false
1654
+ },
1655
+ "email": {
1656
+ "name": "email",
1657
+ "type": "text",
1658
+ "primaryKey": false,
1659
+ "notNull": true,
1660
+ "autoincrement": false
1661
+ },
1662
+ "name": {
1663
+ "name": "name",
1664
+ "type": "text",
1665
+ "primaryKey": false,
1666
+ "notNull": true,
1667
+ "autoincrement": false
1668
+ },
1669
+ "profile_image": {
1670
+ "name": "profile_image",
1671
+ "type": "text",
1672
+ "primaryKey": false,
1673
+ "notNull": false,
1674
+ "autoincrement": false
1675
+ },
1676
+ "oauth_provider": {
1677
+ "name": "oauth_provider",
1678
+ "type": "text",
1679
+ "primaryKey": false,
1680
+ "notNull": false,
1681
+ "autoincrement": false
1682
+ },
1683
+ "oauth_provider_id": {
1684
+ "name": "oauth_provider_id",
1685
+ "type": "text",
1686
+ "primaryKey": false,
1687
+ "notNull": false,
1688
+ "autoincrement": false
1689
+ },
1690
+ "created_at": {
1691
+ "name": "created_at",
1692
+ "type": "integer",
1693
+ "primaryKey": false,
1694
+ "notNull": true,
1695
+ "autoincrement": false,
1696
+ "default": "CURRENT_TIMESTAMP"
1697
+ },
1698
+ "updated_at": {
1699
+ "name": "updated_at",
1700
+ "type": "integer",
1701
+ "primaryKey": false,
1702
+ "notNull": true,
1703
+ "autoincrement": false,
1704
+ "default": "CURRENT_TIMESTAMP"
1705
+ }
1706
+ },
1707
+ "indexes": {
1708
+ "users_temp_email_unique": {
1709
+ "name": "users_temp_email_unique",
1710
+ "columns": [
1711
+ "email"
1712
+ ],
1713
+ "isUnique": true
1714
+ },
1715
+ "users_temp_email_idx": {
1716
+ "name": "users_temp_email_idx",
1717
+ "columns": [
1718
+ "email"
1719
+ ],
1720
+ "isUnique": false
1721
+ }
1722
+ },
1723
+ "foreignKeys": {},
1724
+ "compositePrimaryKeys": {},
1725
+ "uniqueConstraints": {},
1726
+ "checkConstraints": {}
1727
+ }
1728
+ },
1729
+ "views": {},
1730
+ "enums": {},
1731
+ "_meta": {
1732
+ "schemas": {},
1733
+ "tables": {},
1734
+ "columns": {}
1735
+ },
1736
+ "internal": {
1737
+ "indexes": {}
1738
+ }
1739
+ }