@zodic/shared 0.0.100 → 0.0.102

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,1753 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "28d34140-d61c-42e8-b826-ce351c86b94e",
5
+ "prevId": "ebe194b0-99ee-4e7e-be35-8440074ae3f6",
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
+ "sign_report": {
485
+ "name": "sign_report",
486
+ "type": "text",
487
+ "primaryKey": false,
488
+ "notNull": false,
489
+ "autoincrement": false
490
+ }
491
+ },
492
+ "indexes": {
493
+ "astro_houses_user_id_idx": {
494
+ "name": "astro_houses_user_id_idx",
495
+ "columns": [
496
+ "user_id"
497
+ ],
498
+ "isUnique": false
499
+ }
500
+ },
501
+ "foreignKeys": {
502
+ "astro_houses_user_id_users_id_fk": {
503
+ "name": "astro_houses_user_id_users_id_fk",
504
+ "tableFrom": "astro_houses",
505
+ "tableTo": "users",
506
+ "columnsFrom": [
507
+ "user_id"
508
+ ],
509
+ "columnsTo": [
510
+ "id"
511
+ ],
512
+ "onDelete": "cascade",
513
+ "onUpdate": "no action"
514
+ }
515
+ },
516
+ "compositePrimaryKeys": {},
517
+ "uniqueConstraints": {},
518
+ "checkConstraints": {}
519
+ },
520
+ "astro_planets": {
521
+ "name": "astro_planets",
522
+ "columns": {
523
+ "id": {
524
+ "name": "id",
525
+ "type": "text",
526
+ "primaryKey": true,
527
+ "notNull": true,
528
+ "autoincrement": false
529
+ },
530
+ "user_id": {
531
+ "name": "user_id",
532
+ "type": "text",
533
+ "primaryKey": false,
534
+ "notNull": true,
535
+ "autoincrement": false
536
+ },
537
+ "type": {
538
+ "name": "type",
539
+ "type": "text",
540
+ "primaryKey": false,
541
+ "notNull": true,
542
+ "autoincrement": false
543
+ },
544
+ "name": {
545
+ "name": "name",
546
+ "type": "text",
547
+ "primaryKey": false,
548
+ "notNull": true,
549
+ "autoincrement": false
550
+ },
551
+ "sign": {
552
+ "name": "sign",
553
+ "type": "text",
554
+ "primaryKey": false,
555
+ "notNull": true,
556
+ "autoincrement": false
557
+ },
558
+ "house": {
559
+ "name": "house",
560
+ "type": "integer",
561
+ "primaryKey": false,
562
+ "notNull": false,
563
+ "autoincrement": false
564
+ },
565
+ "full_degree": {
566
+ "name": "full_degree",
567
+ "type": "real",
568
+ "primaryKey": false,
569
+ "notNull": false,
570
+ "autoincrement": false
571
+ },
572
+ "norm_degree": {
573
+ "name": "norm_degree",
574
+ "type": "real",
575
+ "primaryKey": false,
576
+ "notNull": false,
577
+ "autoincrement": false
578
+ },
579
+ "speed": {
580
+ "name": "speed",
581
+ "type": "real",
582
+ "primaryKey": false,
583
+ "notNull": false,
584
+ "autoincrement": false
585
+ },
586
+ "is_retro": {
587
+ "name": "is_retro",
588
+ "type": "integer",
589
+ "primaryKey": false,
590
+ "notNull": false,
591
+ "autoincrement": false
592
+ },
593
+ "sign_report": {
594
+ "name": "sign_report",
595
+ "type": "text",
596
+ "primaryKey": false,
597
+ "notNull": false,
598
+ "autoincrement": false
599
+ },
600
+ "house_report": {
601
+ "name": "house_report",
602
+ "type": "text",
603
+ "primaryKey": false,
604
+ "notNull": false,
605
+ "autoincrement": false
606
+ }
607
+ },
608
+ "indexes": {
609
+ "astro_planets_user_id_idx": {
610
+ "name": "astro_planets_user_id_idx",
611
+ "columns": [
612
+ "user_id"
613
+ ],
614
+ "isUnique": false
615
+ }
616
+ },
617
+ "foreignKeys": {
618
+ "astro_planets_user_id_users_id_fk": {
619
+ "name": "astro_planets_user_id_users_id_fk",
620
+ "tableFrom": "astro_planets",
621
+ "tableTo": "users",
622
+ "columnsFrom": [
623
+ "user_id"
624
+ ],
625
+ "columnsTo": [
626
+ "id"
627
+ ],
628
+ "onDelete": "cascade",
629
+ "onUpdate": "no action"
630
+ }
631
+ },
632
+ "compositePrimaryKeys": {},
633
+ "uniqueConstraints": {},
634
+ "checkConstraints": {}
635
+ },
636
+ "concept_combinations": {
637
+ "name": "concept_combinations",
638
+ "columns": {
639
+ "id": {
640
+ "name": "id",
641
+ "type": "text",
642
+ "primaryKey": true,
643
+ "notNull": true,
644
+ "autoincrement": false
645
+ },
646
+ "concept_id": {
647
+ "name": "concept_id",
648
+ "type": "text",
649
+ "primaryKey": false,
650
+ "notNull": true,
651
+ "autoincrement": false
652
+ },
653
+ "planet1_sign": {
654
+ "name": "planet1_sign",
655
+ "type": "text",
656
+ "primaryKey": false,
657
+ "notNull": true,
658
+ "autoincrement": false
659
+ },
660
+ "planet2_sign": {
661
+ "name": "planet2_sign",
662
+ "type": "text",
663
+ "primaryKey": false,
664
+ "notNull": true,
665
+ "autoincrement": false
666
+ },
667
+ "planet3_sign": {
668
+ "name": "planet3_sign",
669
+ "type": "text",
670
+ "primaryKey": false,
671
+ "notNull": true,
672
+ "autoincrement": false
673
+ },
674
+ "combination_string": {
675
+ "name": "combination_string",
676
+ "type": "text",
677
+ "primaryKey": false,
678
+ "notNull": true,
679
+ "autoincrement": false
680
+ }
681
+ },
682
+ "indexes": {
683
+ "concept_combinations_unique_combination_idx": {
684
+ "name": "concept_combinations_unique_combination_idx",
685
+ "columns": [
686
+ "concept_id",
687
+ "combination_string"
688
+ ],
689
+ "isUnique": false
690
+ }
691
+ },
692
+ "foreignKeys": {
693
+ "concept_combinations_concept_id_concepts_id_fk": {
694
+ "name": "concept_combinations_concept_id_concepts_id_fk",
695
+ "tableFrom": "concept_combinations",
696
+ "tableTo": "concepts",
697
+ "columnsFrom": [
698
+ "concept_id"
699
+ ],
700
+ "columnsTo": [
701
+ "id"
702
+ ],
703
+ "onDelete": "cascade",
704
+ "onUpdate": "no action"
705
+ }
706
+ },
707
+ "compositePrimaryKeys": {},
708
+ "uniqueConstraints": {},
709
+ "checkConstraints": {}
710
+ },
711
+ "concepts": {
712
+ "name": "concepts",
713
+ "columns": {
714
+ "id": {
715
+ "name": "id",
716
+ "type": "text",
717
+ "primaryKey": true,
718
+ "notNull": true,
719
+ "autoincrement": false
720
+ },
721
+ "name": {
722
+ "name": "name",
723
+ "type": "text",
724
+ "primaryKey": false,
725
+ "notNull": true,
726
+ "autoincrement": false
727
+ },
728
+ "slug": {
729
+ "name": "slug",
730
+ "type": "text",
731
+ "primaryKey": false,
732
+ "notNull": true,
733
+ "autoincrement": false
734
+ },
735
+ "planet1": {
736
+ "name": "planet1",
737
+ "type": "text",
738
+ "primaryKey": false,
739
+ "notNull": true,
740
+ "autoincrement": false
741
+ },
742
+ "planet2": {
743
+ "name": "planet2",
744
+ "type": "text",
745
+ "primaryKey": false,
746
+ "notNull": true,
747
+ "autoincrement": false
748
+ },
749
+ "planet3": {
750
+ "name": "planet3",
751
+ "type": "text",
752
+ "primaryKey": false,
753
+ "notNull": false,
754
+ "autoincrement": false
755
+ }
756
+ },
757
+ "indexes": {
758
+ "concepts_name_idx": {
759
+ "name": "concepts_name_idx",
760
+ "columns": [
761
+ "name"
762
+ ],
763
+ "isUnique": false
764
+ }
765
+ },
766
+ "foreignKeys": {},
767
+ "compositePrimaryKeys": {},
768
+ "uniqueConstraints": {},
769
+ "checkConstraints": {}
770
+ },
771
+ "credits_transactions": {
772
+ "name": "credits_transactions",
773
+ "columns": {
774
+ "id": {
775
+ "name": "id",
776
+ "type": "text",
777
+ "primaryKey": true,
778
+ "notNull": true,
779
+ "autoincrement": false
780
+ },
781
+ "user_id": {
782
+ "name": "user_id",
783
+ "type": "text",
784
+ "primaryKey": false,
785
+ "notNull": true,
786
+ "autoincrement": false
787
+ },
788
+ "type": {
789
+ "name": "type",
790
+ "type": "text",
791
+ "primaryKey": false,
792
+ "notNull": true,
793
+ "autoincrement": false
794
+ },
795
+ "amount": {
796
+ "name": "amount",
797
+ "type": "integer",
798
+ "primaryKey": false,
799
+ "notNull": true,
800
+ "autoincrement": false
801
+ },
802
+ "description": {
803
+ "name": "description",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": false,
807
+ "autoincrement": false
808
+ },
809
+ "product_type": {
810
+ "name": "product_type",
811
+ "type": "text",
812
+ "primaryKey": false,
813
+ "notNull": false,
814
+ "autoincrement": false
815
+ },
816
+ "product_id": {
817
+ "name": "product_id",
818
+ "type": "text",
819
+ "primaryKey": false,
820
+ "notNull": false,
821
+ "autoincrement": false
822
+ },
823
+ "payment_id": {
824
+ "name": "payment_id",
825
+ "type": "text",
826
+ "primaryKey": false,
827
+ "notNull": true,
828
+ "autoincrement": false
829
+ },
830
+ "created_at": {
831
+ "name": "created_at",
832
+ "type": "integer",
833
+ "primaryKey": false,
834
+ "notNull": true,
835
+ "autoincrement": false,
836
+ "default": "CURRENT_TIMESTAMP"
837
+ },
838
+ "updated_at": {
839
+ "name": "updated_at",
840
+ "type": "integer",
841
+ "primaryKey": false,
842
+ "notNull": true,
843
+ "autoincrement": false,
844
+ "default": "CURRENT_TIMESTAMP"
845
+ }
846
+ },
847
+ "indexes": {
848
+ "credits_transactions_user_id_idx": {
849
+ "name": "credits_transactions_user_id_idx",
850
+ "columns": [
851
+ "user_id"
852
+ ],
853
+ "isUnique": false
854
+ }
855
+ },
856
+ "foreignKeys": {
857
+ "credits_transactions_user_id_users_id_fk": {
858
+ "name": "credits_transactions_user_id_users_id_fk",
859
+ "tableFrom": "credits_transactions",
860
+ "tableTo": "users",
861
+ "columnsFrom": [
862
+ "user_id"
863
+ ],
864
+ "columnsTo": [
865
+ "id"
866
+ ],
867
+ "onDelete": "cascade",
868
+ "onUpdate": "no action"
869
+ }
870
+ },
871
+ "compositePrimaryKeys": {},
872
+ "uniqueConstraints": {},
873
+ "checkConstraints": {}
874
+ },
875
+ "generations": {
876
+ "name": "generations",
877
+ "columns": {
878
+ "id": {
879
+ "name": "id",
880
+ "type": "text",
881
+ "primaryKey": true,
882
+ "notNull": true,
883
+ "autoincrement": false
884
+ },
885
+ "user_id": {
886
+ "name": "user_id",
887
+ "type": "text",
888
+ "primaryKey": false,
889
+ "notNull": false,
890
+ "autoincrement": false
891
+ },
892
+ "artifact_id": {
893
+ "name": "artifact_id",
894
+ "type": "text",
895
+ "primaryKey": false,
896
+ "notNull": false,
897
+ "autoincrement": false
898
+ },
899
+ "archetype_index": {
900
+ "name": "archetype_index",
901
+ "type": "integer",
902
+ "primaryKey": false,
903
+ "notNull": false,
904
+ "autoincrement": false
905
+ },
906
+ "user_artifact_id": {
907
+ "name": "user_artifact_id",
908
+ "type": "text",
909
+ "primaryKey": false,
910
+ "notNull": false,
911
+ "autoincrement": false
912
+ },
913
+ "gender": {
914
+ "name": "gender",
915
+ "type": "text",
916
+ "primaryKey": false,
917
+ "notNull": false,
918
+ "autoincrement": false
919
+ },
920
+ "concept_combination_id": {
921
+ "name": "concept_combination_id",
922
+ "type": "text",
923
+ "primaryKey": false,
924
+ "notNull": false,
925
+ "autoincrement": false
926
+ },
927
+ "type": {
928
+ "name": "type",
929
+ "type": "text",
930
+ "primaryKey": false,
931
+ "notNull": true,
932
+ "autoincrement": false
933
+ },
934
+ "status": {
935
+ "name": "status",
936
+ "type": "text",
937
+ "primaryKey": false,
938
+ "notNull": true,
939
+ "autoincrement": false,
940
+ "default": "'pending'"
941
+ },
942
+ "url": {
943
+ "name": "url",
944
+ "type": "text",
945
+ "primaryKey": false,
946
+ "notNull": false,
947
+ "autoincrement": false
948
+ },
949
+ "created_at": {
950
+ "name": "created_at",
951
+ "type": "integer",
952
+ "primaryKey": false,
953
+ "notNull": true,
954
+ "autoincrement": false,
955
+ "default": "CURRENT_TIMESTAMP"
956
+ },
957
+ "updated_at": {
958
+ "name": "updated_at",
959
+ "type": "integer",
960
+ "primaryKey": false,
961
+ "notNull": true,
962
+ "autoincrement": false,
963
+ "default": "CURRENT_TIMESTAMP"
964
+ }
965
+ },
966
+ "indexes": {
967
+ "generations_user_id_idx": {
968
+ "name": "generations_user_id_idx",
969
+ "columns": [
970
+ "user_id"
971
+ ],
972
+ "isUnique": false
973
+ },
974
+ "generations_concept_combination_id_idx": {
975
+ "name": "generations_concept_combination_id_idx",
976
+ "columns": [
977
+ "concept_combination_id"
978
+ ],
979
+ "isUnique": false
980
+ },
981
+ "generations_archetype_index_idx": {
982
+ "name": "generations_archetype_index_idx",
983
+ "columns": [
984
+ "archetype_index"
985
+ ],
986
+ "isUnique": false
987
+ }
988
+ },
989
+ "foreignKeys": {
990
+ "generations_user_id_users_id_fk": {
991
+ "name": "generations_user_id_users_id_fk",
992
+ "tableFrom": "generations",
993
+ "tableTo": "users",
994
+ "columnsFrom": [
995
+ "user_id"
996
+ ],
997
+ "columnsTo": [
998
+ "id"
999
+ ],
1000
+ "onDelete": "cascade",
1001
+ "onUpdate": "no action"
1002
+ },
1003
+ "generations_artifact_id_artifacts_id_fk": {
1004
+ "name": "generations_artifact_id_artifacts_id_fk",
1005
+ "tableFrom": "generations",
1006
+ "tableTo": "artifacts",
1007
+ "columnsFrom": [
1008
+ "artifact_id"
1009
+ ],
1010
+ "columnsTo": [
1011
+ "id"
1012
+ ],
1013
+ "onDelete": "cascade",
1014
+ "onUpdate": "no action"
1015
+ },
1016
+ "generations_user_artifact_id_user_artifacts_id_fk": {
1017
+ "name": "generations_user_artifact_id_user_artifacts_id_fk",
1018
+ "tableFrom": "generations",
1019
+ "tableTo": "user_artifacts",
1020
+ "columnsFrom": [
1021
+ "user_artifact_id"
1022
+ ],
1023
+ "columnsTo": [
1024
+ "id"
1025
+ ],
1026
+ "onDelete": "cascade",
1027
+ "onUpdate": "no action"
1028
+ },
1029
+ "generations_concept_combination_id_concept_combinations_id_fk": {
1030
+ "name": "generations_concept_combination_id_concept_combinations_id_fk",
1031
+ "tableFrom": "generations",
1032
+ "tableTo": "concept_combinations",
1033
+ "columnsFrom": [
1034
+ "concept_combination_id"
1035
+ ],
1036
+ "columnsTo": [
1037
+ "id"
1038
+ ],
1039
+ "onDelete": "cascade",
1040
+ "onUpdate": "no action"
1041
+ }
1042
+ },
1043
+ "compositePrimaryKeys": {},
1044
+ "uniqueConstraints": {},
1045
+ "checkConstraints": {}
1046
+ },
1047
+ "tokens": {
1048
+ "name": "tokens",
1049
+ "columns": {
1050
+ "id": {
1051
+ "name": "id",
1052
+ "type": "text",
1053
+ "primaryKey": true,
1054
+ "notNull": true,
1055
+ "autoincrement": false
1056
+ },
1057
+ "user_id": {
1058
+ "name": "user_id",
1059
+ "type": "text",
1060
+ "primaryKey": false,
1061
+ "notNull": true,
1062
+ "autoincrement": false
1063
+ },
1064
+ "refresh_token": {
1065
+ "name": "refresh_token",
1066
+ "type": "text",
1067
+ "primaryKey": false,
1068
+ "notNull": true,
1069
+ "autoincrement": false
1070
+ },
1071
+ "expires_at": {
1072
+ "name": "expires_at",
1073
+ "type": "text",
1074
+ "primaryKey": false,
1075
+ "notNull": true,
1076
+ "autoincrement": false
1077
+ },
1078
+ "created_at": {
1079
+ "name": "created_at",
1080
+ "type": "integer",
1081
+ "primaryKey": false,
1082
+ "notNull": true,
1083
+ "autoincrement": false,
1084
+ "default": "CURRENT_TIMESTAMP"
1085
+ },
1086
+ "updated_at": {
1087
+ "name": "updated_at",
1088
+ "type": "integer",
1089
+ "primaryKey": false,
1090
+ "notNull": true,
1091
+ "autoincrement": false,
1092
+ "default": "CURRENT_TIMESTAMP"
1093
+ }
1094
+ },
1095
+ "indexes": {
1096
+ "tokens_refresh_token_unique": {
1097
+ "name": "tokens_refresh_token_unique",
1098
+ "columns": [
1099
+ "refresh_token"
1100
+ ],
1101
+ "isUnique": true
1102
+ },
1103
+ "tokens_user_id_idx": {
1104
+ "name": "tokens_user_id_idx",
1105
+ "columns": [
1106
+ "user_id"
1107
+ ],
1108
+ "isUnique": false
1109
+ }
1110
+ },
1111
+ "foreignKeys": {
1112
+ "tokens_user_id_users_id_fk": {
1113
+ "name": "tokens_user_id_users_id_fk",
1114
+ "tableFrom": "tokens",
1115
+ "tableTo": "users",
1116
+ "columnsFrom": [
1117
+ "user_id"
1118
+ ],
1119
+ "columnsTo": [
1120
+ "id"
1121
+ ],
1122
+ "onDelete": "cascade",
1123
+ "onUpdate": "no action"
1124
+ }
1125
+ },
1126
+ "compositePrimaryKeys": {},
1127
+ "uniqueConstraints": {},
1128
+ "checkConstraints": {}
1129
+ },
1130
+ "user_artifacts": {
1131
+ "name": "user_artifacts",
1132
+ "columns": {
1133
+ "id": {
1134
+ "name": "id",
1135
+ "type": "text",
1136
+ "primaryKey": true,
1137
+ "notNull": true,
1138
+ "autoincrement": false
1139
+ },
1140
+ "user_id": {
1141
+ "name": "user_id",
1142
+ "type": "text",
1143
+ "primaryKey": false,
1144
+ "notNull": true,
1145
+ "autoincrement": false
1146
+ },
1147
+ "user_concept_id": {
1148
+ "name": "user_concept_id",
1149
+ "type": "text",
1150
+ "primaryKey": false,
1151
+ "notNull": true,
1152
+ "autoincrement": false
1153
+ },
1154
+ "artifact_id": {
1155
+ "name": "artifact_id",
1156
+ "type": "text",
1157
+ "primaryKey": false,
1158
+ "notNull": true,
1159
+ "autoincrement": false
1160
+ },
1161
+ "gender": {
1162
+ "name": "gender",
1163
+ "type": "text",
1164
+ "primaryKey": false,
1165
+ "notNull": true,
1166
+ "autoincrement": false
1167
+ },
1168
+ "archetype_index": {
1169
+ "name": "archetype_index",
1170
+ "type": "text",
1171
+ "primaryKey": false,
1172
+ "notNull": true,
1173
+ "autoincrement": false
1174
+ },
1175
+ "post_image_id": {
1176
+ "name": "post_image_id",
1177
+ "type": "text",
1178
+ "primaryKey": false,
1179
+ "notNull": false,
1180
+ "autoincrement": false
1181
+ },
1182
+ "reel_image_id": {
1183
+ "name": "reel_image_id",
1184
+ "type": "text",
1185
+ "primaryKey": false,
1186
+ "notNull": false,
1187
+ "autoincrement": false
1188
+ },
1189
+ "post_image_url": {
1190
+ "name": "post_image_url",
1191
+ "type": "text",
1192
+ "primaryKey": false,
1193
+ "notNull": false,
1194
+ "autoincrement": false
1195
+ },
1196
+ "reel_image_url": {
1197
+ "name": "reel_image_url",
1198
+ "type": "text",
1199
+ "primaryKey": false,
1200
+ "notNull": false,
1201
+ "autoincrement": false
1202
+ },
1203
+ "post_generation_id": {
1204
+ "name": "post_generation_id",
1205
+ "type": "text",
1206
+ "primaryKey": false,
1207
+ "notNull": false,
1208
+ "autoincrement": false
1209
+ },
1210
+ "reel_generation_id": {
1211
+ "name": "reel_generation_id",
1212
+ "type": "text",
1213
+ "primaryKey": false,
1214
+ "notNull": false,
1215
+ "autoincrement": false
1216
+ },
1217
+ "status": {
1218
+ "name": "status",
1219
+ "type": "text",
1220
+ "primaryKey": false,
1221
+ "notNull": true,
1222
+ "autoincrement": false,
1223
+ "default": "'pending'"
1224
+ },
1225
+ "created_at": {
1226
+ "name": "created_at",
1227
+ "type": "integer",
1228
+ "primaryKey": false,
1229
+ "notNull": true,
1230
+ "autoincrement": false,
1231
+ "default": "CURRENT_TIMESTAMP"
1232
+ },
1233
+ "updated_at": {
1234
+ "name": "updated_at",
1235
+ "type": "integer",
1236
+ "primaryKey": false,
1237
+ "notNull": true,
1238
+ "autoincrement": false,
1239
+ "default": "CURRENT_TIMESTAMP"
1240
+ }
1241
+ },
1242
+ "indexes": {
1243
+ "user_artifacts_user_id_idx": {
1244
+ "name": "user_artifacts_user_id_idx",
1245
+ "columns": [
1246
+ "user_id"
1247
+ ],
1248
+ "isUnique": false
1249
+ },
1250
+ "user_artifacts_artifact_id_idx": {
1251
+ "name": "user_artifacts_artifact_id_idx",
1252
+ "columns": [
1253
+ "artifact_id"
1254
+ ],
1255
+ "isUnique": false
1256
+ },
1257
+ "user_artifacts_status_idx": {
1258
+ "name": "user_artifacts_status_idx",
1259
+ "columns": [
1260
+ "status"
1261
+ ],
1262
+ "isUnique": false
1263
+ }
1264
+ },
1265
+ "foreignKeys": {
1266
+ "user_artifacts_user_id_users_id_fk": {
1267
+ "name": "user_artifacts_user_id_users_id_fk",
1268
+ "tableFrom": "user_artifacts",
1269
+ "tableTo": "users",
1270
+ "columnsFrom": [
1271
+ "user_id"
1272
+ ],
1273
+ "columnsTo": [
1274
+ "id"
1275
+ ],
1276
+ "onDelete": "cascade",
1277
+ "onUpdate": "no action"
1278
+ },
1279
+ "user_artifacts_user_concept_id_user_concepts_id_fk": {
1280
+ "name": "user_artifacts_user_concept_id_user_concepts_id_fk",
1281
+ "tableFrom": "user_artifacts",
1282
+ "tableTo": "user_concepts",
1283
+ "columnsFrom": [
1284
+ "user_concept_id"
1285
+ ],
1286
+ "columnsTo": [
1287
+ "id"
1288
+ ],
1289
+ "onDelete": "cascade",
1290
+ "onUpdate": "no action"
1291
+ },
1292
+ "user_artifacts_artifact_id_artifacts_id_fk": {
1293
+ "name": "user_artifacts_artifact_id_artifacts_id_fk",
1294
+ "tableFrom": "user_artifacts",
1295
+ "tableTo": "artifacts",
1296
+ "columnsFrom": [
1297
+ "artifact_id"
1298
+ ],
1299
+ "columnsTo": [
1300
+ "id"
1301
+ ],
1302
+ "onDelete": "cascade",
1303
+ "onUpdate": "no action"
1304
+ }
1305
+ },
1306
+ "compositePrimaryKeys": {},
1307
+ "uniqueConstraints": {},
1308
+ "checkConstraints": {}
1309
+ },
1310
+ "user_concepts": {
1311
+ "name": "user_concepts",
1312
+ "columns": {
1313
+ "id": {
1314
+ "name": "id",
1315
+ "type": "text",
1316
+ "primaryKey": true,
1317
+ "notNull": true,
1318
+ "autoincrement": false
1319
+ },
1320
+ "user_id": {
1321
+ "name": "user_id",
1322
+ "type": "text",
1323
+ "primaryKey": false,
1324
+ "notNull": true,
1325
+ "autoincrement": false
1326
+ },
1327
+ "concept_id": {
1328
+ "name": "concept_id",
1329
+ "type": "text",
1330
+ "primaryKey": false,
1331
+ "notNull": true,
1332
+ "autoincrement": false
1333
+ },
1334
+ "concept_combination_id": {
1335
+ "name": "concept_combination_id",
1336
+ "type": "text",
1337
+ "primaryKey": false,
1338
+ "notNull": true,
1339
+ "autoincrement": false
1340
+ },
1341
+ "created_at": {
1342
+ "name": "created_at",
1343
+ "type": "integer",
1344
+ "primaryKey": false,
1345
+ "notNull": true,
1346
+ "autoincrement": false,
1347
+ "default": "CURRENT_TIMESTAMP"
1348
+ },
1349
+ "updated_at": {
1350
+ "name": "updated_at",
1351
+ "type": "integer",
1352
+ "primaryKey": false,
1353
+ "notNull": true,
1354
+ "autoincrement": false,
1355
+ "default": "CURRENT_TIMESTAMP"
1356
+ }
1357
+ },
1358
+ "indexes": {
1359
+ "user_concepts_user_id_idx": {
1360
+ "name": "user_concepts_user_id_idx",
1361
+ "columns": [
1362
+ "user_id"
1363
+ ],
1364
+ "isUnique": false
1365
+ },
1366
+ "user_concepts_concept_id_idx": {
1367
+ "name": "user_concepts_concept_id_idx",
1368
+ "columns": [
1369
+ "concept_id"
1370
+ ],
1371
+ "isUnique": false
1372
+ }
1373
+ },
1374
+ "foreignKeys": {
1375
+ "user_concepts_user_id_users_id_fk": {
1376
+ "name": "user_concepts_user_id_users_id_fk",
1377
+ "tableFrom": "user_concepts",
1378
+ "tableTo": "users",
1379
+ "columnsFrom": [
1380
+ "user_id"
1381
+ ],
1382
+ "columnsTo": [
1383
+ "id"
1384
+ ],
1385
+ "onDelete": "cascade",
1386
+ "onUpdate": "no action"
1387
+ },
1388
+ "user_concepts_concept_id_concepts_id_fk": {
1389
+ "name": "user_concepts_concept_id_concepts_id_fk",
1390
+ "tableFrom": "user_concepts",
1391
+ "tableTo": "concepts",
1392
+ "columnsFrom": [
1393
+ "concept_id"
1394
+ ],
1395
+ "columnsTo": [
1396
+ "id"
1397
+ ],
1398
+ "onDelete": "cascade",
1399
+ "onUpdate": "no action"
1400
+ },
1401
+ "user_concepts_concept_combination_id_concept_combinations_id_fk": {
1402
+ "name": "user_concepts_concept_combination_id_concept_combinations_id_fk",
1403
+ "tableFrom": "user_concepts",
1404
+ "tableTo": "concept_combinations",
1405
+ "columnsFrom": [
1406
+ "concept_combination_id"
1407
+ ],
1408
+ "columnsTo": [
1409
+ "id"
1410
+ ],
1411
+ "onDelete": "cascade",
1412
+ "onUpdate": "no action"
1413
+ }
1414
+ },
1415
+ "compositePrimaryKeys": {},
1416
+ "uniqueConstraints": {},
1417
+ "checkConstraints": {}
1418
+ },
1419
+ "users": {
1420
+ "name": "users",
1421
+ "columns": {
1422
+ "id": {
1423
+ "name": "id",
1424
+ "type": "text",
1425
+ "primaryKey": true,
1426
+ "notNull": true,
1427
+ "autoincrement": false
1428
+ },
1429
+ "email": {
1430
+ "name": "email",
1431
+ "type": "text",
1432
+ "primaryKey": false,
1433
+ "notNull": true,
1434
+ "autoincrement": false
1435
+ },
1436
+ "password_hash": {
1437
+ "name": "password_hash",
1438
+ "type": "text",
1439
+ "primaryKey": false,
1440
+ "notNull": false,
1441
+ "autoincrement": false
1442
+ },
1443
+ "name": {
1444
+ "name": "name",
1445
+ "type": "text",
1446
+ "primaryKey": false,
1447
+ "notNull": true,
1448
+ "autoincrement": false
1449
+ },
1450
+ "profile_image": {
1451
+ "name": "profile_image",
1452
+ "type": "text",
1453
+ "primaryKey": false,
1454
+ "notNull": false,
1455
+ "autoincrement": false
1456
+ },
1457
+ "user_photo_id": {
1458
+ "name": "user_photo_id",
1459
+ "type": "text",
1460
+ "primaryKey": false,
1461
+ "notNull": false,
1462
+ "autoincrement": false
1463
+ },
1464
+ "user_photo_url": {
1465
+ "name": "user_photo_url",
1466
+ "type": "text",
1467
+ "primaryKey": false,
1468
+ "notNull": false,
1469
+ "autoincrement": false
1470
+ },
1471
+ "gender": {
1472
+ "name": "gender",
1473
+ "type": "text",
1474
+ "primaryKey": false,
1475
+ "notNull": false,
1476
+ "autoincrement": false
1477
+ },
1478
+ "day": {
1479
+ "name": "day",
1480
+ "type": "integer",
1481
+ "primaryKey": false,
1482
+ "notNull": true,
1483
+ "autoincrement": false
1484
+ },
1485
+ "month": {
1486
+ "name": "month",
1487
+ "type": "integer",
1488
+ "primaryKey": false,
1489
+ "notNull": true,
1490
+ "autoincrement": false
1491
+ },
1492
+ "year": {
1493
+ "name": "year",
1494
+ "type": "integer",
1495
+ "primaryKey": false,
1496
+ "notNull": true,
1497
+ "autoincrement": false
1498
+ },
1499
+ "hour": {
1500
+ "name": "hour",
1501
+ "type": "integer",
1502
+ "primaryKey": false,
1503
+ "notNull": false,
1504
+ "autoincrement": false
1505
+ },
1506
+ "min": {
1507
+ "name": "min",
1508
+ "type": "integer",
1509
+ "primaryKey": false,
1510
+ "notNull": false,
1511
+ "autoincrement": false
1512
+ },
1513
+ "latitude": {
1514
+ "name": "latitude",
1515
+ "type": "real",
1516
+ "primaryKey": false,
1517
+ "notNull": true,
1518
+ "autoincrement": false
1519
+ },
1520
+ "longitude": {
1521
+ "name": "longitude",
1522
+ "type": "real",
1523
+ "primaryKey": false,
1524
+ "notNull": true,
1525
+ "autoincrement": false
1526
+ },
1527
+ "tzone": {
1528
+ "name": "tzone",
1529
+ "type": "real",
1530
+ "primaryKey": false,
1531
+ "notNull": false,
1532
+ "autoincrement": false
1533
+ },
1534
+ "birth_location": {
1535
+ "name": "birth_location",
1536
+ "type": "text",
1537
+ "primaryKey": false,
1538
+ "notNull": true,
1539
+ "autoincrement": false
1540
+ },
1541
+ "instagram_username": {
1542
+ "name": "instagram_username",
1543
+ "type": "text",
1544
+ "primaryKey": false,
1545
+ "notNull": false,
1546
+ "autoincrement": false
1547
+ },
1548
+ "tiktok_username": {
1549
+ "name": "tiktok_username",
1550
+ "type": "text",
1551
+ "primaryKey": false,
1552
+ "notNull": false,
1553
+ "autoincrement": false
1554
+ },
1555
+ "oauth_provider": {
1556
+ "name": "oauth_provider",
1557
+ "type": "text",
1558
+ "primaryKey": false,
1559
+ "notNull": false,
1560
+ "autoincrement": false
1561
+ },
1562
+ "oauth_provider_id": {
1563
+ "name": "oauth_provider_id",
1564
+ "type": "text",
1565
+ "primaryKey": false,
1566
+ "notNull": false,
1567
+ "autoincrement": false
1568
+ },
1569
+ "credits_balance": {
1570
+ "name": "credits_balance",
1571
+ "type": "integer",
1572
+ "primaryKey": false,
1573
+ "notNull": true,
1574
+ "autoincrement": false,
1575
+ "default": 0
1576
+ },
1577
+ "total_credits_earned": {
1578
+ "name": "total_credits_earned",
1579
+ "type": "integer",
1580
+ "primaryKey": false,
1581
+ "notNull": true,
1582
+ "autoincrement": false,
1583
+ "default": 0
1584
+ },
1585
+ "last_transaction_at": {
1586
+ "name": "last_transaction_at",
1587
+ "type": "integer",
1588
+ "primaryKey": false,
1589
+ "notNull": false,
1590
+ "autoincrement": false
1591
+ },
1592
+ "created_at": {
1593
+ "name": "created_at",
1594
+ "type": "integer",
1595
+ "primaryKey": false,
1596
+ "notNull": true,
1597
+ "autoincrement": false,
1598
+ "default": "CURRENT_TIMESTAMP"
1599
+ },
1600
+ "updated_at": {
1601
+ "name": "updated_at",
1602
+ "type": "integer",
1603
+ "primaryKey": false,
1604
+ "notNull": true,
1605
+ "autoincrement": false,
1606
+ "default": "CURRENT_TIMESTAMP"
1607
+ }
1608
+ },
1609
+ "indexes": {
1610
+ "users_email_unique": {
1611
+ "name": "users_email_unique",
1612
+ "columns": [
1613
+ "email"
1614
+ ],
1615
+ "isUnique": true
1616
+ },
1617
+ "users_instagram_username_unique": {
1618
+ "name": "users_instagram_username_unique",
1619
+ "columns": [
1620
+ "instagram_username"
1621
+ ],
1622
+ "isUnique": true
1623
+ },
1624
+ "users_tiktok_username_unique": {
1625
+ "name": "users_tiktok_username_unique",
1626
+ "columns": [
1627
+ "tiktok_username"
1628
+ ],
1629
+ "isUnique": true
1630
+ },
1631
+ "users_oauth_provider_id_unique": {
1632
+ "name": "users_oauth_provider_id_unique",
1633
+ "columns": [
1634
+ "oauth_provider_id"
1635
+ ],
1636
+ "isUnique": true
1637
+ },
1638
+ "users_email_idx": {
1639
+ "name": "users_email_idx",
1640
+ "columns": [
1641
+ "email"
1642
+ ],
1643
+ "isUnique": false
1644
+ },
1645
+ "users_oauth_provider_idx": {
1646
+ "name": "users_oauth_provider_idx",
1647
+ "columns": [
1648
+ "oauth_provider",
1649
+ "oauth_provider_id"
1650
+ ],
1651
+ "isUnique": false
1652
+ }
1653
+ },
1654
+ "foreignKeys": {},
1655
+ "compositePrimaryKeys": {},
1656
+ "uniqueConstraints": {},
1657
+ "checkConstraints": {}
1658
+ },
1659
+ "users_temp": {
1660
+ "name": "users_temp",
1661
+ "columns": {
1662
+ "id": {
1663
+ "name": "id",
1664
+ "type": "text",
1665
+ "primaryKey": true,
1666
+ "notNull": true,
1667
+ "autoincrement": false
1668
+ },
1669
+ "email": {
1670
+ "name": "email",
1671
+ "type": "text",
1672
+ "primaryKey": false,
1673
+ "notNull": true,
1674
+ "autoincrement": false
1675
+ },
1676
+ "name": {
1677
+ "name": "name",
1678
+ "type": "text",
1679
+ "primaryKey": false,
1680
+ "notNull": true,
1681
+ "autoincrement": false
1682
+ },
1683
+ "profile_image": {
1684
+ "name": "profile_image",
1685
+ "type": "text",
1686
+ "primaryKey": false,
1687
+ "notNull": false,
1688
+ "autoincrement": false
1689
+ },
1690
+ "oauth_provider": {
1691
+ "name": "oauth_provider",
1692
+ "type": "text",
1693
+ "primaryKey": false,
1694
+ "notNull": false,
1695
+ "autoincrement": false
1696
+ },
1697
+ "oauth_provider_id": {
1698
+ "name": "oauth_provider_id",
1699
+ "type": "text",
1700
+ "primaryKey": false,
1701
+ "notNull": false,
1702
+ "autoincrement": false
1703
+ },
1704
+ "created_at": {
1705
+ "name": "created_at",
1706
+ "type": "integer",
1707
+ "primaryKey": false,
1708
+ "notNull": true,
1709
+ "autoincrement": false,
1710
+ "default": "CURRENT_TIMESTAMP"
1711
+ },
1712
+ "updated_at": {
1713
+ "name": "updated_at",
1714
+ "type": "integer",
1715
+ "primaryKey": false,
1716
+ "notNull": true,
1717
+ "autoincrement": false,
1718
+ "default": "CURRENT_TIMESTAMP"
1719
+ }
1720
+ },
1721
+ "indexes": {
1722
+ "users_temp_email_unique": {
1723
+ "name": "users_temp_email_unique",
1724
+ "columns": [
1725
+ "email"
1726
+ ],
1727
+ "isUnique": true
1728
+ },
1729
+ "users_temp_email_idx": {
1730
+ "name": "users_temp_email_idx",
1731
+ "columns": [
1732
+ "email"
1733
+ ],
1734
+ "isUnique": false
1735
+ }
1736
+ },
1737
+ "foreignKeys": {},
1738
+ "compositePrimaryKeys": {},
1739
+ "uniqueConstraints": {},
1740
+ "checkConstraints": {}
1741
+ }
1742
+ },
1743
+ "views": {},
1744
+ "enums": {},
1745
+ "_meta": {
1746
+ "schemas": {},
1747
+ "tables": {},
1748
+ "columns": {}
1749
+ },
1750
+ "internal": {
1751
+ "indexes": {}
1752
+ }
1753
+ }