@zodic/shared 0.0.291 → 0.0.292

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,2594 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "c86c31e1-ba0b-4495-921a-3694cd543af6",
5
+ "prevId": "499527e1-1c8b-463b-899d-b4326d291168",
6
+ "tables": {
7
+ "archetypes_data": {
8
+ "name": "archetypes_data",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "language": {
18
+ "name": "language",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "gender": {
25
+ "name": "gender",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "combination": {
32
+ "name": "combination",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "archetype_index": {
39
+ "name": "archetype_index",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "name": {
46
+ "name": "name",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "essence_line": {
53
+ "name": "essence_line",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false
58
+ },
59
+ "description": {
60
+ "name": "description",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": true,
64
+ "autoincrement": false
65
+ },
66
+ "content": {
67
+ "name": "content",
68
+ "type": "text",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "autoincrement": false,
72
+ "default": "'[]'"
73
+ },
74
+ "virtues": {
75
+ "name": "virtues",
76
+ "type": "text",
77
+ "primaryKey": false,
78
+ "notNull": true,
79
+ "autoincrement": false,
80
+ "default": "'[]'"
81
+ },
82
+ "leonardo_prompt": {
83
+ "name": "leonardo_prompt",
84
+ "type": "text",
85
+ "primaryKey": false,
86
+ "notNull": false,
87
+ "autoincrement": false
88
+ },
89
+ "status": {
90
+ "name": "status",
91
+ "type": "text",
92
+ "primaryKey": false,
93
+ "notNull": false,
94
+ "autoincrement": false,
95
+ "default": "'idle'"
96
+ },
97
+ "created_at": {
98
+ "name": "created_at",
99
+ "type": "integer",
100
+ "primaryKey": false,
101
+ "notNull": false,
102
+ "autoincrement": false,
103
+ "default": "CURRENT_TIMESTAMP"
104
+ },
105
+ "updated_at": {
106
+ "name": "updated_at",
107
+ "type": "integer",
108
+ "primaryKey": false,
109
+ "notNull": false,
110
+ "autoincrement": false,
111
+ "default": "CURRENT_TIMESTAMP"
112
+ }
113
+ },
114
+ "indexes": {
115
+ "archetypes_data_language_idx": {
116
+ "name": "archetypes_data_language_idx",
117
+ "columns": [
118
+ "language"
119
+ ],
120
+ "isUnique": false
121
+ },
122
+ "archetypes_data_combination_idx": {
123
+ "name": "archetypes_data_combination_idx",
124
+ "columns": [
125
+ "combination"
126
+ ],
127
+ "isUnique": false
128
+ },
129
+ "archetypes_data_archetype_index_idx": {
130
+ "name": "archetypes_data_archetype_index_idx",
131
+ "columns": [
132
+ "archetype_index"
133
+ ],
134
+ "isUnique": false
135
+ },
136
+ "archetypes_data_gender_idx": {
137
+ "name": "archetypes_data_gender_idx",
138
+ "columns": [
139
+ "gender"
140
+ ],
141
+ "isUnique": false
142
+ }
143
+ },
144
+ "foreignKeys": {},
145
+ "compositePrimaryKeys": {},
146
+ "uniqueConstraints": {},
147
+ "checkConstraints": {}
148
+ },
149
+ "artifact_faceswap": {
150
+ "name": "artifact_faceswap",
151
+ "columns": {
152
+ "id": {
153
+ "name": "id",
154
+ "type": "text",
155
+ "primaryKey": true,
156
+ "notNull": true,
157
+ "autoincrement": false
158
+ },
159
+ "user_artifact_id": {
160
+ "name": "user_artifact_id",
161
+ "type": "text",
162
+ "primaryKey": false,
163
+ "notNull": true,
164
+ "autoincrement": false
165
+ },
166
+ "face_swapped_image_url": {
167
+ "name": "face_swapped_image_url",
168
+ "type": "text",
169
+ "primaryKey": false,
170
+ "notNull": false,
171
+ "autoincrement": false
172
+ },
173
+ "status": {
174
+ "name": "status",
175
+ "type": "text",
176
+ "primaryKey": false,
177
+ "notNull": true,
178
+ "autoincrement": false,
179
+ "default": "'pending'"
180
+ },
181
+ "created_at": {
182
+ "name": "created_at",
183
+ "type": "integer",
184
+ "primaryKey": false,
185
+ "notNull": true,
186
+ "autoincrement": false,
187
+ "default": "CURRENT_TIMESTAMP"
188
+ },
189
+ "updated_at": {
190
+ "name": "updated_at",
191
+ "type": "integer",
192
+ "primaryKey": false,
193
+ "notNull": true,
194
+ "autoincrement": false,
195
+ "default": "CURRENT_TIMESTAMP"
196
+ }
197
+ },
198
+ "indexes": {},
199
+ "foreignKeys": {
200
+ "artifact_faceswap_user_artifact_id_user_artifacts_id_fk": {
201
+ "name": "artifact_faceswap_user_artifact_id_user_artifacts_id_fk",
202
+ "tableFrom": "artifact_faceswap",
203
+ "tableTo": "user_artifacts",
204
+ "columnsFrom": [
205
+ "user_artifact_id"
206
+ ],
207
+ "columnsTo": [
208
+ "id"
209
+ ],
210
+ "onDelete": "cascade",
211
+ "onUpdate": "no action"
212
+ }
213
+ },
214
+ "compositePrimaryKeys": {},
215
+ "uniqueConstraints": {},
216
+ "checkConstraints": {}
217
+ },
218
+ "artifact_video_generation": {
219
+ "name": "artifact_video_generation",
220
+ "columns": {
221
+ "id": {
222
+ "name": "id",
223
+ "type": "text",
224
+ "primaryKey": true,
225
+ "notNull": true,
226
+ "autoincrement": false
227
+ },
228
+ "user_artifact_id": {
229
+ "name": "user_artifact_id",
230
+ "type": "text",
231
+ "primaryKey": false,
232
+ "notNull": true,
233
+ "autoincrement": false
234
+ },
235
+ "video_status": {
236
+ "name": "video_status",
237
+ "type": "text",
238
+ "primaryKey": false,
239
+ "notNull": false,
240
+ "autoincrement": false,
241
+ "default": "'pending'"
242
+ },
243
+ "video_url": {
244
+ "name": "video_url",
245
+ "type": "text",
246
+ "primaryKey": false,
247
+ "notNull": false,
248
+ "autoincrement": false
249
+ },
250
+ "description": {
251
+ "name": "description",
252
+ "type": "text",
253
+ "primaryKey": false,
254
+ "notNull": false,
255
+ "autoincrement": false
256
+ },
257
+ "duration": {
258
+ "name": "duration",
259
+ "type": "integer",
260
+ "primaryKey": false,
261
+ "notNull": false,
262
+ "autoincrement": false
263
+ },
264
+ "created_at": {
265
+ "name": "created_at",
266
+ "type": "integer",
267
+ "primaryKey": false,
268
+ "notNull": true,
269
+ "autoincrement": false,
270
+ "default": "CURRENT_TIMESTAMP"
271
+ },
272
+ "updated_at": {
273
+ "name": "updated_at",
274
+ "type": "integer",
275
+ "primaryKey": false,
276
+ "notNull": true,
277
+ "autoincrement": false,
278
+ "default": "CURRENT_TIMESTAMP"
279
+ }
280
+ },
281
+ "indexes": {
282
+ "artifact_video_generation_status_idx": {
283
+ "name": "artifact_video_generation_status_idx",
284
+ "columns": [
285
+ "video_status"
286
+ ],
287
+ "isUnique": false
288
+ }
289
+ },
290
+ "foreignKeys": {
291
+ "artifact_video_generation_user_artifact_id_user_artifacts_id_fk": {
292
+ "name": "artifact_video_generation_user_artifact_id_user_artifacts_id_fk",
293
+ "tableFrom": "artifact_video_generation",
294
+ "tableTo": "user_artifacts",
295
+ "columnsFrom": [
296
+ "user_artifact_id"
297
+ ],
298
+ "columnsTo": [
299
+ "id"
300
+ ],
301
+ "onDelete": "cascade",
302
+ "onUpdate": "no action"
303
+ }
304
+ },
305
+ "compositePrimaryKeys": {},
306
+ "uniqueConstraints": {},
307
+ "checkConstraints": {}
308
+ },
309
+ "artifacts": {
310
+ "name": "artifacts",
311
+ "columns": {
312
+ "id": {
313
+ "name": "id",
314
+ "type": "text",
315
+ "primaryKey": true,
316
+ "notNull": true,
317
+ "autoincrement": false
318
+ },
319
+ "name": {
320
+ "name": "name",
321
+ "type": "text",
322
+ "primaryKey": false,
323
+ "notNull": true,
324
+ "autoincrement": false
325
+ },
326
+ "slug": {
327
+ "name": "slug",
328
+ "type": "text",
329
+ "primaryKey": false,
330
+ "notNull": true,
331
+ "autoincrement": false
332
+ },
333
+ "concept_id": {
334
+ "name": "concept_id",
335
+ "type": "text",
336
+ "primaryKey": false,
337
+ "notNull": true,
338
+ "autoincrement": false
339
+ },
340
+ "description": {
341
+ "name": "description",
342
+ "type": "text",
343
+ "primaryKey": false,
344
+ "notNull": true,
345
+ "autoincrement": false
346
+ },
347
+ "price": {
348
+ "name": "price",
349
+ "type": "integer",
350
+ "primaryKey": false,
351
+ "notNull": true,
352
+ "autoincrement": false
353
+ },
354
+ "promotion_price": {
355
+ "name": "promotion_price",
356
+ "type": "integer",
357
+ "primaryKey": false,
358
+ "notNull": false,
359
+ "autoincrement": false
360
+ },
361
+ "created_at": {
362
+ "name": "created_at",
363
+ "type": "integer",
364
+ "primaryKey": false,
365
+ "notNull": false,
366
+ "autoincrement": false,
367
+ "default": "CURRENT_TIMESTAMP"
368
+ }
369
+ },
370
+ "indexes": {
371
+ "artifacts_slug_unique": {
372
+ "name": "artifacts_slug_unique",
373
+ "columns": [
374
+ "slug"
375
+ ],
376
+ "isUnique": true
377
+ },
378
+ "artifacts_concept_id_idx": {
379
+ "name": "artifacts_concept_id_idx",
380
+ "columns": [
381
+ "concept_id"
382
+ ],
383
+ "isUnique": false
384
+ }
385
+ },
386
+ "foreignKeys": {
387
+ "artifacts_concept_id_concepts_id_fk": {
388
+ "name": "artifacts_concept_id_concepts_id_fk",
389
+ "tableFrom": "artifacts",
390
+ "tableTo": "concepts",
391
+ "columnsFrom": [
392
+ "concept_id"
393
+ ],
394
+ "columnsTo": [
395
+ "id"
396
+ ],
397
+ "onDelete": "cascade",
398
+ "onUpdate": "no action"
399
+ }
400
+ },
401
+ "compositePrimaryKeys": {},
402
+ "uniqueConstraints": {},
403
+ "checkConstraints": {}
404
+ },
405
+ "aspect_reports": {
406
+ "name": "aspect_reports",
407
+ "columns": {
408
+ "id": {
409
+ "name": "id",
410
+ "type": "text",
411
+ "primaryKey": true,
412
+ "notNull": true,
413
+ "autoincrement": false
414
+ },
415
+ "aspecting_planet": {
416
+ "name": "aspecting_planet",
417
+ "type": "text",
418
+ "primaryKey": false,
419
+ "notNull": true,
420
+ "autoincrement": false
421
+ },
422
+ "aspected_planet": {
423
+ "name": "aspected_planet",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": true,
427
+ "autoincrement": false
428
+ },
429
+ "aspect": {
430
+ "name": "aspect",
431
+ "type": "text",
432
+ "primaryKey": false,
433
+ "notNull": true,
434
+ "autoincrement": false
435
+ },
436
+ "description_template_id": {
437
+ "name": "description_template_id",
438
+ "type": "text",
439
+ "primaryKey": false,
440
+ "notNull": false,
441
+ "autoincrement": false
442
+ },
443
+ "en_report": {
444
+ "name": "en_report",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": false,
448
+ "autoincrement": false
449
+ },
450
+ "pt_report": {
451
+ "name": "pt_report",
452
+ "type": "text",
453
+ "primaryKey": false,
454
+ "notNull": false,
455
+ "autoincrement": false
456
+ },
457
+ "created_at": {
458
+ "name": "created_at",
459
+ "type": "integer",
460
+ "primaryKey": false,
461
+ "notNull": false,
462
+ "autoincrement": false,
463
+ "default": "CURRENT_TIMESTAMP"
464
+ },
465
+ "updated_at": {
466
+ "name": "updated_at",
467
+ "type": "integer",
468
+ "primaryKey": false,
469
+ "notNull": false,
470
+ "autoincrement": false,
471
+ "default": "CURRENT_TIMESTAMP"
472
+ }
473
+ },
474
+ "indexes": {
475
+ "aspect_reports_aspecting_idx": {
476
+ "name": "aspect_reports_aspecting_idx",
477
+ "columns": [
478
+ "aspecting_planet"
479
+ ],
480
+ "isUnique": false
481
+ },
482
+ "aspect_reports_aspected_idx": {
483
+ "name": "aspect_reports_aspected_idx",
484
+ "columns": [
485
+ "aspected_planet"
486
+ ],
487
+ "isUnique": false
488
+ },
489
+ "aspect_reports_aspect_idx": {
490
+ "name": "aspect_reports_aspect_idx",
491
+ "columns": [
492
+ "aspect"
493
+ ],
494
+ "isUnique": false
495
+ },
496
+ "aspect_reports_combined_idx": {
497
+ "name": "aspect_reports_combined_idx",
498
+ "columns": [
499
+ "aspecting_planet",
500
+ "aspected_planet",
501
+ "aspect"
502
+ ],
503
+ "isUnique": false
504
+ },
505
+ "aspect_reports_description_template_idx": {
506
+ "name": "aspect_reports_description_template_idx",
507
+ "columns": [
508
+ "description_template_id"
509
+ ],
510
+ "isUnique": false
511
+ }
512
+ },
513
+ "foreignKeys": {
514
+ "aspect_reports_description_template_id_astro_description_templates_id_fk": {
515
+ "name": "aspect_reports_description_template_id_astro_description_templates_id_fk",
516
+ "tableFrom": "aspect_reports",
517
+ "tableTo": "astro_description_templates",
518
+ "columnsFrom": [
519
+ "description_template_id"
520
+ ],
521
+ "columnsTo": [
522
+ "id"
523
+ ],
524
+ "onDelete": "set null",
525
+ "onUpdate": "no action"
526
+ }
527
+ },
528
+ "compositePrimaryKeys": {},
529
+ "uniqueConstraints": {},
530
+ "checkConstraints": {}
531
+ },
532
+ "astro_aspects": {
533
+ "name": "astro_aspects",
534
+ "columns": {
535
+ "id": {
536
+ "name": "id",
537
+ "type": "text",
538
+ "primaryKey": true,
539
+ "notNull": true,
540
+ "autoincrement": false
541
+ },
542
+ "user_id": {
543
+ "name": "user_id",
544
+ "type": "text",
545
+ "primaryKey": false,
546
+ "notNull": true,
547
+ "autoincrement": false
548
+ },
549
+ "aspecting_planet": {
550
+ "name": "aspecting_planet",
551
+ "type": "text",
552
+ "primaryKey": false,
553
+ "notNull": true,
554
+ "autoincrement": false
555
+ },
556
+ "aspected_planet": {
557
+ "name": "aspected_planet",
558
+ "type": "text",
559
+ "primaryKey": false,
560
+ "notNull": true,
561
+ "autoincrement": false
562
+ },
563
+ "aspecting_planet_id": {
564
+ "name": "aspecting_planet_id",
565
+ "type": "integer",
566
+ "primaryKey": false,
567
+ "notNull": true,
568
+ "autoincrement": false
569
+ },
570
+ "aspected_planet_id": {
571
+ "name": "aspected_planet_id",
572
+ "type": "integer",
573
+ "primaryKey": false,
574
+ "notNull": true,
575
+ "autoincrement": false
576
+ },
577
+ "type": {
578
+ "name": "type",
579
+ "type": "text",
580
+ "primaryKey": false,
581
+ "notNull": true,
582
+ "autoincrement": false
583
+ },
584
+ "orb": {
585
+ "name": "orb",
586
+ "type": "real",
587
+ "primaryKey": false,
588
+ "notNull": true,
589
+ "autoincrement": false
590
+ },
591
+ "diff": {
592
+ "name": "diff",
593
+ "type": "real",
594
+ "primaryKey": false,
595
+ "notNull": true,
596
+ "autoincrement": false
597
+ }
598
+ },
599
+ "indexes": {
600
+ "astro_aspects_user_id_idx": {
601
+ "name": "astro_aspects_user_id_idx",
602
+ "columns": [
603
+ "user_id"
604
+ ],
605
+ "isUnique": false
606
+ }
607
+ },
608
+ "foreignKeys": {
609
+ "astro_aspects_user_id_users_id_fk": {
610
+ "name": "astro_aspects_user_id_users_id_fk",
611
+ "tableFrom": "astro_aspects",
612
+ "tableTo": "users",
613
+ "columnsFrom": [
614
+ "user_id"
615
+ ],
616
+ "columnsTo": [
617
+ "id"
618
+ ],
619
+ "onDelete": "cascade",
620
+ "onUpdate": "no action"
621
+ }
622
+ },
623
+ "compositePrimaryKeys": {},
624
+ "uniqueConstraints": {},
625
+ "checkConstraints": {}
626
+ },
627
+ "astro_description_templates": {
628
+ "name": "astro_description_templates",
629
+ "columns": {
630
+ "id": {
631
+ "name": "id",
632
+ "type": "text",
633
+ "primaryKey": true,
634
+ "notNull": true,
635
+ "autoincrement": false
636
+ },
637
+ "entity_type": {
638
+ "name": "entity_type",
639
+ "type": "text",
640
+ "primaryKey": false,
641
+ "notNull": true,
642
+ "autoincrement": false
643
+ },
644
+ "name": {
645
+ "name": "name",
646
+ "type": "text",
647
+ "primaryKey": false,
648
+ "notNull": true,
649
+ "autoincrement": false
650
+ },
651
+ "en_name": {
652
+ "name": "en_name",
653
+ "type": "text",
654
+ "primaryKey": false,
655
+ "notNull": false,
656
+ "autoincrement": false
657
+ },
658
+ "pt_name": {
659
+ "name": "pt_name",
660
+ "type": "text",
661
+ "primaryKey": false,
662
+ "notNull": false,
663
+ "autoincrement": false
664
+ },
665
+ "en_description": {
666
+ "name": "en_description",
667
+ "type": "text",
668
+ "primaryKey": false,
669
+ "notNull": true,
670
+ "autoincrement": false
671
+ },
672
+ "pt_description": {
673
+ "name": "pt_description",
674
+ "type": "text",
675
+ "primaryKey": false,
676
+ "notNull": true,
677
+ "autoincrement": false
678
+ },
679
+ "created_at": {
680
+ "name": "created_at",
681
+ "type": "integer",
682
+ "primaryKey": false,
683
+ "notNull": false,
684
+ "autoincrement": false,
685
+ "default": "CURRENT_TIMESTAMP"
686
+ },
687
+ "updated_at": {
688
+ "name": "updated_at",
689
+ "type": "integer",
690
+ "primaryKey": false,
691
+ "notNull": false,
692
+ "autoincrement": false,
693
+ "default": "CURRENT_TIMESTAMP"
694
+ }
695
+ },
696
+ "indexes": {
697
+ "astro_description_templates_type_name_idx": {
698
+ "name": "astro_description_templates_type_name_idx",
699
+ "columns": [
700
+ "entity_type",
701
+ "name"
702
+ ],
703
+ "isUnique": false
704
+ }
705
+ },
706
+ "foreignKeys": {},
707
+ "compositePrimaryKeys": {},
708
+ "uniqueConstraints": {},
709
+ "checkConstraints": {}
710
+ },
711
+ "astro_feature_reports": {
712
+ "name": "astro_feature_reports",
713
+ "columns": {
714
+ "id": {
715
+ "name": "id",
716
+ "type": "text",
717
+ "primaryKey": true,
718
+ "notNull": true,
719
+ "autoincrement": false
720
+ },
721
+ "feature_type": {
722
+ "name": "feature_type",
723
+ "type": "text",
724
+ "primaryKey": false,
725
+ "notNull": true,
726
+ "autoincrement": false
727
+ },
728
+ "name": {
729
+ "name": "name",
730
+ "type": "text",
731
+ "primaryKey": false,
732
+ "notNull": true,
733
+ "autoincrement": false
734
+ },
735
+ "description_template_id": {
736
+ "name": "description_template_id",
737
+ "type": "text",
738
+ "primaryKey": false,
739
+ "notNull": false,
740
+ "autoincrement": false
741
+ },
742
+ "en_report": {
743
+ "name": "en_report",
744
+ "type": "text",
745
+ "primaryKey": false,
746
+ "notNull": false,
747
+ "autoincrement": false
748
+ },
749
+ "pt_report": {
750
+ "name": "pt_report",
751
+ "type": "text",
752
+ "primaryKey": false,
753
+ "notNull": false,
754
+ "autoincrement": false
755
+ },
756
+ "created_at": {
757
+ "name": "created_at",
758
+ "type": "integer",
759
+ "primaryKey": false,
760
+ "notNull": false,
761
+ "autoincrement": false,
762
+ "default": "CURRENT_TIMESTAMP"
763
+ },
764
+ "updated_at": {
765
+ "name": "updated_at",
766
+ "type": "integer",
767
+ "primaryKey": false,
768
+ "notNull": false,
769
+ "autoincrement": false,
770
+ "default": "CURRENT_TIMESTAMP"
771
+ }
772
+ },
773
+ "indexes": {
774
+ "astro_feature_reports_type_name_idx": {
775
+ "name": "astro_feature_reports_type_name_idx",
776
+ "columns": [
777
+ "feature_type",
778
+ "name"
779
+ ],
780
+ "isUnique": false
781
+ },
782
+ "astro_feature_reports_description_template_idx": {
783
+ "name": "astro_feature_reports_description_template_idx",
784
+ "columns": [
785
+ "description_template_id"
786
+ ],
787
+ "isUnique": false
788
+ }
789
+ },
790
+ "foreignKeys": {
791
+ "astro_feature_reports_description_template_id_astro_description_templates_id_fk": {
792
+ "name": "astro_feature_reports_description_template_id_astro_description_templates_id_fk",
793
+ "tableFrom": "astro_feature_reports",
794
+ "tableTo": "astro_description_templates",
795
+ "columnsFrom": [
796
+ "description_template_id"
797
+ ],
798
+ "columnsTo": [
799
+ "id"
800
+ ],
801
+ "onDelete": "set null",
802
+ "onUpdate": "no action"
803
+ }
804
+ },
805
+ "compositePrimaryKeys": {},
806
+ "uniqueConstraints": {},
807
+ "checkConstraints": {}
808
+ },
809
+ "astro_features": {
810
+ "name": "astro_features",
811
+ "columns": {
812
+ "id": {
813
+ "name": "id",
814
+ "type": "text",
815
+ "primaryKey": true,
816
+ "notNull": true,
817
+ "autoincrement": false
818
+ },
819
+ "user_id": {
820
+ "name": "user_id",
821
+ "type": "text",
822
+ "primaryKey": false,
823
+ "notNull": true,
824
+ "autoincrement": false
825
+ },
826
+ "feature_type": {
827
+ "name": "feature_type",
828
+ "type": "text",
829
+ "primaryKey": false,
830
+ "notNull": true,
831
+ "autoincrement": false
832
+ },
833
+ "name": {
834
+ "name": "name",
835
+ "type": "text",
836
+ "primaryKey": false,
837
+ "notNull": true,
838
+ "autoincrement": false
839
+ },
840
+ "description": {
841
+ "name": "description",
842
+ "type": "text",
843
+ "primaryKey": false,
844
+ "notNull": false,
845
+ "autoincrement": false
846
+ },
847
+ "percentage": {
848
+ "name": "percentage",
849
+ "type": "real",
850
+ "primaryKey": false,
851
+ "notNull": false,
852
+ "autoincrement": false
853
+ },
854
+ "order": {
855
+ "name": "order",
856
+ "type": "integer",
857
+ "primaryKey": false,
858
+ "notNull": false,
859
+ "autoincrement": false
860
+ },
861
+ "prominent_id": {
862
+ "name": "prominent_id",
863
+ "type": "integer",
864
+ "primaryKey": false,
865
+ "notNull": false,
866
+ "autoincrement": false
867
+ }
868
+ },
869
+ "indexes": {
870
+ "astro_features_user_id_idx": {
871
+ "name": "astro_features_user_id_idx",
872
+ "columns": [
873
+ "user_id"
874
+ ],
875
+ "isUnique": false
876
+ }
877
+ },
878
+ "foreignKeys": {
879
+ "astro_features_user_id_users_id_fk": {
880
+ "name": "astro_features_user_id_users_id_fk",
881
+ "tableFrom": "astro_features",
882
+ "tableTo": "users",
883
+ "columnsFrom": [
884
+ "user_id"
885
+ ],
886
+ "columnsTo": [
887
+ "id"
888
+ ],
889
+ "onDelete": "cascade",
890
+ "onUpdate": "no action"
891
+ }
892
+ },
893
+ "compositePrimaryKeys": {},
894
+ "uniqueConstraints": {},
895
+ "checkConstraints": {}
896
+ },
897
+ "astro_houses": {
898
+ "name": "astro_houses",
899
+ "columns": {
900
+ "id": {
901
+ "name": "id",
902
+ "type": "text",
903
+ "primaryKey": true,
904
+ "notNull": true,
905
+ "autoincrement": false
906
+ },
907
+ "user_id": {
908
+ "name": "user_id",
909
+ "type": "text",
910
+ "primaryKey": false,
911
+ "notNull": true,
912
+ "autoincrement": false
913
+ },
914
+ "house": {
915
+ "name": "house",
916
+ "type": "integer",
917
+ "primaryKey": false,
918
+ "notNull": true,
919
+ "autoincrement": false
920
+ },
921
+ "sign": {
922
+ "name": "sign",
923
+ "type": "text",
924
+ "primaryKey": false,
925
+ "notNull": true,
926
+ "autoincrement": false
927
+ },
928
+ "degree": {
929
+ "name": "degree",
930
+ "type": "real",
931
+ "primaryKey": false,
932
+ "notNull": true,
933
+ "autoincrement": false
934
+ }
935
+ },
936
+ "indexes": {
937
+ "astro_houses_user_id_idx": {
938
+ "name": "astro_houses_user_id_idx",
939
+ "columns": [
940
+ "user_id"
941
+ ],
942
+ "isUnique": false
943
+ }
944
+ },
945
+ "foreignKeys": {
946
+ "astro_houses_user_id_users_id_fk": {
947
+ "name": "astro_houses_user_id_users_id_fk",
948
+ "tableFrom": "astro_houses",
949
+ "tableTo": "users",
950
+ "columnsFrom": [
951
+ "user_id"
952
+ ],
953
+ "columnsTo": [
954
+ "id"
955
+ ],
956
+ "onDelete": "cascade",
957
+ "onUpdate": "no action"
958
+ }
959
+ },
960
+ "compositePrimaryKeys": {},
961
+ "uniqueConstraints": {},
962
+ "checkConstraints": {}
963
+ },
964
+ "astro_planets": {
965
+ "name": "astro_planets",
966
+ "columns": {
967
+ "id": {
968
+ "name": "id",
969
+ "type": "text",
970
+ "primaryKey": true,
971
+ "notNull": true,
972
+ "autoincrement": false
973
+ },
974
+ "user_id": {
975
+ "name": "user_id",
976
+ "type": "text",
977
+ "primaryKey": false,
978
+ "notNull": true,
979
+ "autoincrement": false
980
+ },
981
+ "type": {
982
+ "name": "type",
983
+ "type": "text",
984
+ "primaryKey": false,
985
+ "notNull": true,
986
+ "autoincrement": false
987
+ },
988
+ "name": {
989
+ "name": "name",
990
+ "type": "text",
991
+ "primaryKey": false,
992
+ "notNull": true,
993
+ "autoincrement": false
994
+ },
995
+ "sign": {
996
+ "name": "sign",
997
+ "type": "text",
998
+ "primaryKey": false,
999
+ "notNull": true,
1000
+ "autoincrement": false
1001
+ },
1002
+ "house": {
1003
+ "name": "house",
1004
+ "type": "integer",
1005
+ "primaryKey": false,
1006
+ "notNull": false,
1007
+ "autoincrement": false
1008
+ },
1009
+ "full_degree": {
1010
+ "name": "full_degree",
1011
+ "type": "real",
1012
+ "primaryKey": false,
1013
+ "notNull": false,
1014
+ "autoincrement": false
1015
+ },
1016
+ "norm_degree": {
1017
+ "name": "norm_degree",
1018
+ "type": "real",
1019
+ "primaryKey": false,
1020
+ "notNull": false,
1021
+ "autoincrement": false
1022
+ },
1023
+ "speed": {
1024
+ "name": "speed",
1025
+ "type": "real",
1026
+ "primaryKey": false,
1027
+ "notNull": false,
1028
+ "autoincrement": false
1029
+ },
1030
+ "is_retro": {
1031
+ "name": "is_retro",
1032
+ "type": "integer",
1033
+ "primaryKey": false,
1034
+ "notNull": false,
1035
+ "autoincrement": false
1036
+ }
1037
+ },
1038
+ "indexes": {
1039
+ "astro_planets_user_id_idx": {
1040
+ "name": "astro_planets_user_id_idx",
1041
+ "columns": [
1042
+ "user_id"
1043
+ ],
1044
+ "isUnique": false
1045
+ }
1046
+ },
1047
+ "foreignKeys": {
1048
+ "astro_planets_user_id_users_id_fk": {
1049
+ "name": "astro_planets_user_id_users_id_fk",
1050
+ "tableFrom": "astro_planets",
1051
+ "tableTo": "users",
1052
+ "columnsFrom": [
1053
+ "user_id"
1054
+ ],
1055
+ "columnsTo": [
1056
+ "id"
1057
+ ],
1058
+ "onDelete": "cascade",
1059
+ "onUpdate": "no action"
1060
+ }
1061
+ },
1062
+ "compositePrimaryKeys": {},
1063
+ "uniqueConstraints": {},
1064
+ "checkConstraints": {}
1065
+ },
1066
+ "astro_reports": {
1067
+ "name": "astro_reports",
1068
+ "columns": {
1069
+ "id": {
1070
+ "name": "id",
1071
+ "type": "text",
1072
+ "primaryKey": true,
1073
+ "notNull": true,
1074
+ "autoincrement": false
1075
+ },
1076
+ "type": {
1077
+ "name": "type",
1078
+ "type": "text",
1079
+ "primaryKey": false,
1080
+ "notNull": true,
1081
+ "autoincrement": false
1082
+ },
1083
+ "name": {
1084
+ "name": "name",
1085
+ "type": "text",
1086
+ "primaryKey": false,
1087
+ "notNull": true,
1088
+ "autoincrement": false
1089
+ },
1090
+ "sign": {
1091
+ "name": "sign",
1092
+ "type": "text",
1093
+ "primaryKey": false,
1094
+ "notNull": false,
1095
+ "autoincrement": false
1096
+ },
1097
+ "house": {
1098
+ "name": "house",
1099
+ "type": "integer",
1100
+ "primaryKey": false,
1101
+ "notNull": false,
1102
+ "autoincrement": false
1103
+ },
1104
+ "description_template_id": {
1105
+ "name": "description_template_id",
1106
+ "type": "text",
1107
+ "primaryKey": false,
1108
+ "notNull": false,
1109
+ "autoincrement": false
1110
+ },
1111
+ "en_report": {
1112
+ "name": "en_report",
1113
+ "type": "text",
1114
+ "primaryKey": false,
1115
+ "notNull": false,
1116
+ "autoincrement": false
1117
+ },
1118
+ "pt_report": {
1119
+ "name": "pt_report",
1120
+ "type": "text",
1121
+ "primaryKey": false,
1122
+ "notNull": false,
1123
+ "autoincrement": false
1124
+ },
1125
+ "created_at": {
1126
+ "name": "created_at",
1127
+ "type": "integer",
1128
+ "primaryKey": false,
1129
+ "notNull": false,
1130
+ "autoincrement": false,
1131
+ "default": "CURRENT_TIMESTAMP"
1132
+ },
1133
+ "updated_at": {
1134
+ "name": "updated_at",
1135
+ "type": "integer",
1136
+ "primaryKey": false,
1137
+ "notNull": false,
1138
+ "autoincrement": false,
1139
+ "default": "CURRENT_TIMESTAMP"
1140
+ }
1141
+ },
1142
+ "indexes": {
1143
+ "astro_reports_type_idx": {
1144
+ "name": "astro_reports_type_idx",
1145
+ "columns": [
1146
+ "type"
1147
+ ],
1148
+ "isUnique": false
1149
+ },
1150
+ "astro_reports_name_sign_idx": {
1151
+ "name": "astro_reports_name_sign_idx",
1152
+ "columns": [
1153
+ "name",
1154
+ "sign"
1155
+ ],
1156
+ "isUnique": false
1157
+ },
1158
+ "astro_reports_name_house_idx": {
1159
+ "name": "astro_reports_name_house_idx",
1160
+ "columns": [
1161
+ "name",
1162
+ "house"
1163
+ ],
1164
+ "isUnique": false
1165
+ }
1166
+ },
1167
+ "foreignKeys": {
1168
+ "astro_reports_description_template_id_astro_description_templates_id_fk": {
1169
+ "name": "astro_reports_description_template_id_astro_description_templates_id_fk",
1170
+ "tableFrom": "astro_reports",
1171
+ "tableTo": "astro_description_templates",
1172
+ "columnsFrom": [
1173
+ "description_template_id"
1174
+ ],
1175
+ "columnsTo": [
1176
+ "id"
1177
+ ],
1178
+ "onDelete": "set null",
1179
+ "onUpdate": "no action"
1180
+ }
1181
+ },
1182
+ "compositePrimaryKeys": {},
1183
+ "uniqueConstraints": {},
1184
+ "checkConstraints": {}
1185
+ },
1186
+ "concept_combinations": {
1187
+ "name": "concept_combinations",
1188
+ "columns": {
1189
+ "id": {
1190
+ "name": "id",
1191
+ "type": "text",
1192
+ "primaryKey": true,
1193
+ "notNull": true,
1194
+ "autoincrement": false
1195
+ },
1196
+ "concept_id": {
1197
+ "name": "concept_id",
1198
+ "type": "text",
1199
+ "primaryKey": false,
1200
+ "notNull": true,
1201
+ "autoincrement": false
1202
+ },
1203
+ "planet1_sign": {
1204
+ "name": "planet1_sign",
1205
+ "type": "text",
1206
+ "primaryKey": false,
1207
+ "notNull": true,
1208
+ "autoincrement": false
1209
+ },
1210
+ "planet2_sign": {
1211
+ "name": "planet2_sign",
1212
+ "type": "text",
1213
+ "primaryKey": false,
1214
+ "notNull": true,
1215
+ "autoincrement": false
1216
+ },
1217
+ "planet3_sign": {
1218
+ "name": "planet3_sign",
1219
+ "type": "text",
1220
+ "primaryKey": false,
1221
+ "notNull": true,
1222
+ "autoincrement": false
1223
+ },
1224
+ "combination_string": {
1225
+ "name": "combination_string",
1226
+ "type": "text",
1227
+ "primaryKey": false,
1228
+ "notNull": true,
1229
+ "autoincrement": false
1230
+ }
1231
+ },
1232
+ "indexes": {
1233
+ "concept_combinations_unique_combination_idx": {
1234
+ "name": "concept_combinations_unique_combination_idx",
1235
+ "columns": [
1236
+ "concept_id",
1237
+ "combination_string"
1238
+ ],
1239
+ "isUnique": false
1240
+ }
1241
+ },
1242
+ "foreignKeys": {
1243
+ "concept_combinations_concept_id_concepts_id_fk": {
1244
+ "name": "concept_combinations_concept_id_concepts_id_fk",
1245
+ "tableFrom": "concept_combinations",
1246
+ "tableTo": "concepts",
1247
+ "columnsFrom": [
1248
+ "concept_id"
1249
+ ],
1250
+ "columnsTo": [
1251
+ "id"
1252
+ ],
1253
+ "onDelete": "cascade",
1254
+ "onUpdate": "no action"
1255
+ }
1256
+ },
1257
+ "compositePrimaryKeys": {},
1258
+ "uniqueConstraints": {},
1259
+ "checkConstraints": {}
1260
+ },
1261
+ "concepts": {
1262
+ "name": "concepts",
1263
+ "columns": {
1264
+ "id": {
1265
+ "name": "id",
1266
+ "type": "text",
1267
+ "primaryKey": true,
1268
+ "notNull": true,
1269
+ "autoincrement": false
1270
+ },
1271
+ "name": {
1272
+ "name": "name",
1273
+ "type": "text",
1274
+ "primaryKey": false,
1275
+ "notNull": true,
1276
+ "autoincrement": false
1277
+ },
1278
+ "slug": {
1279
+ "name": "slug",
1280
+ "type": "text",
1281
+ "primaryKey": false,
1282
+ "notNull": true,
1283
+ "autoincrement": false
1284
+ },
1285
+ "planet1": {
1286
+ "name": "planet1",
1287
+ "type": "text",
1288
+ "primaryKey": false,
1289
+ "notNull": true,
1290
+ "autoincrement": false
1291
+ },
1292
+ "planet2": {
1293
+ "name": "planet2",
1294
+ "type": "text",
1295
+ "primaryKey": false,
1296
+ "notNull": true,
1297
+ "autoincrement": false
1298
+ },
1299
+ "planet3": {
1300
+ "name": "planet3",
1301
+ "type": "text",
1302
+ "primaryKey": false,
1303
+ "notNull": true,
1304
+ "autoincrement": false
1305
+ }
1306
+ },
1307
+ "indexes": {
1308
+ "concepts_name_idx": {
1309
+ "name": "concepts_name_idx",
1310
+ "columns": [
1311
+ "name"
1312
+ ],
1313
+ "isUnique": false
1314
+ }
1315
+ },
1316
+ "foreignKeys": {},
1317
+ "compositePrimaryKeys": {},
1318
+ "uniqueConstraints": {},
1319
+ "checkConstraints": {}
1320
+ },
1321
+ "concepts_data": {
1322
+ "name": "concepts_data",
1323
+ "columns": {
1324
+ "id": {
1325
+ "name": "id",
1326
+ "type": "text",
1327
+ "primaryKey": true,
1328
+ "notNull": true,
1329
+ "autoincrement": false
1330
+ },
1331
+ "language": {
1332
+ "name": "language",
1333
+ "type": "text",
1334
+ "primaryKey": false,
1335
+ "notNull": true,
1336
+ "autoincrement": false
1337
+ },
1338
+ "concept_slug": {
1339
+ "name": "concept_slug",
1340
+ "type": "text",
1341
+ "primaryKey": false,
1342
+ "notNull": true,
1343
+ "autoincrement": false
1344
+ },
1345
+ "combination": {
1346
+ "name": "combination",
1347
+ "type": "text",
1348
+ "primaryKey": false,
1349
+ "notNull": true,
1350
+ "autoincrement": false
1351
+ },
1352
+ "name": {
1353
+ "name": "name",
1354
+ "type": "text",
1355
+ "primaryKey": false,
1356
+ "notNull": true,
1357
+ "autoincrement": false
1358
+ },
1359
+ "description": {
1360
+ "name": "description",
1361
+ "type": "text",
1362
+ "primaryKey": false,
1363
+ "notNull": true,
1364
+ "autoincrement": false
1365
+ },
1366
+ "content": {
1367
+ "name": "content",
1368
+ "type": "text",
1369
+ "primaryKey": false,
1370
+ "notNull": true,
1371
+ "autoincrement": false,
1372
+ "default": "'[]'"
1373
+ },
1374
+ "poem": {
1375
+ "name": "poem",
1376
+ "type": "text",
1377
+ "primaryKey": false,
1378
+ "notNull": true,
1379
+ "autoincrement": false,
1380
+ "default": "'[]'"
1381
+ },
1382
+ "leonardo_prompt": {
1383
+ "name": "leonardo_prompt",
1384
+ "type": "text",
1385
+ "primaryKey": false,
1386
+ "notNull": false,
1387
+ "autoincrement": false
1388
+ },
1389
+ "post_images": {
1390
+ "name": "post_images",
1391
+ "type": "text",
1392
+ "primaryKey": false,
1393
+ "notNull": false,
1394
+ "autoincrement": false,
1395
+ "default": "'[]'"
1396
+ },
1397
+ "reel_images": {
1398
+ "name": "reel_images",
1399
+ "type": "text",
1400
+ "primaryKey": false,
1401
+ "notNull": false,
1402
+ "autoincrement": false,
1403
+ "default": "'[]'"
1404
+ },
1405
+ "status": {
1406
+ "name": "status",
1407
+ "type": "text",
1408
+ "primaryKey": false,
1409
+ "notNull": false,
1410
+ "autoincrement": false,
1411
+ "default": "'idle'"
1412
+ },
1413
+ "created_at": {
1414
+ "name": "created_at",
1415
+ "type": "integer",
1416
+ "primaryKey": false,
1417
+ "notNull": false,
1418
+ "autoincrement": false,
1419
+ "default": "CURRENT_TIMESTAMP"
1420
+ },
1421
+ "updated_at": {
1422
+ "name": "updated_at",
1423
+ "type": "integer",
1424
+ "primaryKey": false,
1425
+ "notNull": false,
1426
+ "autoincrement": false,
1427
+ "default": "CURRENT_TIMESTAMP"
1428
+ }
1429
+ },
1430
+ "indexes": {
1431
+ "concepts_data_language_idx": {
1432
+ "name": "concepts_data_language_idx",
1433
+ "columns": [
1434
+ "language"
1435
+ ],
1436
+ "isUnique": false
1437
+ },
1438
+ "concepts_data_concept_slug_idx": {
1439
+ "name": "concepts_data_concept_slug_idx",
1440
+ "columns": [
1441
+ "concept_slug"
1442
+ ],
1443
+ "isUnique": false
1444
+ },
1445
+ "concepts_data_combination_idx": {
1446
+ "name": "concepts_data_combination_idx",
1447
+ "columns": [
1448
+ "combination"
1449
+ ],
1450
+ "isUnique": false
1451
+ },
1452
+ "concepts_data_name_idx": {
1453
+ "name": "concepts_data_name_idx",
1454
+ "columns": [
1455
+ "name"
1456
+ ],
1457
+ "isUnique": false
1458
+ }
1459
+ },
1460
+ "foreignKeys": {},
1461
+ "compositePrimaryKeys": {},
1462
+ "uniqueConstraints": {},
1463
+ "checkConstraints": {}
1464
+ },
1465
+ "credits_transactions": {
1466
+ "name": "credits_transactions",
1467
+ "columns": {
1468
+ "id": {
1469
+ "name": "id",
1470
+ "type": "text",
1471
+ "primaryKey": true,
1472
+ "notNull": true,
1473
+ "autoincrement": false
1474
+ },
1475
+ "user_id": {
1476
+ "name": "user_id",
1477
+ "type": "text",
1478
+ "primaryKey": false,
1479
+ "notNull": true,
1480
+ "autoincrement": false
1481
+ },
1482
+ "type": {
1483
+ "name": "type",
1484
+ "type": "text",
1485
+ "primaryKey": false,
1486
+ "notNull": true,
1487
+ "autoincrement": false
1488
+ },
1489
+ "amount": {
1490
+ "name": "amount",
1491
+ "type": "integer",
1492
+ "primaryKey": false,
1493
+ "notNull": true,
1494
+ "autoincrement": false
1495
+ },
1496
+ "description": {
1497
+ "name": "description",
1498
+ "type": "text",
1499
+ "primaryKey": false,
1500
+ "notNull": false,
1501
+ "autoincrement": false
1502
+ },
1503
+ "product_type": {
1504
+ "name": "product_type",
1505
+ "type": "text",
1506
+ "primaryKey": false,
1507
+ "notNull": false,
1508
+ "autoincrement": false
1509
+ },
1510
+ "product_id": {
1511
+ "name": "product_id",
1512
+ "type": "text",
1513
+ "primaryKey": false,
1514
+ "notNull": false,
1515
+ "autoincrement": false
1516
+ },
1517
+ "payment_id": {
1518
+ "name": "payment_id",
1519
+ "type": "text",
1520
+ "primaryKey": false,
1521
+ "notNull": true,
1522
+ "autoincrement": false
1523
+ },
1524
+ "created_at": {
1525
+ "name": "created_at",
1526
+ "type": "integer",
1527
+ "primaryKey": false,
1528
+ "notNull": true,
1529
+ "autoincrement": false,
1530
+ "default": "CURRENT_TIMESTAMP"
1531
+ },
1532
+ "updated_at": {
1533
+ "name": "updated_at",
1534
+ "type": "integer",
1535
+ "primaryKey": false,
1536
+ "notNull": true,
1537
+ "autoincrement": false,
1538
+ "default": "CURRENT_TIMESTAMP"
1539
+ }
1540
+ },
1541
+ "indexes": {
1542
+ "credits_transactions_user_id_idx": {
1543
+ "name": "credits_transactions_user_id_idx",
1544
+ "columns": [
1545
+ "user_id"
1546
+ ],
1547
+ "isUnique": false
1548
+ }
1549
+ },
1550
+ "foreignKeys": {
1551
+ "credits_transactions_user_id_users_id_fk": {
1552
+ "name": "credits_transactions_user_id_users_id_fk",
1553
+ "tableFrom": "credits_transactions",
1554
+ "tableTo": "users",
1555
+ "columnsFrom": [
1556
+ "user_id"
1557
+ ],
1558
+ "columnsTo": [
1559
+ "id"
1560
+ ],
1561
+ "onDelete": "cascade",
1562
+ "onUpdate": "no action"
1563
+ }
1564
+ },
1565
+ "compositePrimaryKeys": {},
1566
+ "uniqueConstraints": {},
1567
+ "checkConstraints": {}
1568
+ },
1569
+ "generations": {
1570
+ "name": "generations",
1571
+ "columns": {
1572
+ "id": {
1573
+ "name": "id",
1574
+ "type": "text",
1575
+ "primaryKey": true,
1576
+ "notNull": true,
1577
+ "autoincrement": false
1578
+ },
1579
+ "user_id": {
1580
+ "name": "user_id",
1581
+ "type": "text",
1582
+ "primaryKey": false,
1583
+ "notNull": false,
1584
+ "autoincrement": false
1585
+ },
1586
+ "artifact_id": {
1587
+ "name": "artifact_id",
1588
+ "type": "text",
1589
+ "primaryKey": false,
1590
+ "notNull": false,
1591
+ "autoincrement": false
1592
+ },
1593
+ "archetype_index": {
1594
+ "name": "archetype_index",
1595
+ "type": "integer",
1596
+ "primaryKey": false,
1597
+ "notNull": false,
1598
+ "autoincrement": false
1599
+ },
1600
+ "user_artifact_id": {
1601
+ "name": "user_artifact_id",
1602
+ "type": "text",
1603
+ "primaryKey": false,
1604
+ "notNull": false,
1605
+ "autoincrement": false
1606
+ },
1607
+ "gender": {
1608
+ "name": "gender",
1609
+ "type": "text",
1610
+ "primaryKey": false,
1611
+ "notNull": false,
1612
+ "autoincrement": false
1613
+ },
1614
+ "concept_combination_id": {
1615
+ "name": "concept_combination_id",
1616
+ "type": "text",
1617
+ "primaryKey": false,
1618
+ "notNull": false,
1619
+ "autoincrement": false
1620
+ },
1621
+ "type": {
1622
+ "name": "type",
1623
+ "type": "text",
1624
+ "primaryKey": false,
1625
+ "notNull": true,
1626
+ "autoincrement": false
1627
+ },
1628
+ "status": {
1629
+ "name": "status",
1630
+ "type": "text",
1631
+ "primaryKey": false,
1632
+ "notNull": true,
1633
+ "autoincrement": false,
1634
+ "default": "'pending'"
1635
+ },
1636
+ "url": {
1637
+ "name": "url",
1638
+ "type": "text",
1639
+ "primaryKey": false,
1640
+ "notNull": false,
1641
+ "autoincrement": false
1642
+ },
1643
+ "created_at": {
1644
+ "name": "created_at",
1645
+ "type": "integer",
1646
+ "primaryKey": false,
1647
+ "notNull": true,
1648
+ "autoincrement": false,
1649
+ "default": "CURRENT_TIMESTAMP"
1650
+ },
1651
+ "updated_at": {
1652
+ "name": "updated_at",
1653
+ "type": "integer",
1654
+ "primaryKey": false,
1655
+ "notNull": true,
1656
+ "autoincrement": false,
1657
+ "default": "CURRENT_TIMESTAMP"
1658
+ }
1659
+ },
1660
+ "indexes": {
1661
+ "generations_user_id_idx": {
1662
+ "name": "generations_user_id_idx",
1663
+ "columns": [
1664
+ "user_id"
1665
+ ],
1666
+ "isUnique": false
1667
+ },
1668
+ "generations_concept_combination_id_idx": {
1669
+ "name": "generations_concept_combination_id_idx",
1670
+ "columns": [
1671
+ "concept_combination_id"
1672
+ ],
1673
+ "isUnique": false
1674
+ },
1675
+ "generations_archetype_index_idx": {
1676
+ "name": "generations_archetype_index_idx",
1677
+ "columns": [
1678
+ "archetype_index"
1679
+ ],
1680
+ "isUnique": false
1681
+ }
1682
+ },
1683
+ "foreignKeys": {
1684
+ "generations_user_id_users_id_fk": {
1685
+ "name": "generations_user_id_users_id_fk",
1686
+ "tableFrom": "generations",
1687
+ "tableTo": "users",
1688
+ "columnsFrom": [
1689
+ "user_id"
1690
+ ],
1691
+ "columnsTo": [
1692
+ "id"
1693
+ ],
1694
+ "onDelete": "cascade",
1695
+ "onUpdate": "no action"
1696
+ },
1697
+ "generations_artifact_id_artifacts_id_fk": {
1698
+ "name": "generations_artifact_id_artifacts_id_fk",
1699
+ "tableFrom": "generations",
1700
+ "tableTo": "artifacts",
1701
+ "columnsFrom": [
1702
+ "artifact_id"
1703
+ ],
1704
+ "columnsTo": [
1705
+ "id"
1706
+ ],
1707
+ "onDelete": "cascade",
1708
+ "onUpdate": "no action"
1709
+ },
1710
+ "generations_user_artifact_id_user_artifacts_id_fk": {
1711
+ "name": "generations_user_artifact_id_user_artifacts_id_fk",
1712
+ "tableFrom": "generations",
1713
+ "tableTo": "user_artifacts",
1714
+ "columnsFrom": [
1715
+ "user_artifact_id"
1716
+ ],
1717
+ "columnsTo": [
1718
+ "id"
1719
+ ],
1720
+ "onDelete": "cascade",
1721
+ "onUpdate": "no action"
1722
+ },
1723
+ "generations_concept_combination_id_concept_combinations_id_fk": {
1724
+ "name": "generations_concept_combination_id_concept_combinations_id_fk",
1725
+ "tableFrom": "generations",
1726
+ "tableTo": "concept_combinations",
1727
+ "columnsFrom": [
1728
+ "concept_combination_id"
1729
+ ],
1730
+ "columnsTo": [
1731
+ "id"
1732
+ ],
1733
+ "onDelete": "cascade",
1734
+ "onUpdate": "no action"
1735
+ }
1736
+ },
1737
+ "compositePrimaryKeys": {},
1738
+ "uniqueConstraints": {},
1739
+ "checkConstraints": {}
1740
+ },
1741
+ "house_reports": {
1742
+ "name": "house_reports",
1743
+ "columns": {
1744
+ "id": {
1745
+ "name": "id",
1746
+ "type": "text",
1747
+ "primaryKey": true,
1748
+ "notNull": true,
1749
+ "autoincrement": false
1750
+ },
1751
+ "sign": {
1752
+ "name": "sign",
1753
+ "type": "text",
1754
+ "primaryKey": false,
1755
+ "notNull": true,
1756
+ "autoincrement": false
1757
+ },
1758
+ "house": {
1759
+ "name": "house",
1760
+ "type": "integer",
1761
+ "primaryKey": false,
1762
+ "notNull": true,
1763
+ "autoincrement": false
1764
+ },
1765
+ "description_template_id": {
1766
+ "name": "description_template_id",
1767
+ "type": "text",
1768
+ "primaryKey": false,
1769
+ "notNull": false,
1770
+ "autoincrement": false
1771
+ },
1772
+ "en_report": {
1773
+ "name": "en_report",
1774
+ "type": "text",
1775
+ "primaryKey": false,
1776
+ "notNull": false,
1777
+ "autoincrement": false
1778
+ },
1779
+ "pt_report": {
1780
+ "name": "pt_report",
1781
+ "type": "text",
1782
+ "primaryKey": false,
1783
+ "notNull": false,
1784
+ "autoincrement": false
1785
+ },
1786
+ "created_at": {
1787
+ "name": "created_at",
1788
+ "type": "integer",
1789
+ "primaryKey": false,
1790
+ "notNull": false,
1791
+ "autoincrement": false,
1792
+ "default": "CURRENT_TIMESTAMP"
1793
+ },
1794
+ "updated_at": {
1795
+ "name": "updated_at",
1796
+ "type": "integer",
1797
+ "primaryKey": false,
1798
+ "notNull": false,
1799
+ "autoincrement": false,
1800
+ "default": "CURRENT_TIMESTAMP"
1801
+ }
1802
+ },
1803
+ "indexes": {
1804
+ "house_reports_sign_house_idx": {
1805
+ "name": "house_reports_sign_house_idx",
1806
+ "columns": [
1807
+ "sign",
1808
+ "house"
1809
+ ],
1810
+ "isUnique": false
1811
+ },
1812
+ "house_reports_description_template_idx": {
1813
+ "name": "house_reports_description_template_idx",
1814
+ "columns": [
1815
+ "description_template_id"
1816
+ ],
1817
+ "isUnique": false
1818
+ }
1819
+ },
1820
+ "foreignKeys": {
1821
+ "house_reports_description_template_id_astro_description_templates_id_fk": {
1822
+ "name": "house_reports_description_template_id_astro_description_templates_id_fk",
1823
+ "tableFrom": "house_reports",
1824
+ "tableTo": "astro_description_templates",
1825
+ "columnsFrom": [
1826
+ "description_template_id"
1827
+ ],
1828
+ "columnsTo": [
1829
+ "id"
1830
+ ],
1831
+ "onDelete": "set null",
1832
+ "onUpdate": "no action"
1833
+ }
1834
+ },
1835
+ "compositePrimaryKeys": {},
1836
+ "uniqueConstraints": {},
1837
+ "checkConstraints": {}
1838
+ },
1839
+ "tokens": {
1840
+ "name": "tokens",
1841
+ "columns": {
1842
+ "id": {
1843
+ "name": "id",
1844
+ "type": "text",
1845
+ "primaryKey": true,
1846
+ "notNull": true,
1847
+ "autoincrement": false
1848
+ },
1849
+ "user_id": {
1850
+ "name": "user_id",
1851
+ "type": "text",
1852
+ "primaryKey": false,
1853
+ "notNull": true,
1854
+ "autoincrement": false
1855
+ },
1856
+ "refresh_token": {
1857
+ "name": "refresh_token",
1858
+ "type": "text",
1859
+ "primaryKey": false,
1860
+ "notNull": true,
1861
+ "autoincrement": false
1862
+ },
1863
+ "expires_at": {
1864
+ "name": "expires_at",
1865
+ "type": "text",
1866
+ "primaryKey": false,
1867
+ "notNull": true,
1868
+ "autoincrement": false
1869
+ },
1870
+ "created_at": {
1871
+ "name": "created_at",
1872
+ "type": "integer",
1873
+ "primaryKey": false,
1874
+ "notNull": true,
1875
+ "autoincrement": false,
1876
+ "default": "CURRENT_TIMESTAMP"
1877
+ },
1878
+ "updated_at": {
1879
+ "name": "updated_at",
1880
+ "type": "integer",
1881
+ "primaryKey": false,
1882
+ "notNull": true,
1883
+ "autoincrement": false,
1884
+ "default": "CURRENT_TIMESTAMP"
1885
+ }
1886
+ },
1887
+ "indexes": {
1888
+ "tokens_refresh_token_unique": {
1889
+ "name": "tokens_refresh_token_unique",
1890
+ "columns": [
1891
+ "refresh_token"
1892
+ ],
1893
+ "isUnique": true
1894
+ },
1895
+ "tokens_user_id_idx": {
1896
+ "name": "tokens_user_id_idx",
1897
+ "columns": [
1898
+ "user_id"
1899
+ ],
1900
+ "isUnique": false
1901
+ }
1902
+ },
1903
+ "foreignKeys": {
1904
+ "tokens_user_id_users_id_fk": {
1905
+ "name": "tokens_user_id_users_id_fk",
1906
+ "tableFrom": "tokens",
1907
+ "tableTo": "users",
1908
+ "columnsFrom": [
1909
+ "user_id"
1910
+ ],
1911
+ "columnsTo": [
1912
+ "id"
1913
+ ],
1914
+ "onDelete": "cascade",
1915
+ "onUpdate": "no action"
1916
+ }
1917
+ },
1918
+ "compositePrimaryKeys": {},
1919
+ "uniqueConstraints": {},
1920
+ "checkConstraints": {}
1921
+ },
1922
+ "user_artifacts": {
1923
+ "name": "user_artifacts",
1924
+ "columns": {
1925
+ "id": {
1926
+ "name": "id",
1927
+ "type": "text",
1928
+ "primaryKey": true,
1929
+ "notNull": true,
1930
+ "autoincrement": false
1931
+ },
1932
+ "user_id": {
1933
+ "name": "user_id",
1934
+ "type": "text",
1935
+ "primaryKey": false,
1936
+ "notNull": true,
1937
+ "autoincrement": false
1938
+ },
1939
+ "user_concept_id": {
1940
+ "name": "user_concept_id",
1941
+ "type": "text",
1942
+ "primaryKey": false,
1943
+ "notNull": true,
1944
+ "autoincrement": false
1945
+ },
1946
+ "artifact_id": {
1947
+ "name": "artifact_id",
1948
+ "type": "text",
1949
+ "primaryKey": false,
1950
+ "notNull": true,
1951
+ "autoincrement": false
1952
+ },
1953
+ "gender": {
1954
+ "name": "gender",
1955
+ "type": "text",
1956
+ "primaryKey": false,
1957
+ "notNull": true,
1958
+ "autoincrement": false
1959
+ },
1960
+ "archetype_index": {
1961
+ "name": "archetype_index",
1962
+ "type": "text",
1963
+ "primaryKey": false,
1964
+ "notNull": true,
1965
+ "autoincrement": false
1966
+ },
1967
+ "archetype_data_id": {
1968
+ "name": "archetype_data_id",
1969
+ "type": "text",
1970
+ "primaryKey": false,
1971
+ "notNull": false,
1972
+ "autoincrement": false
1973
+ },
1974
+ "post_image_id": {
1975
+ "name": "post_image_id",
1976
+ "type": "text",
1977
+ "primaryKey": false,
1978
+ "notNull": false,
1979
+ "autoincrement": false
1980
+ },
1981
+ "reel_image_id": {
1982
+ "name": "reel_image_id",
1983
+ "type": "text",
1984
+ "primaryKey": false,
1985
+ "notNull": false,
1986
+ "autoincrement": false
1987
+ },
1988
+ "post_image_url": {
1989
+ "name": "post_image_url",
1990
+ "type": "text",
1991
+ "primaryKey": false,
1992
+ "notNull": false,
1993
+ "autoincrement": false
1994
+ },
1995
+ "reel_image_url": {
1996
+ "name": "reel_image_url",
1997
+ "type": "text",
1998
+ "primaryKey": false,
1999
+ "notNull": false,
2000
+ "autoincrement": false
2001
+ },
2002
+ "post_generation_id": {
2003
+ "name": "post_generation_id",
2004
+ "type": "text",
2005
+ "primaryKey": false,
2006
+ "notNull": false,
2007
+ "autoincrement": false
2008
+ },
2009
+ "reel_generation_id": {
2010
+ "name": "reel_generation_id",
2011
+ "type": "text",
2012
+ "primaryKey": false,
2013
+ "notNull": false,
2014
+ "autoincrement": false
2015
+ },
2016
+ "status": {
2017
+ "name": "status",
2018
+ "type": "text",
2019
+ "primaryKey": false,
2020
+ "notNull": true,
2021
+ "autoincrement": false,
2022
+ "default": "'pending'"
2023
+ },
2024
+ "created_at": {
2025
+ "name": "created_at",
2026
+ "type": "integer",
2027
+ "primaryKey": false,
2028
+ "notNull": true,
2029
+ "autoincrement": false,
2030
+ "default": "CURRENT_TIMESTAMP"
2031
+ },
2032
+ "updated_at": {
2033
+ "name": "updated_at",
2034
+ "type": "integer",
2035
+ "primaryKey": false,
2036
+ "notNull": true,
2037
+ "autoincrement": false,
2038
+ "default": "CURRENT_TIMESTAMP"
2039
+ }
2040
+ },
2041
+ "indexes": {
2042
+ "user_artifacts_user_id_idx": {
2043
+ "name": "user_artifacts_user_id_idx",
2044
+ "columns": [
2045
+ "user_id"
2046
+ ],
2047
+ "isUnique": false
2048
+ },
2049
+ "user_artifacts_artifact_id_idx": {
2050
+ "name": "user_artifacts_artifact_id_idx",
2051
+ "columns": [
2052
+ "artifact_id"
2053
+ ],
2054
+ "isUnique": false
2055
+ },
2056
+ "user_artifacts_status_idx": {
2057
+ "name": "user_artifacts_status_idx",
2058
+ "columns": [
2059
+ "status"
2060
+ ],
2061
+ "isUnique": false
2062
+ },
2063
+ "user_artifacts_archetype_data_id_idx": {
2064
+ "name": "user_artifacts_archetype_data_id_idx",
2065
+ "columns": [
2066
+ "archetype_data_id"
2067
+ ],
2068
+ "isUnique": false
2069
+ }
2070
+ },
2071
+ "foreignKeys": {
2072
+ "user_artifacts_user_id_users_id_fk": {
2073
+ "name": "user_artifacts_user_id_users_id_fk",
2074
+ "tableFrom": "user_artifacts",
2075
+ "tableTo": "users",
2076
+ "columnsFrom": [
2077
+ "user_id"
2078
+ ],
2079
+ "columnsTo": [
2080
+ "id"
2081
+ ],
2082
+ "onDelete": "cascade",
2083
+ "onUpdate": "no action"
2084
+ },
2085
+ "user_artifacts_user_concept_id_user_concepts_id_fk": {
2086
+ "name": "user_artifacts_user_concept_id_user_concepts_id_fk",
2087
+ "tableFrom": "user_artifacts",
2088
+ "tableTo": "user_concepts",
2089
+ "columnsFrom": [
2090
+ "user_concept_id"
2091
+ ],
2092
+ "columnsTo": [
2093
+ "id"
2094
+ ],
2095
+ "onDelete": "cascade",
2096
+ "onUpdate": "no action"
2097
+ },
2098
+ "user_artifacts_artifact_id_artifacts_id_fk": {
2099
+ "name": "user_artifacts_artifact_id_artifacts_id_fk",
2100
+ "tableFrom": "user_artifacts",
2101
+ "tableTo": "artifacts",
2102
+ "columnsFrom": [
2103
+ "artifact_id"
2104
+ ],
2105
+ "columnsTo": [
2106
+ "id"
2107
+ ],
2108
+ "onDelete": "cascade",
2109
+ "onUpdate": "no action"
2110
+ },
2111
+ "user_artifacts_archetype_data_id_archetypes_data_id_fk": {
2112
+ "name": "user_artifacts_archetype_data_id_archetypes_data_id_fk",
2113
+ "tableFrom": "user_artifacts",
2114
+ "tableTo": "archetypes_data",
2115
+ "columnsFrom": [
2116
+ "archetype_data_id"
2117
+ ],
2118
+ "columnsTo": [
2119
+ "id"
2120
+ ],
2121
+ "onDelete": "cascade",
2122
+ "onUpdate": "no action"
2123
+ }
2124
+ },
2125
+ "compositePrimaryKeys": {},
2126
+ "uniqueConstraints": {},
2127
+ "checkConstraints": {}
2128
+ },
2129
+ "user_concepts": {
2130
+ "name": "user_concepts",
2131
+ "columns": {
2132
+ "id": {
2133
+ "name": "id",
2134
+ "type": "text",
2135
+ "primaryKey": true,
2136
+ "notNull": true,
2137
+ "autoincrement": false
2138
+ },
2139
+ "user_id": {
2140
+ "name": "user_id",
2141
+ "type": "text",
2142
+ "primaryKey": false,
2143
+ "notNull": true,
2144
+ "autoincrement": false
2145
+ },
2146
+ "concept_id": {
2147
+ "name": "concept_id",
2148
+ "type": "text",
2149
+ "primaryKey": false,
2150
+ "notNull": true,
2151
+ "autoincrement": false
2152
+ },
2153
+ "concept_combination_id": {
2154
+ "name": "concept_combination_id",
2155
+ "type": "text",
2156
+ "primaryKey": false,
2157
+ "notNull": true,
2158
+ "autoincrement": false
2159
+ },
2160
+ "created_at": {
2161
+ "name": "created_at",
2162
+ "type": "integer",
2163
+ "primaryKey": false,
2164
+ "notNull": true,
2165
+ "autoincrement": false,
2166
+ "default": "CURRENT_TIMESTAMP"
2167
+ },
2168
+ "updated_at": {
2169
+ "name": "updated_at",
2170
+ "type": "integer",
2171
+ "primaryKey": false,
2172
+ "notNull": true,
2173
+ "autoincrement": false,
2174
+ "default": "CURRENT_TIMESTAMP"
2175
+ },
2176
+ "image_idx": {
2177
+ "name": "image_idx",
2178
+ "type": "integer",
2179
+ "primaryKey": false,
2180
+ "notNull": true,
2181
+ "autoincrement": false,
2182
+ "default": 0
2183
+ }
2184
+ },
2185
+ "indexes": {
2186
+ "user_concepts_user_id_idx": {
2187
+ "name": "user_concepts_user_id_idx",
2188
+ "columns": [
2189
+ "user_id"
2190
+ ],
2191
+ "isUnique": false
2192
+ },
2193
+ "user_concepts_concept_id_idx": {
2194
+ "name": "user_concepts_concept_id_idx",
2195
+ "columns": [
2196
+ "concept_id"
2197
+ ],
2198
+ "isUnique": false
2199
+ }
2200
+ },
2201
+ "foreignKeys": {
2202
+ "user_concepts_user_id_users_id_fk": {
2203
+ "name": "user_concepts_user_id_users_id_fk",
2204
+ "tableFrom": "user_concepts",
2205
+ "tableTo": "users",
2206
+ "columnsFrom": [
2207
+ "user_id"
2208
+ ],
2209
+ "columnsTo": [
2210
+ "id"
2211
+ ],
2212
+ "onDelete": "cascade",
2213
+ "onUpdate": "no action"
2214
+ },
2215
+ "user_concepts_concept_id_concepts_id_fk": {
2216
+ "name": "user_concepts_concept_id_concepts_id_fk",
2217
+ "tableFrom": "user_concepts",
2218
+ "tableTo": "concepts",
2219
+ "columnsFrom": [
2220
+ "concept_id"
2221
+ ],
2222
+ "columnsTo": [
2223
+ "id"
2224
+ ],
2225
+ "onDelete": "cascade",
2226
+ "onUpdate": "no action"
2227
+ },
2228
+ "user_concepts_concept_combination_id_concept_combinations_id_fk": {
2229
+ "name": "user_concepts_concept_combination_id_concept_combinations_id_fk",
2230
+ "tableFrom": "user_concepts",
2231
+ "tableTo": "concept_combinations",
2232
+ "columnsFrom": [
2233
+ "concept_combination_id"
2234
+ ],
2235
+ "columnsTo": [
2236
+ "id"
2237
+ ],
2238
+ "onDelete": "cascade",
2239
+ "onUpdate": "no action"
2240
+ }
2241
+ },
2242
+ "compositePrimaryKeys": {},
2243
+ "uniqueConstraints": {},
2244
+ "checkConstraints": {}
2245
+ },
2246
+ "users": {
2247
+ "name": "users",
2248
+ "columns": {
2249
+ "id": {
2250
+ "name": "id",
2251
+ "type": "text",
2252
+ "primaryKey": true,
2253
+ "notNull": true,
2254
+ "autoincrement": false
2255
+ },
2256
+ "email": {
2257
+ "name": "email",
2258
+ "type": "text",
2259
+ "primaryKey": false,
2260
+ "notNull": true,
2261
+ "autoincrement": false
2262
+ },
2263
+ "password_hash": {
2264
+ "name": "password_hash",
2265
+ "type": "text",
2266
+ "primaryKey": false,
2267
+ "notNull": false,
2268
+ "autoincrement": false
2269
+ },
2270
+ "name": {
2271
+ "name": "name",
2272
+ "type": "text",
2273
+ "primaryKey": false,
2274
+ "notNull": true,
2275
+ "autoincrement": false
2276
+ },
2277
+ "profile_image": {
2278
+ "name": "profile_image",
2279
+ "type": "text",
2280
+ "primaryKey": false,
2281
+ "notNull": false,
2282
+ "autoincrement": false
2283
+ },
2284
+ "user_photo_id": {
2285
+ "name": "user_photo_id",
2286
+ "type": "text",
2287
+ "primaryKey": false,
2288
+ "notNull": false,
2289
+ "autoincrement": false
2290
+ },
2291
+ "user_photo_url": {
2292
+ "name": "user_photo_url",
2293
+ "type": "text",
2294
+ "primaryKey": false,
2295
+ "notNull": false,
2296
+ "autoincrement": false
2297
+ },
2298
+ "gender": {
2299
+ "name": "gender",
2300
+ "type": "text",
2301
+ "primaryKey": false,
2302
+ "notNull": false,
2303
+ "autoincrement": false
2304
+ },
2305
+ "day": {
2306
+ "name": "day",
2307
+ "type": "integer",
2308
+ "primaryKey": false,
2309
+ "notNull": true,
2310
+ "autoincrement": false
2311
+ },
2312
+ "month": {
2313
+ "name": "month",
2314
+ "type": "integer",
2315
+ "primaryKey": false,
2316
+ "notNull": true,
2317
+ "autoincrement": false
2318
+ },
2319
+ "year": {
2320
+ "name": "year",
2321
+ "type": "integer",
2322
+ "primaryKey": false,
2323
+ "notNull": true,
2324
+ "autoincrement": false
2325
+ },
2326
+ "hour": {
2327
+ "name": "hour",
2328
+ "type": "integer",
2329
+ "primaryKey": false,
2330
+ "notNull": false,
2331
+ "autoincrement": false
2332
+ },
2333
+ "min": {
2334
+ "name": "min",
2335
+ "type": "integer",
2336
+ "primaryKey": false,
2337
+ "notNull": false,
2338
+ "autoincrement": false
2339
+ },
2340
+ "latitude": {
2341
+ "name": "latitude",
2342
+ "type": "real",
2343
+ "primaryKey": false,
2344
+ "notNull": true,
2345
+ "autoincrement": false
2346
+ },
2347
+ "longitude": {
2348
+ "name": "longitude",
2349
+ "type": "real",
2350
+ "primaryKey": false,
2351
+ "notNull": true,
2352
+ "autoincrement": false
2353
+ },
2354
+ "tzone": {
2355
+ "name": "tzone",
2356
+ "type": "real",
2357
+ "primaryKey": false,
2358
+ "notNull": false,
2359
+ "autoincrement": false
2360
+ },
2361
+ "birth_location": {
2362
+ "name": "birth_location",
2363
+ "type": "text",
2364
+ "primaryKey": false,
2365
+ "notNull": true,
2366
+ "autoincrement": false
2367
+ },
2368
+ "instagram_username": {
2369
+ "name": "instagram_username",
2370
+ "type": "text",
2371
+ "primaryKey": false,
2372
+ "notNull": false,
2373
+ "autoincrement": false
2374
+ },
2375
+ "tiktok_username": {
2376
+ "name": "tiktok_username",
2377
+ "type": "text",
2378
+ "primaryKey": false,
2379
+ "notNull": false,
2380
+ "autoincrement": false
2381
+ },
2382
+ "oauth_provider": {
2383
+ "name": "oauth_provider",
2384
+ "type": "text",
2385
+ "primaryKey": false,
2386
+ "notNull": false,
2387
+ "autoincrement": false
2388
+ },
2389
+ "oauth_provider_id": {
2390
+ "name": "oauth_provider_id",
2391
+ "type": "text",
2392
+ "primaryKey": false,
2393
+ "notNull": false,
2394
+ "autoincrement": false
2395
+ },
2396
+ "credits_balance": {
2397
+ "name": "credits_balance",
2398
+ "type": "integer",
2399
+ "primaryKey": false,
2400
+ "notNull": true,
2401
+ "autoincrement": false,
2402
+ "default": 0
2403
+ },
2404
+ "total_credits_earned": {
2405
+ "name": "total_credits_earned",
2406
+ "type": "integer",
2407
+ "primaryKey": false,
2408
+ "notNull": true,
2409
+ "autoincrement": false,
2410
+ "default": 0
2411
+ },
2412
+ "last_transaction_at": {
2413
+ "name": "last_transaction_at",
2414
+ "type": "integer",
2415
+ "primaryKey": false,
2416
+ "notNull": false,
2417
+ "autoincrement": false
2418
+ },
2419
+ "language": {
2420
+ "name": "language",
2421
+ "type": "text",
2422
+ "primaryKey": false,
2423
+ "notNull": true,
2424
+ "autoincrement": false
2425
+ },
2426
+ "created_at": {
2427
+ "name": "created_at",
2428
+ "type": "integer",
2429
+ "primaryKey": false,
2430
+ "notNull": true,
2431
+ "autoincrement": false,
2432
+ "default": "CURRENT_TIMESTAMP"
2433
+ },
2434
+ "updated_at": {
2435
+ "name": "updated_at",
2436
+ "type": "integer",
2437
+ "primaryKey": false,
2438
+ "notNull": true,
2439
+ "autoincrement": false,
2440
+ "default": "CURRENT_TIMESTAMP"
2441
+ }
2442
+ },
2443
+ "indexes": {
2444
+ "users_email_unique": {
2445
+ "name": "users_email_unique",
2446
+ "columns": [
2447
+ "email"
2448
+ ],
2449
+ "isUnique": true
2450
+ },
2451
+ "users_instagram_username_unique": {
2452
+ "name": "users_instagram_username_unique",
2453
+ "columns": [
2454
+ "instagram_username"
2455
+ ],
2456
+ "isUnique": true
2457
+ },
2458
+ "users_tiktok_username_unique": {
2459
+ "name": "users_tiktok_username_unique",
2460
+ "columns": [
2461
+ "tiktok_username"
2462
+ ],
2463
+ "isUnique": true
2464
+ },
2465
+ "users_oauth_provider_id_unique": {
2466
+ "name": "users_oauth_provider_id_unique",
2467
+ "columns": [
2468
+ "oauth_provider_id"
2469
+ ],
2470
+ "isUnique": true
2471
+ },
2472
+ "users_email_idx": {
2473
+ "name": "users_email_idx",
2474
+ "columns": [
2475
+ "email"
2476
+ ],
2477
+ "isUnique": false
2478
+ },
2479
+ "users_oauth_provider_idx": {
2480
+ "name": "users_oauth_provider_idx",
2481
+ "columns": [
2482
+ "oauth_provider",
2483
+ "oauth_provider_id"
2484
+ ],
2485
+ "isUnique": false
2486
+ }
2487
+ },
2488
+ "foreignKeys": {},
2489
+ "compositePrimaryKeys": {},
2490
+ "uniqueConstraints": {},
2491
+ "checkConstraints": {}
2492
+ },
2493
+ "users_temp": {
2494
+ "name": "users_temp",
2495
+ "columns": {
2496
+ "id": {
2497
+ "name": "id",
2498
+ "type": "text",
2499
+ "primaryKey": true,
2500
+ "notNull": true,
2501
+ "autoincrement": false
2502
+ },
2503
+ "email": {
2504
+ "name": "email",
2505
+ "type": "text",
2506
+ "primaryKey": false,
2507
+ "notNull": true,
2508
+ "autoincrement": false
2509
+ },
2510
+ "name": {
2511
+ "name": "name",
2512
+ "type": "text",
2513
+ "primaryKey": false,
2514
+ "notNull": true,
2515
+ "autoincrement": false
2516
+ },
2517
+ "profile_image": {
2518
+ "name": "profile_image",
2519
+ "type": "text",
2520
+ "primaryKey": false,
2521
+ "notNull": false,
2522
+ "autoincrement": false
2523
+ },
2524
+ "language": {
2525
+ "name": "language",
2526
+ "type": "text",
2527
+ "primaryKey": false,
2528
+ "notNull": true,
2529
+ "autoincrement": false
2530
+ },
2531
+ "oauth_provider": {
2532
+ "name": "oauth_provider",
2533
+ "type": "text",
2534
+ "primaryKey": false,
2535
+ "notNull": false,
2536
+ "autoincrement": false
2537
+ },
2538
+ "oauth_provider_id": {
2539
+ "name": "oauth_provider_id",
2540
+ "type": "text",
2541
+ "primaryKey": false,
2542
+ "notNull": false,
2543
+ "autoincrement": false
2544
+ },
2545
+ "created_at": {
2546
+ "name": "created_at",
2547
+ "type": "integer",
2548
+ "primaryKey": false,
2549
+ "notNull": true,
2550
+ "autoincrement": false,
2551
+ "default": "CURRENT_TIMESTAMP"
2552
+ },
2553
+ "updated_at": {
2554
+ "name": "updated_at",
2555
+ "type": "integer",
2556
+ "primaryKey": false,
2557
+ "notNull": true,
2558
+ "autoincrement": false,
2559
+ "default": "CURRENT_TIMESTAMP"
2560
+ }
2561
+ },
2562
+ "indexes": {
2563
+ "users_temp_email_unique": {
2564
+ "name": "users_temp_email_unique",
2565
+ "columns": [
2566
+ "email"
2567
+ ],
2568
+ "isUnique": true
2569
+ },
2570
+ "users_temp_email_idx": {
2571
+ "name": "users_temp_email_idx",
2572
+ "columns": [
2573
+ "email"
2574
+ ],
2575
+ "isUnique": false
2576
+ }
2577
+ },
2578
+ "foreignKeys": {},
2579
+ "compositePrimaryKeys": {},
2580
+ "uniqueConstraints": {},
2581
+ "checkConstraints": {}
2582
+ }
2583
+ },
2584
+ "views": {},
2585
+ "enums": {},
2586
+ "_meta": {
2587
+ "schemas": {},
2588
+ "tables": {},
2589
+ "columns": {}
2590
+ },
2591
+ "internal": {
2592
+ "indexes": {}
2593
+ }
2594
+ }