@zodic/shared 0.0.398 → 0.0.399

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,3260 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "d78d48e8-bfe2-433b-b488-34e115606bf9",
5
+ "prevId": "467eb2c9-df29-4f53-b105-6b9d3d1c1f78",
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
+ "asaas_events": {
461
+ "name": "asaas_events",
462
+ "columns": {
463
+ "id": {
464
+ "name": "id",
465
+ "type": "text",
466
+ "primaryKey": true,
467
+ "notNull": true,
468
+ "autoincrement": false
469
+ },
470
+ "asaas_event_id": {
471
+ "name": "asaas_event_id",
472
+ "type": "text",
473
+ "primaryKey": false,
474
+ "notNull": true,
475
+ "autoincrement": false
476
+ },
477
+ "payload": {
478
+ "name": "payload",
479
+ "type": "text",
480
+ "primaryKey": false,
481
+ "notNull": true,
482
+ "autoincrement": false
483
+ },
484
+ "status": {
485
+ "name": "status",
486
+ "type": "text",
487
+ "primaryKey": false,
488
+ "notNull": true,
489
+ "autoincrement": false,
490
+ "default": "'pending'"
491
+ },
492
+ "created_at": {
493
+ "name": "created_at",
494
+ "type": "integer",
495
+ "primaryKey": false,
496
+ "notNull": true,
497
+ "autoincrement": false,
498
+ "default": "CURRENT_TIMESTAMP"
499
+ },
500
+ "updated_at": {
501
+ "name": "updated_at",
502
+ "type": "integer",
503
+ "primaryKey": false,
504
+ "notNull": true,
505
+ "autoincrement": false,
506
+ "default": "CURRENT_TIMESTAMP"
507
+ }
508
+ },
509
+ "indexes": {
510
+ "asaas_events_asaas_event_id_unique": {
511
+ "name": "asaas_events_asaas_event_id_unique",
512
+ "columns": [
513
+ "asaas_event_id"
514
+ ],
515
+ "isUnique": true
516
+ },
517
+ "asaas_events_asaas_event_id_idx": {
518
+ "name": "asaas_events_asaas_event_id_idx",
519
+ "columns": [
520
+ "asaas_event_id"
521
+ ],
522
+ "isUnique": false
523
+ }
524
+ },
525
+ "foreignKeys": {},
526
+ "compositePrimaryKeys": {},
527
+ "uniqueConstraints": {},
528
+ "checkConstraints": {}
529
+ },
530
+ "aspect_reports": {
531
+ "name": "aspect_reports",
532
+ "columns": {
533
+ "id": {
534
+ "name": "id",
535
+ "type": "text",
536
+ "primaryKey": true,
537
+ "notNull": true,
538
+ "autoincrement": false
539
+ },
540
+ "aspecting_planet": {
541
+ "name": "aspecting_planet",
542
+ "type": "text",
543
+ "primaryKey": false,
544
+ "notNull": true,
545
+ "autoincrement": false
546
+ },
547
+ "aspected_planet": {
548
+ "name": "aspected_planet",
549
+ "type": "text",
550
+ "primaryKey": false,
551
+ "notNull": true,
552
+ "autoincrement": false
553
+ },
554
+ "aspect": {
555
+ "name": "aspect",
556
+ "type": "text",
557
+ "primaryKey": false,
558
+ "notNull": true,
559
+ "autoincrement": false
560
+ },
561
+ "description_template_id": {
562
+ "name": "description_template_id",
563
+ "type": "text",
564
+ "primaryKey": false,
565
+ "notNull": false,
566
+ "autoincrement": false
567
+ },
568
+ "en_report": {
569
+ "name": "en_report",
570
+ "type": "text",
571
+ "primaryKey": false,
572
+ "notNull": false,
573
+ "autoincrement": false
574
+ },
575
+ "pt_report": {
576
+ "name": "pt_report",
577
+ "type": "text",
578
+ "primaryKey": false,
579
+ "notNull": false,
580
+ "autoincrement": false
581
+ },
582
+ "created_at": {
583
+ "name": "created_at",
584
+ "type": "integer",
585
+ "primaryKey": false,
586
+ "notNull": false,
587
+ "autoincrement": false,
588
+ "default": "CURRENT_TIMESTAMP"
589
+ },
590
+ "updated_at": {
591
+ "name": "updated_at",
592
+ "type": "integer",
593
+ "primaryKey": false,
594
+ "notNull": false,
595
+ "autoincrement": false,
596
+ "default": "CURRENT_TIMESTAMP"
597
+ }
598
+ },
599
+ "indexes": {
600
+ "aspect_reports_aspecting_idx": {
601
+ "name": "aspect_reports_aspecting_idx",
602
+ "columns": [
603
+ "aspecting_planet"
604
+ ],
605
+ "isUnique": false
606
+ },
607
+ "aspect_reports_aspected_idx": {
608
+ "name": "aspect_reports_aspected_idx",
609
+ "columns": [
610
+ "aspected_planet"
611
+ ],
612
+ "isUnique": false
613
+ },
614
+ "aspect_reports_aspect_idx": {
615
+ "name": "aspect_reports_aspect_idx",
616
+ "columns": [
617
+ "aspect"
618
+ ],
619
+ "isUnique": false
620
+ },
621
+ "aspect_reports_combined_idx": {
622
+ "name": "aspect_reports_combined_idx",
623
+ "columns": [
624
+ "aspecting_planet",
625
+ "aspected_planet",
626
+ "aspect"
627
+ ],
628
+ "isUnique": false
629
+ },
630
+ "aspect_reports_description_template_idx": {
631
+ "name": "aspect_reports_description_template_idx",
632
+ "columns": [
633
+ "description_template_id"
634
+ ],
635
+ "isUnique": false
636
+ }
637
+ },
638
+ "foreignKeys": {
639
+ "aspect_reports_description_template_id_astro_description_templates_id_fk": {
640
+ "name": "aspect_reports_description_template_id_astro_description_templates_id_fk",
641
+ "tableFrom": "aspect_reports",
642
+ "tableTo": "astro_description_templates",
643
+ "columnsFrom": [
644
+ "description_template_id"
645
+ ],
646
+ "columnsTo": [
647
+ "id"
648
+ ],
649
+ "onDelete": "set null",
650
+ "onUpdate": "no action"
651
+ }
652
+ },
653
+ "compositePrimaryKeys": {},
654
+ "uniqueConstraints": {},
655
+ "checkConstraints": {}
656
+ },
657
+ "astro_aspects": {
658
+ "name": "astro_aspects",
659
+ "columns": {
660
+ "id": {
661
+ "name": "id",
662
+ "type": "text",
663
+ "primaryKey": true,
664
+ "notNull": true,
665
+ "autoincrement": false
666
+ },
667
+ "user_id": {
668
+ "name": "user_id",
669
+ "type": "text",
670
+ "primaryKey": false,
671
+ "notNull": true,
672
+ "autoincrement": false
673
+ },
674
+ "aspecting_planet": {
675
+ "name": "aspecting_planet",
676
+ "type": "text",
677
+ "primaryKey": false,
678
+ "notNull": true,
679
+ "autoincrement": false
680
+ },
681
+ "aspected_planet": {
682
+ "name": "aspected_planet",
683
+ "type": "text",
684
+ "primaryKey": false,
685
+ "notNull": true,
686
+ "autoincrement": false
687
+ },
688
+ "aspecting_planet_id": {
689
+ "name": "aspecting_planet_id",
690
+ "type": "integer",
691
+ "primaryKey": false,
692
+ "notNull": true,
693
+ "autoincrement": false
694
+ },
695
+ "aspected_planet_id": {
696
+ "name": "aspected_planet_id",
697
+ "type": "integer",
698
+ "primaryKey": false,
699
+ "notNull": true,
700
+ "autoincrement": false
701
+ },
702
+ "type": {
703
+ "name": "type",
704
+ "type": "text",
705
+ "primaryKey": false,
706
+ "notNull": true,
707
+ "autoincrement": false
708
+ },
709
+ "orb": {
710
+ "name": "orb",
711
+ "type": "real",
712
+ "primaryKey": false,
713
+ "notNull": true,
714
+ "autoincrement": false
715
+ },
716
+ "diff": {
717
+ "name": "diff",
718
+ "type": "real",
719
+ "primaryKey": false,
720
+ "notNull": true,
721
+ "autoincrement": false
722
+ }
723
+ },
724
+ "indexes": {
725
+ "astro_aspects_user_id_idx": {
726
+ "name": "astro_aspects_user_id_idx",
727
+ "columns": [
728
+ "user_id"
729
+ ],
730
+ "isUnique": false
731
+ }
732
+ },
733
+ "foreignKeys": {
734
+ "astro_aspects_user_id_users_id_fk": {
735
+ "name": "astro_aspects_user_id_users_id_fk",
736
+ "tableFrom": "astro_aspects",
737
+ "tableTo": "users",
738
+ "columnsFrom": [
739
+ "user_id"
740
+ ],
741
+ "columnsTo": [
742
+ "id"
743
+ ],
744
+ "onDelete": "cascade",
745
+ "onUpdate": "no action"
746
+ }
747
+ },
748
+ "compositePrimaryKeys": {},
749
+ "uniqueConstraints": {},
750
+ "checkConstraints": {}
751
+ },
752
+ "astro_description_templates": {
753
+ "name": "astro_description_templates",
754
+ "columns": {
755
+ "id": {
756
+ "name": "id",
757
+ "type": "text",
758
+ "primaryKey": true,
759
+ "notNull": true,
760
+ "autoincrement": false
761
+ },
762
+ "entity_type": {
763
+ "name": "entity_type",
764
+ "type": "text",
765
+ "primaryKey": false,
766
+ "notNull": true,
767
+ "autoincrement": false
768
+ },
769
+ "name": {
770
+ "name": "name",
771
+ "type": "text",
772
+ "primaryKey": false,
773
+ "notNull": true,
774
+ "autoincrement": false
775
+ },
776
+ "en_name": {
777
+ "name": "en_name",
778
+ "type": "text",
779
+ "primaryKey": false,
780
+ "notNull": false,
781
+ "autoincrement": false
782
+ },
783
+ "pt_name": {
784
+ "name": "pt_name",
785
+ "type": "text",
786
+ "primaryKey": false,
787
+ "notNull": false,
788
+ "autoincrement": false
789
+ },
790
+ "en_description": {
791
+ "name": "en_description",
792
+ "type": "text",
793
+ "primaryKey": false,
794
+ "notNull": true,
795
+ "autoincrement": false
796
+ },
797
+ "pt_description": {
798
+ "name": "pt_description",
799
+ "type": "text",
800
+ "primaryKey": false,
801
+ "notNull": true,
802
+ "autoincrement": false
803
+ },
804
+ "created_at": {
805
+ "name": "created_at",
806
+ "type": "integer",
807
+ "primaryKey": false,
808
+ "notNull": false,
809
+ "autoincrement": false,
810
+ "default": "CURRENT_TIMESTAMP"
811
+ },
812
+ "updated_at": {
813
+ "name": "updated_at",
814
+ "type": "integer",
815
+ "primaryKey": false,
816
+ "notNull": false,
817
+ "autoincrement": false,
818
+ "default": "CURRENT_TIMESTAMP"
819
+ }
820
+ },
821
+ "indexes": {
822
+ "astro_description_templates_type_name_idx": {
823
+ "name": "astro_description_templates_type_name_idx",
824
+ "columns": [
825
+ "entity_type",
826
+ "name"
827
+ ],
828
+ "isUnique": false
829
+ }
830
+ },
831
+ "foreignKeys": {},
832
+ "compositePrimaryKeys": {},
833
+ "uniqueConstraints": {},
834
+ "checkConstraints": {}
835
+ },
836
+ "astro_feature_reports": {
837
+ "name": "astro_feature_reports",
838
+ "columns": {
839
+ "id": {
840
+ "name": "id",
841
+ "type": "text",
842
+ "primaryKey": true,
843
+ "notNull": true,
844
+ "autoincrement": false
845
+ },
846
+ "feature_type": {
847
+ "name": "feature_type",
848
+ "type": "text",
849
+ "primaryKey": false,
850
+ "notNull": true,
851
+ "autoincrement": false
852
+ },
853
+ "name": {
854
+ "name": "name",
855
+ "type": "text",
856
+ "primaryKey": false,
857
+ "notNull": true,
858
+ "autoincrement": false
859
+ },
860
+ "description_template_id": {
861
+ "name": "description_template_id",
862
+ "type": "text",
863
+ "primaryKey": false,
864
+ "notNull": false,
865
+ "autoincrement": false
866
+ },
867
+ "en_report": {
868
+ "name": "en_report",
869
+ "type": "text",
870
+ "primaryKey": false,
871
+ "notNull": false,
872
+ "autoincrement": false
873
+ },
874
+ "pt_report": {
875
+ "name": "pt_report",
876
+ "type": "text",
877
+ "primaryKey": false,
878
+ "notNull": false,
879
+ "autoincrement": false
880
+ },
881
+ "created_at": {
882
+ "name": "created_at",
883
+ "type": "integer",
884
+ "primaryKey": false,
885
+ "notNull": false,
886
+ "autoincrement": false,
887
+ "default": "CURRENT_TIMESTAMP"
888
+ },
889
+ "updated_at": {
890
+ "name": "updated_at",
891
+ "type": "integer",
892
+ "primaryKey": false,
893
+ "notNull": false,
894
+ "autoincrement": false,
895
+ "default": "CURRENT_TIMESTAMP"
896
+ }
897
+ },
898
+ "indexes": {
899
+ "astro_feature_reports_type_name_idx": {
900
+ "name": "astro_feature_reports_type_name_idx",
901
+ "columns": [
902
+ "feature_type",
903
+ "name"
904
+ ],
905
+ "isUnique": false
906
+ },
907
+ "astro_feature_reports_description_template_idx": {
908
+ "name": "astro_feature_reports_description_template_idx",
909
+ "columns": [
910
+ "description_template_id"
911
+ ],
912
+ "isUnique": false
913
+ }
914
+ },
915
+ "foreignKeys": {
916
+ "astro_feature_reports_description_template_id_astro_description_templates_id_fk": {
917
+ "name": "astro_feature_reports_description_template_id_astro_description_templates_id_fk",
918
+ "tableFrom": "astro_feature_reports",
919
+ "tableTo": "astro_description_templates",
920
+ "columnsFrom": [
921
+ "description_template_id"
922
+ ],
923
+ "columnsTo": [
924
+ "id"
925
+ ],
926
+ "onDelete": "set null",
927
+ "onUpdate": "no action"
928
+ }
929
+ },
930
+ "compositePrimaryKeys": {},
931
+ "uniqueConstraints": {},
932
+ "checkConstraints": {}
933
+ },
934
+ "astro_features": {
935
+ "name": "astro_features",
936
+ "columns": {
937
+ "id": {
938
+ "name": "id",
939
+ "type": "text",
940
+ "primaryKey": true,
941
+ "notNull": true,
942
+ "autoincrement": false
943
+ },
944
+ "user_id": {
945
+ "name": "user_id",
946
+ "type": "text",
947
+ "primaryKey": false,
948
+ "notNull": true,
949
+ "autoincrement": false
950
+ },
951
+ "feature_type": {
952
+ "name": "feature_type",
953
+ "type": "text",
954
+ "primaryKey": false,
955
+ "notNull": true,
956
+ "autoincrement": false
957
+ },
958
+ "name": {
959
+ "name": "name",
960
+ "type": "text",
961
+ "primaryKey": false,
962
+ "notNull": true,
963
+ "autoincrement": false
964
+ },
965
+ "description": {
966
+ "name": "description",
967
+ "type": "text",
968
+ "primaryKey": false,
969
+ "notNull": false,
970
+ "autoincrement": false
971
+ },
972
+ "percentage": {
973
+ "name": "percentage",
974
+ "type": "real",
975
+ "primaryKey": false,
976
+ "notNull": false,
977
+ "autoincrement": false
978
+ },
979
+ "order": {
980
+ "name": "order",
981
+ "type": "integer",
982
+ "primaryKey": false,
983
+ "notNull": false,
984
+ "autoincrement": false
985
+ },
986
+ "prominent_id": {
987
+ "name": "prominent_id",
988
+ "type": "integer",
989
+ "primaryKey": false,
990
+ "notNull": false,
991
+ "autoincrement": false
992
+ }
993
+ },
994
+ "indexes": {
995
+ "astro_features_user_id_idx": {
996
+ "name": "astro_features_user_id_idx",
997
+ "columns": [
998
+ "user_id"
999
+ ],
1000
+ "isUnique": false
1001
+ }
1002
+ },
1003
+ "foreignKeys": {
1004
+ "astro_features_user_id_users_id_fk": {
1005
+ "name": "astro_features_user_id_users_id_fk",
1006
+ "tableFrom": "astro_features",
1007
+ "tableTo": "users",
1008
+ "columnsFrom": [
1009
+ "user_id"
1010
+ ],
1011
+ "columnsTo": [
1012
+ "id"
1013
+ ],
1014
+ "onDelete": "cascade",
1015
+ "onUpdate": "no action"
1016
+ }
1017
+ },
1018
+ "compositePrimaryKeys": {},
1019
+ "uniqueConstraints": {},
1020
+ "checkConstraints": {}
1021
+ },
1022
+ "astro_houses": {
1023
+ "name": "astro_houses",
1024
+ "columns": {
1025
+ "id": {
1026
+ "name": "id",
1027
+ "type": "text",
1028
+ "primaryKey": true,
1029
+ "notNull": true,
1030
+ "autoincrement": false
1031
+ },
1032
+ "user_id": {
1033
+ "name": "user_id",
1034
+ "type": "text",
1035
+ "primaryKey": false,
1036
+ "notNull": true,
1037
+ "autoincrement": false
1038
+ },
1039
+ "house": {
1040
+ "name": "house",
1041
+ "type": "integer",
1042
+ "primaryKey": false,
1043
+ "notNull": true,
1044
+ "autoincrement": false
1045
+ },
1046
+ "sign": {
1047
+ "name": "sign",
1048
+ "type": "text",
1049
+ "primaryKey": false,
1050
+ "notNull": true,
1051
+ "autoincrement": false
1052
+ },
1053
+ "degree": {
1054
+ "name": "degree",
1055
+ "type": "real",
1056
+ "primaryKey": false,
1057
+ "notNull": true,
1058
+ "autoincrement": false
1059
+ }
1060
+ },
1061
+ "indexes": {
1062
+ "astro_houses_user_id_idx": {
1063
+ "name": "astro_houses_user_id_idx",
1064
+ "columns": [
1065
+ "user_id"
1066
+ ],
1067
+ "isUnique": false
1068
+ }
1069
+ },
1070
+ "foreignKeys": {
1071
+ "astro_houses_user_id_users_id_fk": {
1072
+ "name": "astro_houses_user_id_users_id_fk",
1073
+ "tableFrom": "astro_houses",
1074
+ "tableTo": "users",
1075
+ "columnsFrom": [
1076
+ "user_id"
1077
+ ],
1078
+ "columnsTo": [
1079
+ "id"
1080
+ ],
1081
+ "onDelete": "cascade",
1082
+ "onUpdate": "no action"
1083
+ }
1084
+ },
1085
+ "compositePrimaryKeys": {},
1086
+ "uniqueConstraints": {},
1087
+ "checkConstraints": {}
1088
+ },
1089
+ "astro_planets": {
1090
+ "name": "astro_planets",
1091
+ "columns": {
1092
+ "id": {
1093
+ "name": "id",
1094
+ "type": "text",
1095
+ "primaryKey": true,
1096
+ "notNull": true,
1097
+ "autoincrement": false
1098
+ },
1099
+ "user_id": {
1100
+ "name": "user_id",
1101
+ "type": "text",
1102
+ "primaryKey": false,
1103
+ "notNull": true,
1104
+ "autoincrement": false
1105
+ },
1106
+ "type": {
1107
+ "name": "type",
1108
+ "type": "text",
1109
+ "primaryKey": false,
1110
+ "notNull": true,
1111
+ "autoincrement": false
1112
+ },
1113
+ "name": {
1114
+ "name": "name",
1115
+ "type": "text",
1116
+ "primaryKey": false,
1117
+ "notNull": true,
1118
+ "autoincrement": false
1119
+ },
1120
+ "sign": {
1121
+ "name": "sign",
1122
+ "type": "text",
1123
+ "primaryKey": false,
1124
+ "notNull": true,
1125
+ "autoincrement": false
1126
+ },
1127
+ "house": {
1128
+ "name": "house",
1129
+ "type": "integer",
1130
+ "primaryKey": false,
1131
+ "notNull": false,
1132
+ "autoincrement": false
1133
+ },
1134
+ "full_degree": {
1135
+ "name": "full_degree",
1136
+ "type": "real",
1137
+ "primaryKey": false,
1138
+ "notNull": false,
1139
+ "autoincrement": false
1140
+ },
1141
+ "norm_degree": {
1142
+ "name": "norm_degree",
1143
+ "type": "real",
1144
+ "primaryKey": false,
1145
+ "notNull": false,
1146
+ "autoincrement": false
1147
+ },
1148
+ "speed": {
1149
+ "name": "speed",
1150
+ "type": "real",
1151
+ "primaryKey": false,
1152
+ "notNull": false,
1153
+ "autoincrement": false
1154
+ },
1155
+ "is_retro": {
1156
+ "name": "is_retro",
1157
+ "type": "integer",
1158
+ "primaryKey": false,
1159
+ "notNull": false,
1160
+ "autoincrement": false
1161
+ }
1162
+ },
1163
+ "indexes": {
1164
+ "astro_planets_user_id_idx": {
1165
+ "name": "astro_planets_user_id_idx",
1166
+ "columns": [
1167
+ "user_id"
1168
+ ],
1169
+ "isUnique": false
1170
+ }
1171
+ },
1172
+ "foreignKeys": {
1173
+ "astro_planets_user_id_users_id_fk": {
1174
+ "name": "astro_planets_user_id_users_id_fk",
1175
+ "tableFrom": "astro_planets",
1176
+ "tableTo": "users",
1177
+ "columnsFrom": [
1178
+ "user_id"
1179
+ ],
1180
+ "columnsTo": [
1181
+ "id"
1182
+ ],
1183
+ "onDelete": "cascade",
1184
+ "onUpdate": "no action"
1185
+ }
1186
+ },
1187
+ "compositePrimaryKeys": {},
1188
+ "uniqueConstraints": {},
1189
+ "checkConstraints": {}
1190
+ },
1191
+ "astro_reports": {
1192
+ "name": "astro_reports",
1193
+ "columns": {
1194
+ "id": {
1195
+ "name": "id",
1196
+ "type": "text",
1197
+ "primaryKey": true,
1198
+ "notNull": true,
1199
+ "autoincrement": false
1200
+ },
1201
+ "type": {
1202
+ "name": "type",
1203
+ "type": "text",
1204
+ "primaryKey": false,
1205
+ "notNull": true,
1206
+ "autoincrement": false
1207
+ },
1208
+ "name": {
1209
+ "name": "name",
1210
+ "type": "text",
1211
+ "primaryKey": false,
1212
+ "notNull": true,
1213
+ "autoincrement": false
1214
+ },
1215
+ "sign": {
1216
+ "name": "sign",
1217
+ "type": "text",
1218
+ "primaryKey": false,
1219
+ "notNull": false,
1220
+ "autoincrement": false
1221
+ },
1222
+ "house": {
1223
+ "name": "house",
1224
+ "type": "integer",
1225
+ "primaryKey": false,
1226
+ "notNull": false,
1227
+ "autoincrement": false
1228
+ },
1229
+ "description_template_id": {
1230
+ "name": "description_template_id",
1231
+ "type": "text",
1232
+ "primaryKey": false,
1233
+ "notNull": false,
1234
+ "autoincrement": false
1235
+ },
1236
+ "en_report": {
1237
+ "name": "en_report",
1238
+ "type": "text",
1239
+ "primaryKey": false,
1240
+ "notNull": false,
1241
+ "autoincrement": false
1242
+ },
1243
+ "pt_report": {
1244
+ "name": "pt_report",
1245
+ "type": "text",
1246
+ "primaryKey": false,
1247
+ "notNull": false,
1248
+ "autoincrement": false
1249
+ },
1250
+ "created_at": {
1251
+ "name": "created_at",
1252
+ "type": "integer",
1253
+ "primaryKey": false,
1254
+ "notNull": false,
1255
+ "autoincrement": false,
1256
+ "default": "CURRENT_TIMESTAMP"
1257
+ },
1258
+ "updated_at": {
1259
+ "name": "updated_at",
1260
+ "type": "integer",
1261
+ "primaryKey": false,
1262
+ "notNull": false,
1263
+ "autoincrement": false,
1264
+ "default": "CURRENT_TIMESTAMP"
1265
+ }
1266
+ },
1267
+ "indexes": {
1268
+ "astro_reports_type_idx": {
1269
+ "name": "astro_reports_type_idx",
1270
+ "columns": [
1271
+ "type"
1272
+ ],
1273
+ "isUnique": false
1274
+ },
1275
+ "astro_reports_name_sign_idx": {
1276
+ "name": "astro_reports_name_sign_idx",
1277
+ "columns": [
1278
+ "name",
1279
+ "sign"
1280
+ ],
1281
+ "isUnique": false
1282
+ },
1283
+ "astro_reports_name_house_idx": {
1284
+ "name": "astro_reports_name_house_idx",
1285
+ "columns": [
1286
+ "name",
1287
+ "house"
1288
+ ],
1289
+ "isUnique": false
1290
+ }
1291
+ },
1292
+ "foreignKeys": {
1293
+ "astro_reports_description_template_id_astro_description_templates_id_fk": {
1294
+ "name": "astro_reports_description_template_id_astro_description_templates_id_fk",
1295
+ "tableFrom": "astro_reports",
1296
+ "tableTo": "astro_description_templates",
1297
+ "columnsFrom": [
1298
+ "description_template_id"
1299
+ ],
1300
+ "columnsTo": [
1301
+ "id"
1302
+ ],
1303
+ "onDelete": "set null",
1304
+ "onUpdate": "no action"
1305
+ }
1306
+ },
1307
+ "compositePrimaryKeys": {},
1308
+ "uniqueConstraints": {},
1309
+ "checkConstraints": {}
1310
+ },
1311
+ "concept_combinations": {
1312
+ "name": "concept_combinations",
1313
+ "columns": {
1314
+ "id": {
1315
+ "name": "id",
1316
+ "type": "text",
1317
+ "primaryKey": true,
1318
+ "notNull": true,
1319
+ "autoincrement": false
1320
+ },
1321
+ "concept_id": {
1322
+ "name": "concept_id",
1323
+ "type": "text",
1324
+ "primaryKey": false,
1325
+ "notNull": true,
1326
+ "autoincrement": false
1327
+ },
1328
+ "planet1_sign": {
1329
+ "name": "planet1_sign",
1330
+ "type": "text",
1331
+ "primaryKey": false,
1332
+ "notNull": true,
1333
+ "autoincrement": false
1334
+ },
1335
+ "planet2_sign": {
1336
+ "name": "planet2_sign",
1337
+ "type": "text",
1338
+ "primaryKey": false,
1339
+ "notNull": true,
1340
+ "autoincrement": false
1341
+ },
1342
+ "planet3_sign": {
1343
+ "name": "planet3_sign",
1344
+ "type": "text",
1345
+ "primaryKey": false,
1346
+ "notNull": true,
1347
+ "autoincrement": false
1348
+ },
1349
+ "combination_string": {
1350
+ "name": "combination_string",
1351
+ "type": "text",
1352
+ "primaryKey": false,
1353
+ "notNull": true,
1354
+ "autoincrement": false
1355
+ }
1356
+ },
1357
+ "indexes": {
1358
+ "concept_combinations_unique_combination_idx": {
1359
+ "name": "concept_combinations_unique_combination_idx",
1360
+ "columns": [
1361
+ "concept_id",
1362
+ "combination_string"
1363
+ ],
1364
+ "isUnique": false
1365
+ }
1366
+ },
1367
+ "foreignKeys": {
1368
+ "concept_combinations_concept_id_concepts_id_fk": {
1369
+ "name": "concept_combinations_concept_id_concepts_id_fk",
1370
+ "tableFrom": "concept_combinations",
1371
+ "tableTo": "concepts",
1372
+ "columnsFrom": [
1373
+ "concept_id"
1374
+ ],
1375
+ "columnsTo": [
1376
+ "id"
1377
+ ],
1378
+ "onDelete": "cascade",
1379
+ "onUpdate": "no action"
1380
+ }
1381
+ },
1382
+ "compositePrimaryKeys": {},
1383
+ "uniqueConstraints": {},
1384
+ "checkConstraints": {}
1385
+ },
1386
+ "concepts": {
1387
+ "name": "concepts",
1388
+ "columns": {
1389
+ "id": {
1390
+ "name": "id",
1391
+ "type": "text",
1392
+ "primaryKey": true,
1393
+ "notNull": true,
1394
+ "autoincrement": false
1395
+ },
1396
+ "name": {
1397
+ "name": "name",
1398
+ "type": "text",
1399
+ "primaryKey": false,
1400
+ "notNull": true,
1401
+ "autoincrement": false
1402
+ },
1403
+ "slug": {
1404
+ "name": "slug",
1405
+ "type": "text",
1406
+ "primaryKey": false,
1407
+ "notNull": true,
1408
+ "autoincrement": false
1409
+ },
1410
+ "planet1": {
1411
+ "name": "planet1",
1412
+ "type": "text",
1413
+ "primaryKey": false,
1414
+ "notNull": true,
1415
+ "autoincrement": false
1416
+ },
1417
+ "planet2": {
1418
+ "name": "planet2",
1419
+ "type": "text",
1420
+ "primaryKey": false,
1421
+ "notNull": true,
1422
+ "autoincrement": false
1423
+ },
1424
+ "planet3": {
1425
+ "name": "planet3",
1426
+ "type": "text",
1427
+ "primaryKey": false,
1428
+ "notNull": true,
1429
+ "autoincrement": false
1430
+ }
1431
+ },
1432
+ "indexes": {
1433
+ "concepts_name_idx": {
1434
+ "name": "concepts_name_idx",
1435
+ "columns": [
1436
+ "name"
1437
+ ],
1438
+ "isUnique": false
1439
+ }
1440
+ },
1441
+ "foreignKeys": {},
1442
+ "compositePrimaryKeys": {},
1443
+ "uniqueConstraints": {},
1444
+ "checkConstraints": {}
1445
+ },
1446
+ "concepts_data": {
1447
+ "name": "concepts_data",
1448
+ "columns": {
1449
+ "id": {
1450
+ "name": "id",
1451
+ "type": "text",
1452
+ "primaryKey": true,
1453
+ "notNull": true,
1454
+ "autoincrement": false
1455
+ },
1456
+ "language": {
1457
+ "name": "language",
1458
+ "type": "text",
1459
+ "primaryKey": false,
1460
+ "notNull": true,
1461
+ "autoincrement": false
1462
+ },
1463
+ "concept_slug": {
1464
+ "name": "concept_slug",
1465
+ "type": "text",
1466
+ "primaryKey": false,
1467
+ "notNull": true,
1468
+ "autoincrement": false
1469
+ },
1470
+ "combination": {
1471
+ "name": "combination",
1472
+ "type": "text",
1473
+ "primaryKey": false,
1474
+ "notNull": true,
1475
+ "autoincrement": false
1476
+ },
1477
+ "name": {
1478
+ "name": "name",
1479
+ "type": "text",
1480
+ "primaryKey": false,
1481
+ "notNull": true,
1482
+ "autoincrement": false
1483
+ },
1484
+ "description": {
1485
+ "name": "description",
1486
+ "type": "text",
1487
+ "primaryKey": false,
1488
+ "notNull": true,
1489
+ "autoincrement": false
1490
+ },
1491
+ "content": {
1492
+ "name": "content",
1493
+ "type": "text",
1494
+ "primaryKey": false,
1495
+ "notNull": true,
1496
+ "autoincrement": false,
1497
+ "default": "'[]'"
1498
+ },
1499
+ "poem": {
1500
+ "name": "poem",
1501
+ "type": "text",
1502
+ "primaryKey": false,
1503
+ "notNull": true,
1504
+ "autoincrement": false,
1505
+ "default": "'[]'"
1506
+ },
1507
+ "leonardo_prompt": {
1508
+ "name": "leonardo_prompt",
1509
+ "type": "text",
1510
+ "primaryKey": false,
1511
+ "notNull": false,
1512
+ "autoincrement": false
1513
+ },
1514
+ "post_images": {
1515
+ "name": "post_images",
1516
+ "type": "text",
1517
+ "primaryKey": false,
1518
+ "notNull": false,
1519
+ "autoincrement": false,
1520
+ "default": "'[]'"
1521
+ },
1522
+ "framed_images": {
1523
+ "name": "framed_images",
1524
+ "type": "text",
1525
+ "primaryKey": false,
1526
+ "notNull": false,
1527
+ "autoincrement": false,
1528
+ "default": "'[]'"
1529
+ },
1530
+ "reel_images": {
1531
+ "name": "reel_images",
1532
+ "type": "text",
1533
+ "primaryKey": false,
1534
+ "notNull": false,
1535
+ "autoincrement": false,
1536
+ "default": "'[]'"
1537
+ },
1538
+ "status": {
1539
+ "name": "status",
1540
+ "type": "text",
1541
+ "primaryKey": false,
1542
+ "notNull": false,
1543
+ "autoincrement": false,
1544
+ "default": "'idle'"
1545
+ },
1546
+ "created_at": {
1547
+ "name": "created_at",
1548
+ "type": "integer",
1549
+ "primaryKey": false,
1550
+ "notNull": false,
1551
+ "autoincrement": false,
1552
+ "default": "CURRENT_TIMESTAMP"
1553
+ },
1554
+ "updated_at": {
1555
+ "name": "updated_at",
1556
+ "type": "integer",
1557
+ "primaryKey": false,
1558
+ "notNull": false,
1559
+ "autoincrement": false,
1560
+ "default": "CURRENT_TIMESTAMP"
1561
+ }
1562
+ },
1563
+ "indexes": {
1564
+ "concepts_data_language_idx": {
1565
+ "name": "concepts_data_language_idx",
1566
+ "columns": [
1567
+ "language"
1568
+ ],
1569
+ "isUnique": false
1570
+ },
1571
+ "concepts_data_concept_slug_idx": {
1572
+ "name": "concepts_data_concept_slug_idx",
1573
+ "columns": [
1574
+ "concept_slug"
1575
+ ],
1576
+ "isUnique": false
1577
+ },
1578
+ "concepts_data_combination_idx": {
1579
+ "name": "concepts_data_combination_idx",
1580
+ "columns": [
1581
+ "combination"
1582
+ ],
1583
+ "isUnique": false
1584
+ },
1585
+ "concepts_data_name_idx": {
1586
+ "name": "concepts_data_name_idx",
1587
+ "columns": [
1588
+ "name"
1589
+ ],
1590
+ "isUnique": false
1591
+ }
1592
+ },
1593
+ "foreignKeys": {},
1594
+ "compositePrimaryKeys": {},
1595
+ "uniqueConstraints": {},
1596
+ "checkConstraints": {}
1597
+ },
1598
+ "cosmic_mirror_images": {
1599
+ "name": "cosmic_mirror_images",
1600
+ "columns": {
1601
+ "id": {
1602
+ "name": "id",
1603
+ "type": "text",
1604
+ "primaryKey": true,
1605
+ "notNull": true,
1606
+ "autoincrement": false
1607
+ },
1608
+ "user_artifact_id": {
1609
+ "name": "user_artifact_id",
1610
+ "type": "text",
1611
+ "primaryKey": false,
1612
+ "notNull": true,
1613
+ "autoincrement": false
1614
+ },
1615
+ "leonardo_id": {
1616
+ "name": "leonardo_id",
1617
+ "type": "text",
1618
+ "primaryKey": false,
1619
+ "notNull": true,
1620
+ "autoincrement": false
1621
+ },
1622
+ "url": {
1623
+ "name": "url",
1624
+ "type": "text",
1625
+ "primaryKey": false,
1626
+ "notNull": true,
1627
+ "autoincrement": false
1628
+ },
1629
+ "width": {
1630
+ "name": "width",
1631
+ "type": "integer",
1632
+ "primaryKey": false,
1633
+ "notNull": true,
1634
+ "autoincrement": false
1635
+ },
1636
+ "height": {
1637
+ "name": "height",
1638
+ "type": "integer",
1639
+ "primaryKey": false,
1640
+ "notNull": true,
1641
+ "autoincrement": false
1642
+ },
1643
+ "generation_type": {
1644
+ "name": "generation_type",
1645
+ "type": "text",
1646
+ "primaryKey": false,
1647
+ "notNull": true,
1648
+ "autoincrement": false
1649
+ },
1650
+ "timestamp": {
1651
+ "name": "timestamp",
1652
+ "type": "integer",
1653
+ "primaryKey": false,
1654
+ "notNull": true,
1655
+ "autoincrement": false
1656
+ },
1657
+ "created_at": {
1658
+ "name": "created_at",
1659
+ "type": "integer",
1660
+ "primaryKey": false,
1661
+ "notNull": true,
1662
+ "autoincrement": false,
1663
+ "default": "CURRENT_TIMESTAMP"
1664
+ },
1665
+ "updated_at": {
1666
+ "name": "updated_at",
1667
+ "type": "integer",
1668
+ "primaryKey": false,
1669
+ "notNull": true,
1670
+ "autoincrement": false,
1671
+ "default": "CURRENT_TIMESTAMP"
1672
+ }
1673
+ },
1674
+ "indexes": {
1675
+ "cosmic_mirror_images_user_artifact_idx": {
1676
+ "name": "cosmic_mirror_images_user_artifact_idx",
1677
+ "columns": [
1678
+ "user_artifact_id"
1679
+ ],
1680
+ "isUnique": false
1681
+ },
1682
+ "cosmic_mirror_images_type_idx": {
1683
+ "name": "cosmic_mirror_images_type_idx",
1684
+ "columns": [
1685
+ "generation_type"
1686
+ ],
1687
+ "isUnique": false
1688
+ }
1689
+ },
1690
+ "foreignKeys": {
1691
+ "cosmic_mirror_images_user_artifact_id_user_artifacts_id_fk": {
1692
+ "name": "cosmic_mirror_images_user_artifact_id_user_artifacts_id_fk",
1693
+ "tableFrom": "cosmic_mirror_images",
1694
+ "tableTo": "user_artifacts",
1695
+ "columnsFrom": [
1696
+ "user_artifact_id"
1697
+ ],
1698
+ "columnsTo": [
1699
+ "id"
1700
+ ],
1701
+ "onDelete": "cascade",
1702
+ "onUpdate": "no action"
1703
+ }
1704
+ },
1705
+ "compositePrimaryKeys": {},
1706
+ "uniqueConstraints": {},
1707
+ "checkConstraints": {}
1708
+ },
1709
+ "credits_transactions": {
1710
+ "name": "credits_transactions",
1711
+ "columns": {
1712
+ "id": {
1713
+ "name": "id",
1714
+ "type": "text",
1715
+ "primaryKey": true,
1716
+ "notNull": true,
1717
+ "autoincrement": false
1718
+ },
1719
+ "user_id": {
1720
+ "name": "user_id",
1721
+ "type": "text",
1722
+ "primaryKey": false,
1723
+ "notNull": true,
1724
+ "autoincrement": false
1725
+ },
1726
+ "type": {
1727
+ "name": "type",
1728
+ "type": "text",
1729
+ "primaryKey": false,
1730
+ "notNull": true,
1731
+ "autoincrement": false
1732
+ },
1733
+ "amount": {
1734
+ "name": "amount",
1735
+ "type": "integer",
1736
+ "primaryKey": false,
1737
+ "notNull": true,
1738
+ "autoincrement": false
1739
+ },
1740
+ "description": {
1741
+ "name": "description",
1742
+ "type": "text",
1743
+ "primaryKey": false,
1744
+ "notNull": false,
1745
+ "autoincrement": false
1746
+ },
1747
+ "product_type": {
1748
+ "name": "product_type",
1749
+ "type": "text",
1750
+ "primaryKey": false,
1751
+ "notNull": false,
1752
+ "autoincrement": false
1753
+ },
1754
+ "product_id": {
1755
+ "name": "product_id",
1756
+ "type": "text",
1757
+ "primaryKey": false,
1758
+ "notNull": false,
1759
+ "autoincrement": false
1760
+ },
1761
+ "payment_id": {
1762
+ "name": "payment_id",
1763
+ "type": "text",
1764
+ "primaryKey": false,
1765
+ "notNull": true,
1766
+ "autoincrement": false
1767
+ },
1768
+ "created_at": {
1769
+ "name": "created_at",
1770
+ "type": "integer",
1771
+ "primaryKey": false,
1772
+ "notNull": true,
1773
+ "autoincrement": false,
1774
+ "default": "CURRENT_TIMESTAMP"
1775
+ },
1776
+ "updated_at": {
1777
+ "name": "updated_at",
1778
+ "type": "integer",
1779
+ "primaryKey": false,
1780
+ "notNull": true,
1781
+ "autoincrement": false,
1782
+ "default": "CURRENT_TIMESTAMP"
1783
+ }
1784
+ },
1785
+ "indexes": {
1786
+ "credits_transactions_user_id_idx": {
1787
+ "name": "credits_transactions_user_id_idx",
1788
+ "columns": [
1789
+ "user_id"
1790
+ ],
1791
+ "isUnique": false
1792
+ }
1793
+ },
1794
+ "foreignKeys": {
1795
+ "credits_transactions_user_id_users_id_fk": {
1796
+ "name": "credits_transactions_user_id_users_id_fk",
1797
+ "tableFrom": "credits_transactions",
1798
+ "tableTo": "users",
1799
+ "columnsFrom": [
1800
+ "user_id"
1801
+ ],
1802
+ "columnsTo": [
1803
+ "id"
1804
+ ],
1805
+ "onDelete": "cascade",
1806
+ "onUpdate": "no action"
1807
+ }
1808
+ },
1809
+ "compositePrimaryKeys": {},
1810
+ "uniqueConstraints": {},
1811
+ "checkConstraints": {}
1812
+ },
1813
+ "generations": {
1814
+ "name": "generations",
1815
+ "columns": {
1816
+ "id": {
1817
+ "name": "id",
1818
+ "type": "text",
1819
+ "primaryKey": true,
1820
+ "notNull": true,
1821
+ "autoincrement": false
1822
+ },
1823
+ "user_id": {
1824
+ "name": "user_id",
1825
+ "type": "text",
1826
+ "primaryKey": false,
1827
+ "notNull": false,
1828
+ "autoincrement": false
1829
+ },
1830
+ "artifact_id": {
1831
+ "name": "artifact_id",
1832
+ "type": "text",
1833
+ "primaryKey": false,
1834
+ "notNull": false,
1835
+ "autoincrement": false
1836
+ },
1837
+ "archetype_index": {
1838
+ "name": "archetype_index",
1839
+ "type": "integer",
1840
+ "primaryKey": false,
1841
+ "notNull": false,
1842
+ "autoincrement": false
1843
+ },
1844
+ "user_artifact_id": {
1845
+ "name": "user_artifact_id",
1846
+ "type": "text",
1847
+ "primaryKey": false,
1848
+ "notNull": false,
1849
+ "autoincrement": false
1850
+ },
1851
+ "gender": {
1852
+ "name": "gender",
1853
+ "type": "text",
1854
+ "primaryKey": false,
1855
+ "notNull": false,
1856
+ "autoincrement": false
1857
+ },
1858
+ "concept_combination_id": {
1859
+ "name": "concept_combination_id",
1860
+ "type": "text",
1861
+ "primaryKey": false,
1862
+ "notNull": false,
1863
+ "autoincrement": false
1864
+ },
1865
+ "archetype_data_id": {
1866
+ "name": "archetype_data_id",
1867
+ "type": "text",
1868
+ "primaryKey": false,
1869
+ "notNull": false,
1870
+ "autoincrement": false
1871
+ },
1872
+ "type": {
1873
+ "name": "type",
1874
+ "type": "text",
1875
+ "primaryKey": false,
1876
+ "notNull": true,
1877
+ "autoincrement": false
1878
+ },
1879
+ "status": {
1880
+ "name": "status",
1881
+ "type": "text",
1882
+ "primaryKey": false,
1883
+ "notNull": true,
1884
+ "autoincrement": false,
1885
+ "default": "'pending'"
1886
+ },
1887
+ "url": {
1888
+ "name": "url",
1889
+ "type": "text",
1890
+ "primaryKey": false,
1891
+ "notNull": false,
1892
+ "autoincrement": false
1893
+ },
1894
+ "created_at": {
1895
+ "name": "created_at",
1896
+ "type": "integer",
1897
+ "primaryKey": false,
1898
+ "notNull": true,
1899
+ "autoincrement": false,
1900
+ "default": "CURRENT_TIMESTAMP"
1901
+ },
1902
+ "updated_at": {
1903
+ "name": "updated_at",
1904
+ "type": "integer",
1905
+ "primaryKey": false,
1906
+ "notNull": true,
1907
+ "autoincrement": false,
1908
+ "default": "CURRENT_TIMESTAMP"
1909
+ }
1910
+ },
1911
+ "indexes": {
1912
+ "generations_user_id_idx": {
1913
+ "name": "generations_user_id_idx",
1914
+ "columns": [
1915
+ "user_id"
1916
+ ],
1917
+ "isUnique": false
1918
+ },
1919
+ "generations_concept_combination_id_idx": {
1920
+ "name": "generations_concept_combination_id_idx",
1921
+ "columns": [
1922
+ "concept_combination_id"
1923
+ ],
1924
+ "isUnique": false
1925
+ },
1926
+ "generations_archetype_index_idx": {
1927
+ "name": "generations_archetype_index_idx",
1928
+ "columns": [
1929
+ "archetype_index"
1930
+ ],
1931
+ "isUnique": false
1932
+ },
1933
+ "generations_archetype_data_id_idx": {
1934
+ "name": "generations_archetype_data_id_idx",
1935
+ "columns": [
1936
+ "archetype_data_id"
1937
+ ],
1938
+ "isUnique": false
1939
+ }
1940
+ },
1941
+ "foreignKeys": {
1942
+ "generations_user_id_users_id_fk": {
1943
+ "name": "generations_user_id_users_id_fk",
1944
+ "tableFrom": "generations",
1945
+ "tableTo": "users",
1946
+ "columnsFrom": [
1947
+ "user_id"
1948
+ ],
1949
+ "columnsTo": [
1950
+ "id"
1951
+ ],
1952
+ "onDelete": "cascade",
1953
+ "onUpdate": "no action"
1954
+ },
1955
+ "generations_artifact_id_artifacts_id_fk": {
1956
+ "name": "generations_artifact_id_artifacts_id_fk",
1957
+ "tableFrom": "generations",
1958
+ "tableTo": "artifacts",
1959
+ "columnsFrom": [
1960
+ "artifact_id"
1961
+ ],
1962
+ "columnsTo": [
1963
+ "id"
1964
+ ],
1965
+ "onDelete": "cascade",
1966
+ "onUpdate": "no action"
1967
+ },
1968
+ "generations_user_artifact_id_user_artifacts_id_fk": {
1969
+ "name": "generations_user_artifact_id_user_artifacts_id_fk",
1970
+ "tableFrom": "generations",
1971
+ "tableTo": "user_artifacts",
1972
+ "columnsFrom": [
1973
+ "user_artifact_id"
1974
+ ],
1975
+ "columnsTo": [
1976
+ "id"
1977
+ ],
1978
+ "onDelete": "cascade",
1979
+ "onUpdate": "no action"
1980
+ },
1981
+ "generations_concept_combination_id_concept_combinations_id_fk": {
1982
+ "name": "generations_concept_combination_id_concept_combinations_id_fk",
1983
+ "tableFrom": "generations",
1984
+ "tableTo": "concept_combinations",
1985
+ "columnsFrom": [
1986
+ "concept_combination_id"
1987
+ ],
1988
+ "columnsTo": [
1989
+ "id"
1990
+ ],
1991
+ "onDelete": "cascade",
1992
+ "onUpdate": "no action"
1993
+ },
1994
+ "generations_archetype_data_id_archetypes_data_id_fk": {
1995
+ "name": "generations_archetype_data_id_archetypes_data_id_fk",
1996
+ "tableFrom": "generations",
1997
+ "tableTo": "archetypes_data",
1998
+ "columnsFrom": [
1999
+ "archetype_data_id"
2000
+ ],
2001
+ "columnsTo": [
2002
+ "id"
2003
+ ],
2004
+ "onDelete": "cascade",
2005
+ "onUpdate": "no action"
2006
+ }
2007
+ },
2008
+ "compositePrimaryKeys": {},
2009
+ "uniqueConstraints": {},
2010
+ "checkConstraints": {}
2011
+ },
2012
+ "house_reports": {
2013
+ "name": "house_reports",
2014
+ "columns": {
2015
+ "id": {
2016
+ "name": "id",
2017
+ "type": "text",
2018
+ "primaryKey": true,
2019
+ "notNull": true,
2020
+ "autoincrement": false
2021
+ },
2022
+ "sign": {
2023
+ "name": "sign",
2024
+ "type": "text",
2025
+ "primaryKey": false,
2026
+ "notNull": true,
2027
+ "autoincrement": false
2028
+ },
2029
+ "house": {
2030
+ "name": "house",
2031
+ "type": "integer",
2032
+ "primaryKey": false,
2033
+ "notNull": true,
2034
+ "autoincrement": false
2035
+ },
2036
+ "description_template_id": {
2037
+ "name": "description_template_id",
2038
+ "type": "text",
2039
+ "primaryKey": false,
2040
+ "notNull": false,
2041
+ "autoincrement": false
2042
+ },
2043
+ "en_report": {
2044
+ "name": "en_report",
2045
+ "type": "text",
2046
+ "primaryKey": false,
2047
+ "notNull": false,
2048
+ "autoincrement": false
2049
+ },
2050
+ "pt_report": {
2051
+ "name": "pt_report",
2052
+ "type": "text",
2053
+ "primaryKey": false,
2054
+ "notNull": false,
2055
+ "autoincrement": false
2056
+ },
2057
+ "created_at": {
2058
+ "name": "created_at",
2059
+ "type": "integer",
2060
+ "primaryKey": false,
2061
+ "notNull": false,
2062
+ "autoincrement": false,
2063
+ "default": "CURRENT_TIMESTAMP"
2064
+ },
2065
+ "updated_at": {
2066
+ "name": "updated_at",
2067
+ "type": "integer",
2068
+ "primaryKey": false,
2069
+ "notNull": false,
2070
+ "autoincrement": false,
2071
+ "default": "CURRENT_TIMESTAMP"
2072
+ }
2073
+ },
2074
+ "indexes": {
2075
+ "house_reports_sign_house_idx": {
2076
+ "name": "house_reports_sign_house_idx",
2077
+ "columns": [
2078
+ "sign",
2079
+ "house"
2080
+ ],
2081
+ "isUnique": false
2082
+ },
2083
+ "house_reports_description_template_idx": {
2084
+ "name": "house_reports_description_template_idx",
2085
+ "columns": [
2086
+ "description_template_id"
2087
+ ],
2088
+ "isUnique": false
2089
+ }
2090
+ },
2091
+ "foreignKeys": {
2092
+ "house_reports_description_template_id_astro_description_templates_id_fk": {
2093
+ "name": "house_reports_description_template_id_astro_description_templates_id_fk",
2094
+ "tableFrom": "house_reports",
2095
+ "tableTo": "astro_description_templates",
2096
+ "columnsFrom": [
2097
+ "description_template_id"
2098
+ ],
2099
+ "columnsTo": [
2100
+ "id"
2101
+ ],
2102
+ "onDelete": "set null",
2103
+ "onUpdate": "no action"
2104
+ }
2105
+ },
2106
+ "compositePrimaryKeys": {},
2107
+ "uniqueConstraints": {},
2108
+ "checkConstraints": {}
2109
+ },
2110
+ "logs": {
2111
+ "name": "logs",
2112
+ "columns": {
2113
+ "id": {
2114
+ "name": "id",
2115
+ "type": "text",
2116
+ "primaryKey": true,
2117
+ "notNull": true,
2118
+ "autoincrement": false
2119
+ },
2120
+ "level": {
2121
+ "name": "level",
2122
+ "type": "text",
2123
+ "primaryKey": false,
2124
+ "notNull": true,
2125
+ "autoincrement": false
2126
+ },
2127
+ "message": {
2128
+ "name": "message",
2129
+ "type": "text",
2130
+ "primaryKey": false,
2131
+ "notNull": true,
2132
+ "autoincrement": false
2133
+ },
2134
+ "context": {
2135
+ "name": "context",
2136
+ "type": "text",
2137
+ "primaryKey": false,
2138
+ "notNull": true,
2139
+ "autoincrement": false,
2140
+ "default": "'{}'"
2141
+ },
2142
+ "created_at": {
2143
+ "name": "created_at",
2144
+ "type": "integer",
2145
+ "primaryKey": false,
2146
+ "notNull": false,
2147
+ "autoincrement": false,
2148
+ "default": "CURRENT_TIMESTAMP"
2149
+ }
2150
+ },
2151
+ "indexes": {},
2152
+ "foreignKeys": {},
2153
+ "compositePrimaryKeys": {},
2154
+ "uniqueConstraints": {},
2155
+ "checkConstraints": {}
2156
+ },
2157
+ "payments": {
2158
+ "name": "payments",
2159
+ "columns": {
2160
+ "id": {
2161
+ "name": "id",
2162
+ "type": "text",
2163
+ "primaryKey": true,
2164
+ "notNull": true,
2165
+ "autoincrement": false
2166
+ },
2167
+ "user_id": {
2168
+ "name": "user_id",
2169
+ "type": "text",
2170
+ "primaryKey": false,
2171
+ "notNull": true,
2172
+ "autoincrement": false
2173
+ },
2174
+ "checkout_id": {
2175
+ "name": "checkout_id",
2176
+ "type": "text",
2177
+ "primaryKey": false,
2178
+ "notNull": true,
2179
+ "autoincrement": false
2180
+ },
2181
+ "amount": {
2182
+ "name": "amount",
2183
+ "type": "real",
2184
+ "primaryKey": false,
2185
+ "notNull": true,
2186
+ "autoincrement": false
2187
+ },
2188
+ "status": {
2189
+ "name": "status",
2190
+ "type": "text",
2191
+ "primaryKey": false,
2192
+ "notNull": true,
2193
+ "autoincrement": false,
2194
+ "default": "'pending'"
2195
+ },
2196
+ "created_at": {
2197
+ "name": "created_at",
2198
+ "type": "integer",
2199
+ "primaryKey": false,
2200
+ "notNull": true,
2201
+ "autoincrement": false,
2202
+ "default": "CURRENT_TIMESTAMP"
2203
+ },
2204
+ "updated_at": {
2205
+ "name": "updated_at",
2206
+ "type": "integer",
2207
+ "primaryKey": false,
2208
+ "notNull": true,
2209
+ "autoincrement": false,
2210
+ "default": "CURRENT_TIMESTAMP"
2211
+ }
2212
+ },
2213
+ "indexes": {
2214
+ "payments_checkout_id_unique": {
2215
+ "name": "payments_checkout_id_unique",
2216
+ "columns": [
2217
+ "checkout_id"
2218
+ ],
2219
+ "isUnique": true
2220
+ },
2221
+ "payments_user_id_idx": {
2222
+ "name": "payments_user_id_idx",
2223
+ "columns": [
2224
+ "user_id"
2225
+ ],
2226
+ "isUnique": false
2227
+ },
2228
+ "payments_checkout_id_idx": {
2229
+ "name": "payments_checkout_id_idx",
2230
+ "columns": [
2231
+ "checkout_id"
2232
+ ],
2233
+ "isUnique": false
2234
+ }
2235
+ },
2236
+ "foreignKeys": {
2237
+ "payments_user_id_users_id_fk": {
2238
+ "name": "payments_user_id_users_id_fk",
2239
+ "tableFrom": "payments",
2240
+ "tableTo": "users",
2241
+ "columnsFrom": [
2242
+ "user_id"
2243
+ ],
2244
+ "columnsTo": [
2245
+ "id"
2246
+ ],
2247
+ "onDelete": "cascade",
2248
+ "onUpdate": "no action"
2249
+ }
2250
+ },
2251
+ "compositePrimaryKeys": {},
2252
+ "uniqueConstraints": {},
2253
+ "checkConstraints": {}
2254
+ },
2255
+ "products": {
2256
+ "name": "products",
2257
+ "columns": {
2258
+ "id": {
2259
+ "name": "id",
2260
+ "type": "text",
2261
+ "primaryKey": true,
2262
+ "notNull": true,
2263
+ "autoincrement": false
2264
+ },
2265
+ "slug": {
2266
+ "name": "slug",
2267
+ "type": "text",
2268
+ "primaryKey": false,
2269
+ "notNull": true,
2270
+ "autoincrement": false
2271
+ },
2272
+ "price": {
2273
+ "name": "price",
2274
+ "type": "real",
2275
+ "primaryKey": false,
2276
+ "notNull": true,
2277
+ "autoincrement": false
2278
+ },
2279
+ "image_url": {
2280
+ "name": "image_url",
2281
+ "type": "text",
2282
+ "primaryKey": false,
2283
+ "notNull": false,
2284
+ "autoincrement": false
2285
+ },
2286
+ "image_base64": {
2287
+ "name": "image_base64",
2288
+ "type": "text",
2289
+ "primaryKey": false,
2290
+ "notNull": false,
2291
+ "autoincrement": false
2292
+ },
2293
+ "created_at": {
2294
+ "name": "created_at",
2295
+ "type": "integer",
2296
+ "primaryKey": false,
2297
+ "notNull": true,
2298
+ "autoincrement": false,
2299
+ "default": "CURRENT_TIMESTAMP"
2300
+ },
2301
+ "updated_at": {
2302
+ "name": "updated_at",
2303
+ "type": "integer",
2304
+ "primaryKey": false,
2305
+ "notNull": true,
2306
+ "autoincrement": false,
2307
+ "default": "CURRENT_TIMESTAMP"
2308
+ }
2309
+ },
2310
+ "indexes": {
2311
+ "products_slug_unique": {
2312
+ "name": "products_slug_unique",
2313
+ "columns": [
2314
+ "slug"
2315
+ ],
2316
+ "isUnique": true
2317
+ },
2318
+ "products_slug_idx": {
2319
+ "name": "products_slug_idx",
2320
+ "columns": [
2321
+ "slug"
2322
+ ],
2323
+ "isUnique": false
2324
+ }
2325
+ },
2326
+ "foreignKeys": {},
2327
+ "compositePrimaryKeys": {},
2328
+ "uniqueConstraints": {},
2329
+ "checkConstraints": {}
2330
+ },
2331
+ "tokens": {
2332
+ "name": "tokens",
2333
+ "columns": {
2334
+ "id": {
2335
+ "name": "id",
2336
+ "type": "text",
2337
+ "primaryKey": true,
2338
+ "notNull": true,
2339
+ "autoincrement": false
2340
+ },
2341
+ "user_id": {
2342
+ "name": "user_id",
2343
+ "type": "text",
2344
+ "primaryKey": false,
2345
+ "notNull": true,
2346
+ "autoincrement": false
2347
+ },
2348
+ "refresh_token": {
2349
+ "name": "refresh_token",
2350
+ "type": "text",
2351
+ "primaryKey": false,
2352
+ "notNull": true,
2353
+ "autoincrement": false
2354
+ },
2355
+ "expires_at": {
2356
+ "name": "expires_at",
2357
+ "type": "text",
2358
+ "primaryKey": false,
2359
+ "notNull": true,
2360
+ "autoincrement": false
2361
+ },
2362
+ "created_at": {
2363
+ "name": "created_at",
2364
+ "type": "integer",
2365
+ "primaryKey": false,
2366
+ "notNull": true,
2367
+ "autoincrement": false,
2368
+ "default": "CURRENT_TIMESTAMP"
2369
+ },
2370
+ "updated_at": {
2371
+ "name": "updated_at",
2372
+ "type": "integer",
2373
+ "primaryKey": false,
2374
+ "notNull": true,
2375
+ "autoincrement": false,
2376
+ "default": "CURRENT_TIMESTAMP"
2377
+ }
2378
+ },
2379
+ "indexes": {
2380
+ "tokens_refresh_token_unique": {
2381
+ "name": "tokens_refresh_token_unique",
2382
+ "columns": [
2383
+ "refresh_token"
2384
+ ],
2385
+ "isUnique": true
2386
+ },
2387
+ "tokens_user_id_idx": {
2388
+ "name": "tokens_user_id_idx",
2389
+ "columns": [
2390
+ "user_id"
2391
+ ],
2392
+ "isUnique": false
2393
+ }
2394
+ },
2395
+ "foreignKeys": {
2396
+ "tokens_user_id_users_id_fk": {
2397
+ "name": "tokens_user_id_users_id_fk",
2398
+ "tableFrom": "tokens",
2399
+ "tableTo": "users",
2400
+ "columnsFrom": [
2401
+ "user_id"
2402
+ ],
2403
+ "columnsTo": [
2404
+ "id"
2405
+ ],
2406
+ "onDelete": "cascade",
2407
+ "onUpdate": "no action"
2408
+ }
2409
+ },
2410
+ "compositePrimaryKeys": {},
2411
+ "uniqueConstraints": {},
2412
+ "checkConstraints": {}
2413
+ },
2414
+ "user_artifacts": {
2415
+ "name": "user_artifacts",
2416
+ "columns": {
2417
+ "id": {
2418
+ "name": "id",
2419
+ "type": "text",
2420
+ "primaryKey": true,
2421
+ "notNull": true,
2422
+ "autoincrement": false
2423
+ },
2424
+ "user_id": {
2425
+ "name": "user_id",
2426
+ "type": "text",
2427
+ "primaryKey": false,
2428
+ "notNull": true,
2429
+ "autoincrement": false
2430
+ },
2431
+ "user_concept_id": {
2432
+ "name": "user_concept_id",
2433
+ "type": "text",
2434
+ "primaryKey": false,
2435
+ "notNull": true,
2436
+ "autoincrement": false
2437
+ },
2438
+ "concept_id": {
2439
+ "name": "concept_id",
2440
+ "type": "text",
2441
+ "primaryKey": false,
2442
+ "notNull": true,
2443
+ "autoincrement": false
2444
+ },
2445
+ "artifact_id": {
2446
+ "name": "artifact_id",
2447
+ "type": "text",
2448
+ "primaryKey": false,
2449
+ "notNull": true,
2450
+ "autoincrement": false
2451
+ },
2452
+ "archetype_data_id": {
2453
+ "name": "archetype_data_id",
2454
+ "type": "text",
2455
+ "primaryKey": false,
2456
+ "notNull": false,
2457
+ "autoincrement": false
2458
+ },
2459
+ "post_images": {
2460
+ "name": "post_images",
2461
+ "type": "text",
2462
+ "primaryKey": false,
2463
+ "notNull": false,
2464
+ "autoincrement": false
2465
+ },
2466
+ "reel_images": {
2467
+ "name": "reel_images",
2468
+ "type": "text",
2469
+ "primaryKey": false,
2470
+ "notNull": false,
2471
+ "autoincrement": false
2472
+ },
2473
+ "chosen_image_url": {
2474
+ "name": "chosen_image_url",
2475
+ "type": "text",
2476
+ "primaryKey": false,
2477
+ "notNull": false,
2478
+ "autoincrement": false
2479
+ },
2480
+ "upscaled_image": {
2481
+ "name": "upscaled_image",
2482
+ "type": "text",
2483
+ "primaryKey": false,
2484
+ "notNull": false,
2485
+ "autoincrement": false
2486
+ },
2487
+ "framed_image_url": {
2488
+ "name": "framed_image_url",
2489
+ "type": "text",
2490
+ "primaryKey": false,
2491
+ "notNull": false,
2492
+ "autoincrement": false
2493
+ },
2494
+ "status": {
2495
+ "name": "status",
2496
+ "type": "text",
2497
+ "primaryKey": false,
2498
+ "notNull": true,
2499
+ "autoincrement": false,
2500
+ "default": "'pending'"
2501
+ },
2502
+ "version": {
2503
+ "name": "version",
2504
+ "type": "integer",
2505
+ "primaryKey": false,
2506
+ "notNull": true,
2507
+ "autoincrement": false,
2508
+ "default": 0
2509
+ },
2510
+ "created_at": {
2511
+ "name": "created_at",
2512
+ "type": "integer",
2513
+ "primaryKey": false,
2514
+ "notNull": true,
2515
+ "autoincrement": false,
2516
+ "default": "CURRENT_TIMESTAMP"
2517
+ },
2518
+ "updated_at": {
2519
+ "name": "updated_at",
2520
+ "type": "integer",
2521
+ "primaryKey": false,
2522
+ "notNull": true,
2523
+ "autoincrement": false,
2524
+ "default": "CURRENT_TIMESTAMP"
2525
+ }
2526
+ },
2527
+ "indexes": {
2528
+ "user_artifacts_user_id_idx": {
2529
+ "name": "user_artifacts_user_id_idx",
2530
+ "columns": [
2531
+ "user_id"
2532
+ ],
2533
+ "isUnique": false
2534
+ },
2535
+ "user_artifacts_artifact_id_idx": {
2536
+ "name": "user_artifacts_artifact_id_idx",
2537
+ "columns": [
2538
+ "artifact_id"
2539
+ ],
2540
+ "isUnique": false
2541
+ },
2542
+ "user_artifacts_status_idx": {
2543
+ "name": "user_artifacts_status_idx",
2544
+ "columns": [
2545
+ "status"
2546
+ ],
2547
+ "isUnique": false
2548
+ },
2549
+ "user_artifacts_archetype_data_id_idx": {
2550
+ "name": "user_artifacts_archetype_data_id_idx",
2551
+ "columns": [
2552
+ "archetype_data_id"
2553
+ ],
2554
+ "isUnique": false
2555
+ },
2556
+ "user_artifacts_concept_id_idx": {
2557
+ "name": "user_artifacts_concept_id_idx",
2558
+ "columns": [
2559
+ "concept_id"
2560
+ ],
2561
+ "isUnique": false
2562
+ }
2563
+ },
2564
+ "foreignKeys": {
2565
+ "user_artifacts_user_id_users_id_fk": {
2566
+ "name": "user_artifacts_user_id_users_id_fk",
2567
+ "tableFrom": "user_artifacts",
2568
+ "tableTo": "users",
2569
+ "columnsFrom": [
2570
+ "user_id"
2571
+ ],
2572
+ "columnsTo": [
2573
+ "id"
2574
+ ],
2575
+ "onDelete": "cascade",
2576
+ "onUpdate": "no action"
2577
+ },
2578
+ "user_artifacts_user_concept_id_user_concepts_id_fk": {
2579
+ "name": "user_artifacts_user_concept_id_user_concepts_id_fk",
2580
+ "tableFrom": "user_artifacts",
2581
+ "tableTo": "user_concepts",
2582
+ "columnsFrom": [
2583
+ "user_concept_id"
2584
+ ],
2585
+ "columnsTo": [
2586
+ "id"
2587
+ ],
2588
+ "onDelete": "cascade",
2589
+ "onUpdate": "no action"
2590
+ },
2591
+ "user_artifacts_concept_id_concepts_id_fk": {
2592
+ "name": "user_artifacts_concept_id_concepts_id_fk",
2593
+ "tableFrom": "user_artifacts",
2594
+ "tableTo": "concepts",
2595
+ "columnsFrom": [
2596
+ "concept_id"
2597
+ ],
2598
+ "columnsTo": [
2599
+ "id"
2600
+ ],
2601
+ "onDelete": "cascade",
2602
+ "onUpdate": "no action"
2603
+ },
2604
+ "user_artifacts_artifact_id_artifacts_id_fk": {
2605
+ "name": "user_artifacts_artifact_id_artifacts_id_fk",
2606
+ "tableFrom": "user_artifacts",
2607
+ "tableTo": "artifacts",
2608
+ "columnsFrom": [
2609
+ "artifact_id"
2610
+ ],
2611
+ "columnsTo": [
2612
+ "id"
2613
+ ],
2614
+ "onDelete": "cascade",
2615
+ "onUpdate": "no action"
2616
+ },
2617
+ "user_artifacts_archetype_data_id_archetypes_data_id_fk": {
2618
+ "name": "user_artifacts_archetype_data_id_archetypes_data_id_fk",
2619
+ "tableFrom": "user_artifacts",
2620
+ "tableTo": "archetypes_data",
2621
+ "columnsFrom": [
2622
+ "archetype_data_id"
2623
+ ],
2624
+ "columnsTo": [
2625
+ "id"
2626
+ ],
2627
+ "onDelete": "cascade",
2628
+ "onUpdate": "no action"
2629
+ }
2630
+ },
2631
+ "compositePrimaryKeys": {},
2632
+ "uniqueConstraints": {},
2633
+ "checkConstraints": {}
2634
+ },
2635
+ "user_concepts": {
2636
+ "name": "user_concepts",
2637
+ "columns": {
2638
+ "id": {
2639
+ "name": "id",
2640
+ "type": "text",
2641
+ "primaryKey": true,
2642
+ "notNull": true,
2643
+ "autoincrement": false
2644
+ },
2645
+ "user_id": {
2646
+ "name": "user_id",
2647
+ "type": "text",
2648
+ "primaryKey": false,
2649
+ "notNull": true,
2650
+ "autoincrement": false
2651
+ },
2652
+ "concept_id": {
2653
+ "name": "concept_id",
2654
+ "type": "text",
2655
+ "primaryKey": false,
2656
+ "notNull": true,
2657
+ "autoincrement": false
2658
+ },
2659
+ "concept_combination_id": {
2660
+ "name": "concept_combination_id",
2661
+ "type": "text",
2662
+ "primaryKey": false,
2663
+ "notNull": true,
2664
+ "autoincrement": false
2665
+ },
2666
+ "created_at": {
2667
+ "name": "created_at",
2668
+ "type": "integer",
2669
+ "primaryKey": false,
2670
+ "notNull": true,
2671
+ "autoincrement": false,
2672
+ "default": "CURRENT_TIMESTAMP"
2673
+ },
2674
+ "updated_at": {
2675
+ "name": "updated_at",
2676
+ "type": "integer",
2677
+ "primaryKey": false,
2678
+ "notNull": true,
2679
+ "autoincrement": false,
2680
+ "default": "CURRENT_TIMESTAMP"
2681
+ },
2682
+ "image_idx": {
2683
+ "name": "image_idx",
2684
+ "type": "integer",
2685
+ "primaryKey": false,
2686
+ "notNull": true,
2687
+ "autoincrement": false,
2688
+ "default": 0
2689
+ }
2690
+ },
2691
+ "indexes": {
2692
+ "user_concepts_user_id_idx": {
2693
+ "name": "user_concepts_user_id_idx",
2694
+ "columns": [
2695
+ "user_id"
2696
+ ],
2697
+ "isUnique": false
2698
+ },
2699
+ "user_concepts_concept_id_idx": {
2700
+ "name": "user_concepts_concept_id_idx",
2701
+ "columns": [
2702
+ "concept_id"
2703
+ ],
2704
+ "isUnique": false
2705
+ }
2706
+ },
2707
+ "foreignKeys": {
2708
+ "user_concepts_user_id_users_id_fk": {
2709
+ "name": "user_concepts_user_id_users_id_fk",
2710
+ "tableFrom": "user_concepts",
2711
+ "tableTo": "users",
2712
+ "columnsFrom": [
2713
+ "user_id"
2714
+ ],
2715
+ "columnsTo": [
2716
+ "id"
2717
+ ],
2718
+ "onDelete": "cascade",
2719
+ "onUpdate": "no action"
2720
+ },
2721
+ "user_concepts_concept_id_concepts_id_fk": {
2722
+ "name": "user_concepts_concept_id_concepts_id_fk",
2723
+ "tableFrom": "user_concepts",
2724
+ "tableTo": "concepts",
2725
+ "columnsFrom": [
2726
+ "concept_id"
2727
+ ],
2728
+ "columnsTo": [
2729
+ "id"
2730
+ ],
2731
+ "onDelete": "cascade",
2732
+ "onUpdate": "no action"
2733
+ },
2734
+ "user_concepts_concept_combination_id_concept_combinations_id_fk": {
2735
+ "name": "user_concepts_concept_combination_id_concept_combinations_id_fk",
2736
+ "tableFrom": "user_concepts",
2737
+ "tableTo": "concept_combinations",
2738
+ "columnsFrom": [
2739
+ "concept_combination_id"
2740
+ ],
2741
+ "columnsTo": [
2742
+ "id"
2743
+ ],
2744
+ "onDelete": "cascade",
2745
+ "onUpdate": "no action"
2746
+ }
2747
+ },
2748
+ "compositePrimaryKeys": {},
2749
+ "uniqueConstraints": {},
2750
+ "checkConstraints": {}
2751
+ },
2752
+ "user_products": {
2753
+ "name": "user_products",
2754
+ "columns": {
2755
+ "id": {
2756
+ "name": "id",
2757
+ "type": "text",
2758
+ "primaryKey": true,
2759
+ "notNull": true,
2760
+ "autoincrement": false
2761
+ },
2762
+ "user_id": {
2763
+ "name": "user_id",
2764
+ "type": "text",
2765
+ "primaryKey": false,
2766
+ "notNull": true,
2767
+ "autoincrement": false
2768
+ },
2769
+ "product_id": {
2770
+ "name": "product_id",
2771
+ "type": "text",
2772
+ "primaryKey": false,
2773
+ "notNull": true,
2774
+ "autoincrement": false
2775
+ },
2776
+ "checkout_id": {
2777
+ "name": "checkout_id",
2778
+ "type": "text",
2779
+ "primaryKey": false,
2780
+ "notNull": false,
2781
+ "autoincrement": false
2782
+ },
2783
+ "payment_id": {
2784
+ "name": "payment_id",
2785
+ "type": "text",
2786
+ "primaryKey": false,
2787
+ "notNull": false,
2788
+ "autoincrement": false
2789
+ },
2790
+ "status": {
2791
+ "name": "status",
2792
+ "type": "text",
2793
+ "primaryKey": false,
2794
+ "notNull": true,
2795
+ "autoincrement": false,
2796
+ "default": "'locked'"
2797
+ },
2798
+ "created_at": {
2799
+ "name": "created_at",
2800
+ "type": "integer",
2801
+ "primaryKey": false,
2802
+ "notNull": true,
2803
+ "autoincrement": false,
2804
+ "default": "CURRENT_TIMESTAMP"
2805
+ },
2806
+ "updated_at": {
2807
+ "name": "updated_at",
2808
+ "type": "integer",
2809
+ "primaryKey": false,
2810
+ "notNull": true,
2811
+ "autoincrement": false,
2812
+ "default": "CURRENT_TIMESTAMP"
2813
+ }
2814
+ },
2815
+ "indexes": {
2816
+ "user_products_user_id_idx": {
2817
+ "name": "user_products_user_id_idx",
2818
+ "columns": [
2819
+ "user_id"
2820
+ ],
2821
+ "isUnique": false
2822
+ },
2823
+ "user_products_product_id_idx": {
2824
+ "name": "user_products_product_id_idx",
2825
+ "columns": [
2826
+ "product_id"
2827
+ ],
2828
+ "isUnique": false
2829
+ },
2830
+ "user_products_payment_id_idx": {
2831
+ "name": "user_products_payment_id_idx",
2832
+ "columns": [
2833
+ "payment_id"
2834
+ ],
2835
+ "isUnique": false
2836
+ },
2837
+ "user_products_checkout_id_idx": {
2838
+ "name": "user_products_checkout_id_idx",
2839
+ "columns": [
2840
+ "checkout_id"
2841
+ ],
2842
+ "isUnique": false
2843
+ },
2844
+ "user_product_unique": {
2845
+ "name": "user_product_unique",
2846
+ "columns": [
2847
+ "user_id",
2848
+ "product_id"
2849
+ ],
2850
+ "isUnique": true
2851
+ }
2852
+ },
2853
+ "foreignKeys": {
2854
+ "user_products_user_id_users_id_fk": {
2855
+ "name": "user_products_user_id_users_id_fk",
2856
+ "tableFrom": "user_products",
2857
+ "tableTo": "users",
2858
+ "columnsFrom": [
2859
+ "user_id"
2860
+ ],
2861
+ "columnsTo": [
2862
+ "id"
2863
+ ],
2864
+ "onDelete": "cascade",
2865
+ "onUpdate": "no action"
2866
+ },
2867
+ "user_products_product_id_products_id_fk": {
2868
+ "name": "user_products_product_id_products_id_fk",
2869
+ "tableFrom": "user_products",
2870
+ "tableTo": "products",
2871
+ "columnsFrom": [
2872
+ "product_id"
2873
+ ],
2874
+ "columnsTo": [
2875
+ "id"
2876
+ ],
2877
+ "onDelete": "cascade",
2878
+ "onUpdate": "no action"
2879
+ },
2880
+ "user_products_payment_id_payments_id_fk": {
2881
+ "name": "user_products_payment_id_payments_id_fk",
2882
+ "tableFrom": "user_products",
2883
+ "tableTo": "payments",
2884
+ "columnsFrom": [
2885
+ "payment_id"
2886
+ ],
2887
+ "columnsTo": [
2888
+ "id"
2889
+ ],
2890
+ "onDelete": "set null",
2891
+ "onUpdate": "no action"
2892
+ }
2893
+ },
2894
+ "compositePrimaryKeys": {},
2895
+ "uniqueConstraints": {},
2896
+ "checkConstraints": {}
2897
+ },
2898
+ "users": {
2899
+ "name": "users",
2900
+ "columns": {
2901
+ "id": {
2902
+ "name": "id",
2903
+ "type": "text",
2904
+ "primaryKey": true,
2905
+ "notNull": true,
2906
+ "autoincrement": false
2907
+ },
2908
+ "email": {
2909
+ "name": "email",
2910
+ "type": "text",
2911
+ "primaryKey": false,
2912
+ "notNull": true,
2913
+ "autoincrement": false
2914
+ },
2915
+ "password_hash": {
2916
+ "name": "password_hash",
2917
+ "type": "text",
2918
+ "primaryKey": false,
2919
+ "notNull": false,
2920
+ "autoincrement": false
2921
+ },
2922
+ "name": {
2923
+ "name": "name",
2924
+ "type": "text",
2925
+ "primaryKey": false,
2926
+ "notNull": true,
2927
+ "autoincrement": false
2928
+ },
2929
+ "profile_image": {
2930
+ "name": "profile_image",
2931
+ "type": "text",
2932
+ "primaryKey": false,
2933
+ "notNull": false,
2934
+ "autoincrement": false
2935
+ },
2936
+ "user_photo_id": {
2937
+ "name": "user_photo_id",
2938
+ "type": "text",
2939
+ "primaryKey": false,
2940
+ "notNull": false,
2941
+ "autoincrement": false
2942
+ },
2943
+ "user_photo_url": {
2944
+ "name": "user_photo_url",
2945
+ "type": "text",
2946
+ "primaryKey": false,
2947
+ "notNull": false,
2948
+ "autoincrement": false
2949
+ },
2950
+ "gender": {
2951
+ "name": "gender",
2952
+ "type": "text",
2953
+ "primaryKey": false,
2954
+ "notNull": false,
2955
+ "autoincrement": false
2956
+ },
2957
+ "day": {
2958
+ "name": "day",
2959
+ "type": "integer",
2960
+ "primaryKey": false,
2961
+ "notNull": true,
2962
+ "autoincrement": false
2963
+ },
2964
+ "month": {
2965
+ "name": "month",
2966
+ "type": "integer",
2967
+ "primaryKey": false,
2968
+ "notNull": true,
2969
+ "autoincrement": false
2970
+ },
2971
+ "year": {
2972
+ "name": "year",
2973
+ "type": "integer",
2974
+ "primaryKey": false,
2975
+ "notNull": true,
2976
+ "autoincrement": false
2977
+ },
2978
+ "hour": {
2979
+ "name": "hour",
2980
+ "type": "integer",
2981
+ "primaryKey": false,
2982
+ "notNull": false,
2983
+ "autoincrement": false
2984
+ },
2985
+ "min": {
2986
+ "name": "min",
2987
+ "type": "integer",
2988
+ "primaryKey": false,
2989
+ "notNull": false,
2990
+ "autoincrement": false
2991
+ },
2992
+ "latitude": {
2993
+ "name": "latitude",
2994
+ "type": "real",
2995
+ "primaryKey": false,
2996
+ "notNull": true,
2997
+ "autoincrement": false
2998
+ },
2999
+ "longitude": {
3000
+ "name": "longitude",
3001
+ "type": "real",
3002
+ "primaryKey": false,
3003
+ "notNull": true,
3004
+ "autoincrement": false
3005
+ },
3006
+ "tzone": {
3007
+ "name": "tzone",
3008
+ "type": "real",
3009
+ "primaryKey": false,
3010
+ "notNull": false,
3011
+ "autoincrement": false
3012
+ },
3013
+ "birth_location": {
3014
+ "name": "birth_location",
3015
+ "type": "text",
3016
+ "primaryKey": false,
3017
+ "notNull": true,
3018
+ "autoincrement": false
3019
+ },
3020
+ "instagram_username": {
3021
+ "name": "instagram_username",
3022
+ "type": "text",
3023
+ "primaryKey": false,
3024
+ "notNull": false,
3025
+ "autoincrement": false
3026
+ },
3027
+ "tiktok_username": {
3028
+ "name": "tiktok_username",
3029
+ "type": "text",
3030
+ "primaryKey": false,
3031
+ "notNull": false,
3032
+ "autoincrement": false
3033
+ },
3034
+ "oauth_provider": {
3035
+ "name": "oauth_provider",
3036
+ "type": "text",
3037
+ "primaryKey": false,
3038
+ "notNull": false,
3039
+ "autoincrement": false
3040
+ },
3041
+ "oauth_provider_id": {
3042
+ "name": "oauth_provider_id",
3043
+ "type": "text",
3044
+ "primaryKey": false,
3045
+ "notNull": false,
3046
+ "autoincrement": false
3047
+ },
3048
+ "customer_id": {
3049
+ "name": "customer_id",
3050
+ "type": "text",
3051
+ "primaryKey": false,
3052
+ "notNull": false,
3053
+ "autoincrement": false
3054
+ },
3055
+ "credits_balance": {
3056
+ "name": "credits_balance",
3057
+ "type": "integer",
3058
+ "primaryKey": false,
3059
+ "notNull": true,
3060
+ "autoincrement": false,
3061
+ "default": 0
3062
+ },
3063
+ "total_credits_earned": {
3064
+ "name": "total_credits_earned",
3065
+ "type": "integer",
3066
+ "primaryKey": false,
3067
+ "notNull": true,
3068
+ "autoincrement": false,
3069
+ "default": 0
3070
+ },
3071
+ "last_transaction_at": {
3072
+ "name": "last_transaction_at",
3073
+ "type": "integer",
3074
+ "primaryKey": false,
3075
+ "notNull": false,
3076
+ "autoincrement": false
3077
+ },
3078
+ "language": {
3079
+ "name": "language",
3080
+ "type": "text",
3081
+ "primaryKey": false,
3082
+ "notNull": true,
3083
+ "autoincrement": false
3084
+ },
3085
+ "created_at": {
3086
+ "name": "created_at",
3087
+ "type": "integer",
3088
+ "primaryKey": false,
3089
+ "notNull": true,
3090
+ "autoincrement": false,
3091
+ "default": "CURRENT_TIMESTAMP"
3092
+ },
3093
+ "updated_at": {
3094
+ "name": "updated_at",
3095
+ "type": "integer",
3096
+ "primaryKey": false,
3097
+ "notNull": true,
3098
+ "autoincrement": false,
3099
+ "default": "CURRENT_TIMESTAMP"
3100
+ }
3101
+ },
3102
+ "indexes": {
3103
+ "users_email_unique": {
3104
+ "name": "users_email_unique",
3105
+ "columns": [
3106
+ "email"
3107
+ ],
3108
+ "isUnique": true
3109
+ },
3110
+ "users_instagram_username_unique": {
3111
+ "name": "users_instagram_username_unique",
3112
+ "columns": [
3113
+ "instagram_username"
3114
+ ],
3115
+ "isUnique": true
3116
+ },
3117
+ "users_tiktok_username_unique": {
3118
+ "name": "users_tiktok_username_unique",
3119
+ "columns": [
3120
+ "tiktok_username"
3121
+ ],
3122
+ "isUnique": true
3123
+ },
3124
+ "users_oauth_provider_id_unique": {
3125
+ "name": "users_oauth_provider_id_unique",
3126
+ "columns": [
3127
+ "oauth_provider_id"
3128
+ ],
3129
+ "isUnique": true
3130
+ },
3131
+ "users_email_idx": {
3132
+ "name": "users_email_idx",
3133
+ "columns": [
3134
+ "email"
3135
+ ],
3136
+ "isUnique": false
3137
+ },
3138
+ "users_oauth_provider_idx": {
3139
+ "name": "users_oauth_provider_idx",
3140
+ "columns": [
3141
+ "oauth_provider",
3142
+ "oauth_provider_id"
3143
+ ],
3144
+ "isUnique": false
3145
+ },
3146
+ "users_customer_id_idx": {
3147
+ "name": "users_customer_id_idx",
3148
+ "columns": [
3149
+ "customer_id"
3150
+ ],
3151
+ "isUnique": false
3152
+ }
3153
+ },
3154
+ "foreignKeys": {},
3155
+ "compositePrimaryKeys": {},
3156
+ "uniqueConstraints": {},
3157
+ "checkConstraints": {}
3158
+ },
3159
+ "users_temp": {
3160
+ "name": "users_temp",
3161
+ "columns": {
3162
+ "id": {
3163
+ "name": "id",
3164
+ "type": "text",
3165
+ "primaryKey": true,
3166
+ "notNull": true,
3167
+ "autoincrement": false
3168
+ },
3169
+ "email": {
3170
+ "name": "email",
3171
+ "type": "text",
3172
+ "primaryKey": false,
3173
+ "notNull": true,
3174
+ "autoincrement": false
3175
+ },
3176
+ "name": {
3177
+ "name": "name",
3178
+ "type": "text",
3179
+ "primaryKey": false,
3180
+ "notNull": true,
3181
+ "autoincrement": false
3182
+ },
3183
+ "profile_image": {
3184
+ "name": "profile_image",
3185
+ "type": "text",
3186
+ "primaryKey": false,
3187
+ "notNull": false,
3188
+ "autoincrement": false
3189
+ },
3190
+ "language": {
3191
+ "name": "language",
3192
+ "type": "text",
3193
+ "primaryKey": false,
3194
+ "notNull": true,
3195
+ "autoincrement": false
3196
+ },
3197
+ "oauth_provider": {
3198
+ "name": "oauth_provider",
3199
+ "type": "text",
3200
+ "primaryKey": false,
3201
+ "notNull": false,
3202
+ "autoincrement": false
3203
+ },
3204
+ "oauth_provider_id": {
3205
+ "name": "oauth_provider_id",
3206
+ "type": "text",
3207
+ "primaryKey": false,
3208
+ "notNull": false,
3209
+ "autoincrement": false
3210
+ },
3211
+ "created_at": {
3212
+ "name": "created_at",
3213
+ "type": "integer",
3214
+ "primaryKey": false,
3215
+ "notNull": true,
3216
+ "autoincrement": false,
3217
+ "default": "CURRENT_TIMESTAMP"
3218
+ },
3219
+ "updated_at": {
3220
+ "name": "updated_at",
3221
+ "type": "integer",
3222
+ "primaryKey": false,
3223
+ "notNull": true,
3224
+ "autoincrement": false,
3225
+ "default": "CURRENT_TIMESTAMP"
3226
+ }
3227
+ },
3228
+ "indexes": {
3229
+ "users_temp_email_unique": {
3230
+ "name": "users_temp_email_unique",
3231
+ "columns": [
3232
+ "email"
3233
+ ],
3234
+ "isUnique": true
3235
+ },
3236
+ "users_temp_email_idx": {
3237
+ "name": "users_temp_email_idx",
3238
+ "columns": [
3239
+ "email"
3240
+ ],
3241
+ "isUnique": false
3242
+ }
3243
+ },
3244
+ "foreignKeys": {},
3245
+ "compositePrimaryKeys": {},
3246
+ "uniqueConstraints": {},
3247
+ "checkConstraints": {}
3248
+ }
3249
+ },
3250
+ "views": {},
3251
+ "enums": {},
3252
+ "_meta": {
3253
+ "schemas": {},
3254
+ "tables": {},
3255
+ "columns": {}
3256
+ },
3257
+ "internal": {
3258
+ "indexes": {}
3259
+ }
3260
+ }