@zodic/shared 0.0.353 → 0.0.355

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