@zodic/shared 0.0.391 → 0.0.393

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,3244 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "1c3f6bdd-58ae-42d4-8860-55d413b90a25",
5
+ "prevId": "dacfdf4d-8ff1-4fe4-a10a-0797cb1984a1",
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
+ "reel_images": {
1523
+ "name": "reel_images",
1524
+ "type": "text",
1525
+ "primaryKey": false,
1526
+ "notNull": false,
1527
+ "autoincrement": false,
1528
+ "default": "'[]'"
1529
+ },
1530
+ "status": {
1531
+ "name": "status",
1532
+ "type": "text",
1533
+ "primaryKey": false,
1534
+ "notNull": false,
1535
+ "autoincrement": false,
1536
+ "default": "'idle'"
1537
+ },
1538
+ "created_at": {
1539
+ "name": "created_at",
1540
+ "type": "integer",
1541
+ "primaryKey": false,
1542
+ "notNull": false,
1543
+ "autoincrement": false,
1544
+ "default": "CURRENT_TIMESTAMP"
1545
+ },
1546
+ "updated_at": {
1547
+ "name": "updated_at",
1548
+ "type": "integer",
1549
+ "primaryKey": false,
1550
+ "notNull": false,
1551
+ "autoincrement": false,
1552
+ "default": "CURRENT_TIMESTAMP"
1553
+ }
1554
+ },
1555
+ "indexes": {
1556
+ "concepts_data_language_idx": {
1557
+ "name": "concepts_data_language_idx",
1558
+ "columns": [
1559
+ "language"
1560
+ ],
1561
+ "isUnique": false
1562
+ },
1563
+ "concepts_data_concept_slug_idx": {
1564
+ "name": "concepts_data_concept_slug_idx",
1565
+ "columns": [
1566
+ "concept_slug"
1567
+ ],
1568
+ "isUnique": false
1569
+ },
1570
+ "concepts_data_combination_idx": {
1571
+ "name": "concepts_data_combination_idx",
1572
+ "columns": [
1573
+ "combination"
1574
+ ],
1575
+ "isUnique": false
1576
+ },
1577
+ "concepts_data_name_idx": {
1578
+ "name": "concepts_data_name_idx",
1579
+ "columns": [
1580
+ "name"
1581
+ ],
1582
+ "isUnique": false
1583
+ }
1584
+ },
1585
+ "foreignKeys": {},
1586
+ "compositePrimaryKeys": {},
1587
+ "uniqueConstraints": {},
1588
+ "checkConstraints": {}
1589
+ },
1590
+ "cosmic_mirror_images": {
1591
+ "name": "cosmic_mirror_images",
1592
+ "columns": {
1593
+ "id": {
1594
+ "name": "id",
1595
+ "type": "text",
1596
+ "primaryKey": true,
1597
+ "notNull": true,
1598
+ "autoincrement": false
1599
+ },
1600
+ "user_artifact_id": {
1601
+ "name": "user_artifact_id",
1602
+ "type": "text",
1603
+ "primaryKey": false,
1604
+ "notNull": true,
1605
+ "autoincrement": false
1606
+ },
1607
+ "leonardo_id": {
1608
+ "name": "leonardo_id",
1609
+ "type": "text",
1610
+ "primaryKey": false,
1611
+ "notNull": true,
1612
+ "autoincrement": false
1613
+ },
1614
+ "url": {
1615
+ "name": "url",
1616
+ "type": "text",
1617
+ "primaryKey": false,
1618
+ "notNull": true,
1619
+ "autoincrement": false
1620
+ },
1621
+ "width": {
1622
+ "name": "width",
1623
+ "type": "integer",
1624
+ "primaryKey": false,
1625
+ "notNull": true,
1626
+ "autoincrement": false
1627
+ },
1628
+ "height": {
1629
+ "name": "height",
1630
+ "type": "integer",
1631
+ "primaryKey": false,
1632
+ "notNull": true,
1633
+ "autoincrement": false
1634
+ },
1635
+ "generation_type": {
1636
+ "name": "generation_type",
1637
+ "type": "text",
1638
+ "primaryKey": false,
1639
+ "notNull": true,
1640
+ "autoincrement": false
1641
+ },
1642
+ "timestamp": {
1643
+ "name": "timestamp",
1644
+ "type": "integer",
1645
+ "primaryKey": false,
1646
+ "notNull": true,
1647
+ "autoincrement": false
1648
+ },
1649
+ "created_at": {
1650
+ "name": "created_at",
1651
+ "type": "integer",
1652
+ "primaryKey": false,
1653
+ "notNull": true,
1654
+ "autoincrement": false,
1655
+ "default": "CURRENT_TIMESTAMP"
1656
+ },
1657
+ "updated_at": {
1658
+ "name": "updated_at",
1659
+ "type": "integer",
1660
+ "primaryKey": false,
1661
+ "notNull": true,
1662
+ "autoincrement": false,
1663
+ "default": "CURRENT_TIMESTAMP"
1664
+ }
1665
+ },
1666
+ "indexes": {
1667
+ "cosmic_mirror_images_user_artifact_idx": {
1668
+ "name": "cosmic_mirror_images_user_artifact_idx",
1669
+ "columns": [
1670
+ "user_artifact_id"
1671
+ ],
1672
+ "isUnique": false
1673
+ },
1674
+ "cosmic_mirror_images_type_idx": {
1675
+ "name": "cosmic_mirror_images_type_idx",
1676
+ "columns": [
1677
+ "generation_type"
1678
+ ],
1679
+ "isUnique": false
1680
+ }
1681
+ },
1682
+ "foreignKeys": {
1683
+ "cosmic_mirror_images_user_artifact_id_user_artifacts_id_fk": {
1684
+ "name": "cosmic_mirror_images_user_artifact_id_user_artifacts_id_fk",
1685
+ "tableFrom": "cosmic_mirror_images",
1686
+ "tableTo": "user_artifacts",
1687
+ "columnsFrom": [
1688
+ "user_artifact_id"
1689
+ ],
1690
+ "columnsTo": [
1691
+ "id"
1692
+ ],
1693
+ "onDelete": "cascade",
1694
+ "onUpdate": "no action"
1695
+ }
1696
+ },
1697
+ "compositePrimaryKeys": {},
1698
+ "uniqueConstraints": {},
1699
+ "checkConstraints": {}
1700
+ },
1701
+ "credits_transactions": {
1702
+ "name": "credits_transactions",
1703
+ "columns": {
1704
+ "id": {
1705
+ "name": "id",
1706
+ "type": "text",
1707
+ "primaryKey": true,
1708
+ "notNull": true,
1709
+ "autoincrement": false
1710
+ },
1711
+ "user_id": {
1712
+ "name": "user_id",
1713
+ "type": "text",
1714
+ "primaryKey": false,
1715
+ "notNull": true,
1716
+ "autoincrement": false
1717
+ },
1718
+ "type": {
1719
+ "name": "type",
1720
+ "type": "text",
1721
+ "primaryKey": false,
1722
+ "notNull": true,
1723
+ "autoincrement": false
1724
+ },
1725
+ "amount": {
1726
+ "name": "amount",
1727
+ "type": "integer",
1728
+ "primaryKey": false,
1729
+ "notNull": true,
1730
+ "autoincrement": false
1731
+ },
1732
+ "description": {
1733
+ "name": "description",
1734
+ "type": "text",
1735
+ "primaryKey": false,
1736
+ "notNull": false,
1737
+ "autoincrement": false
1738
+ },
1739
+ "product_type": {
1740
+ "name": "product_type",
1741
+ "type": "text",
1742
+ "primaryKey": false,
1743
+ "notNull": false,
1744
+ "autoincrement": false
1745
+ },
1746
+ "product_id": {
1747
+ "name": "product_id",
1748
+ "type": "text",
1749
+ "primaryKey": false,
1750
+ "notNull": false,
1751
+ "autoincrement": false
1752
+ },
1753
+ "payment_id": {
1754
+ "name": "payment_id",
1755
+ "type": "text",
1756
+ "primaryKey": false,
1757
+ "notNull": true,
1758
+ "autoincrement": false
1759
+ },
1760
+ "created_at": {
1761
+ "name": "created_at",
1762
+ "type": "integer",
1763
+ "primaryKey": false,
1764
+ "notNull": true,
1765
+ "autoincrement": false,
1766
+ "default": "CURRENT_TIMESTAMP"
1767
+ },
1768
+ "updated_at": {
1769
+ "name": "updated_at",
1770
+ "type": "integer",
1771
+ "primaryKey": false,
1772
+ "notNull": true,
1773
+ "autoincrement": false,
1774
+ "default": "CURRENT_TIMESTAMP"
1775
+ }
1776
+ },
1777
+ "indexes": {
1778
+ "credits_transactions_user_id_idx": {
1779
+ "name": "credits_transactions_user_id_idx",
1780
+ "columns": [
1781
+ "user_id"
1782
+ ],
1783
+ "isUnique": false
1784
+ }
1785
+ },
1786
+ "foreignKeys": {
1787
+ "credits_transactions_user_id_users_id_fk": {
1788
+ "name": "credits_transactions_user_id_users_id_fk",
1789
+ "tableFrom": "credits_transactions",
1790
+ "tableTo": "users",
1791
+ "columnsFrom": [
1792
+ "user_id"
1793
+ ],
1794
+ "columnsTo": [
1795
+ "id"
1796
+ ],
1797
+ "onDelete": "cascade",
1798
+ "onUpdate": "no action"
1799
+ }
1800
+ },
1801
+ "compositePrimaryKeys": {},
1802
+ "uniqueConstraints": {},
1803
+ "checkConstraints": {}
1804
+ },
1805
+ "generations": {
1806
+ "name": "generations",
1807
+ "columns": {
1808
+ "id": {
1809
+ "name": "id",
1810
+ "type": "text",
1811
+ "primaryKey": true,
1812
+ "notNull": true,
1813
+ "autoincrement": false
1814
+ },
1815
+ "user_id": {
1816
+ "name": "user_id",
1817
+ "type": "text",
1818
+ "primaryKey": false,
1819
+ "notNull": false,
1820
+ "autoincrement": false
1821
+ },
1822
+ "artifact_id": {
1823
+ "name": "artifact_id",
1824
+ "type": "text",
1825
+ "primaryKey": false,
1826
+ "notNull": false,
1827
+ "autoincrement": false
1828
+ },
1829
+ "archetype_index": {
1830
+ "name": "archetype_index",
1831
+ "type": "integer",
1832
+ "primaryKey": false,
1833
+ "notNull": false,
1834
+ "autoincrement": false
1835
+ },
1836
+ "user_artifact_id": {
1837
+ "name": "user_artifact_id",
1838
+ "type": "text",
1839
+ "primaryKey": false,
1840
+ "notNull": false,
1841
+ "autoincrement": false
1842
+ },
1843
+ "gender": {
1844
+ "name": "gender",
1845
+ "type": "text",
1846
+ "primaryKey": false,
1847
+ "notNull": false,
1848
+ "autoincrement": false
1849
+ },
1850
+ "concept_combination_id": {
1851
+ "name": "concept_combination_id",
1852
+ "type": "text",
1853
+ "primaryKey": false,
1854
+ "notNull": false,
1855
+ "autoincrement": false
1856
+ },
1857
+ "archetype_data_id": {
1858
+ "name": "archetype_data_id",
1859
+ "type": "text",
1860
+ "primaryKey": false,
1861
+ "notNull": false,
1862
+ "autoincrement": false
1863
+ },
1864
+ "type": {
1865
+ "name": "type",
1866
+ "type": "text",
1867
+ "primaryKey": false,
1868
+ "notNull": true,
1869
+ "autoincrement": false
1870
+ },
1871
+ "status": {
1872
+ "name": "status",
1873
+ "type": "text",
1874
+ "primaryKey": false,
1875
+ "notNull": true,
1876
+ "autoincrement": false,
1877
+ "default": "'pending'"
1878
+ },
1879
+ "url": {
1880
+ "name": "url",
1881
+ "type": "text",
1882
+ "primaryKey": false,
1883
+ "notNull": false,
1884
+ "autoincrement": false
1885
+ },
1886
+ "created_at": {
1887
+ "name": "created_at",
1888
+ "type": "integer",
1889
+ "primaryKey": false,
1890
+ "notNull": true,
1891
+ "autoincrement": false,
1892
+ "default": "CURRENT_TIMESTAMP"
1893
+ },
1894
+ "updated_at": {
1895
+ "name": "updated_at",
1896
+ "type": "integer",
1897
+ "primaryKey": false,
1898
+ "notNull": true,
1899
+ "autoincrement": false,
1900
+ "default": "CURRENT_TIMESTAMP"
1901
+ }
1902
+ },
1903
+ "indexes": {
1904
+ "generations_user_id_idx": {
1905
+ "name": "generations_user_id_idx",
1906
+ "columns": [
1907
+ "user_id"
1908
+ ],
1909
+ "isUnique": false
1910
+ },
1911
+ "generations_concept_combination_id_idx": {
1912
+ "name": "generations_concept_combination_id_idx",
1913
+ "columns": [
1914
+ "concept_combination_id"
1915
+ ],
1916
+ "isUnique": false
1917
+ },
1918
+ "generations_archetype_index_idx": {
1919
+ "name": "generations_archetype_index_idx",
1920
+ "columns": [
1921
+ "archetype_index"
1922
+ ],
1923
+ "isUnique": false
1924
+ },
1925
+ "generations_archetype_data_id_idx": {
1926
+ "name": "generations_archetype_data_id_idx",
1927
+ "columns": [
1928
+ "archetype_data_id"
1929
+ ],
1930
+ "isUnique": false
1931
+ }
1932
+ },
1933
+ "foreignKeys": {
1934
+ "generations_user_id_users_id_fk": {
1935
+ "name": "generations_user_id_users_id_fk",
1936
+ "tableFrom": "generations",
1937
+ "tableTo": "users",
1938
+ "columnsFrom": [
1939
+ "user_id"
1940
+ ],
1941
+ "columnsTo": [
1942
+ "id"
1943
+ ],
1944
+ "onDelete": "cascade",
1945
+ "onUpdate": "no action"
1946
+ },
1947
+ "generations_artifact_id_artifacts_id_fk": {
1948
+ "name": "generations_artifact_id_artifacts_id_fk",
1949
+ "tableFrom": "generations",
1950
+ "tableTo": "artifacts",
1951
+ "columnsFrom": [
1952
+ "artifact_id"
1953
+ ],
1954
+ "columnsTo": [
1955
+ "id"
1956
+ ],
1957
+ "onDelete": "cascade",
1958
+ "onUpdate": "no action"
1959
+ },
1960
+ "generations_user_artifact_id_user_artifacts_id_fk": {
1961
+ "name": "generations_user_artifact_id_user_artifacts_id_fk",
1962
+ "tableFrom": "generations",
1963
+ "tableTo": "user_artifacts",
1964
+ "columnsFrom": [
1965
+ "user_artifact_id"
1966
+ ],
1967
+ "columnsTo": [
1968
+ "id"
1969
+ ],
1970
+ "onDelete": "cascade",
1971
+ "onUpdate": "no action"
1972
+ },
1973
+ "generations_concept_combination_id_concept_combinations_id_fk": {
1974
+ "name": "generations_concept_combination_id_concept_combinations_id_fk",
1975
+ "tableFrom": "generations",
1976
+ "tableTo": "concept_combinations",
1977
+ "columnsFrom": [
1978
+ "concept_combination_id"
1979
+ ],
1980
+ "columnsTo": [
1981
+ "id"
1982
+ ],
1983
+ "onDelete": "cascade",
1984
+ "onUpdate": "no action"
1985
+ },
1986
+ "generations_archetype_data_id_archetypes_data_id_fk": {
1987
+ "name": "generations_archetype_data_id_archetypes_data_id_fk",
1988
+ "tableFrom": "generations",
1989
+ "tableTo": "archetypes_data",
1990
+ "columnsFrom": [
1991
+ "archetype_data_id"
1992
+ ],
1993
+ "columnsTo": [
1994
+ "id"
1995
+ ],
1996
+ "onDelete": "cascade",
1997
+ "onUpdate": "no action"
1998
+ }
1999
+ },
2000
+ "compositePrimaryKeys": {},
2001
+ "uniqueConstraints": {},
2002
+ "checkConstraints": {}
2003
+ },
2004
+ "house_reports": {
2005
+ "name": "house_reports",
2006
+ "columns": {
2007
+ "id": {
2008
+ "name": "id",
2009
+ "type": "text",
2010
+ "primaryKey": true,
2011
+ "notNull": true,
2012
+ "autoincrement": false
2013
+ },
2014
+ "sign": {
2015
+ "name": "sign",
2016
+ "type": "text",
2017
+ "primaryKey": false,
2018
+ "notNull": true,
2019
+ "autoincrement": false
2020
+ },
2021
+ "house": {
2022
+ "name": "house",
2023
+ "type": "integer",
2024
+ "primaryKey": false,
2025
+ "notNull": true,
2026
+ "autoincrement": false
2027
+ },
2028
+ "description_template_id": {
2029
+ "name": "description_template_id",
2030
+ "type": "text",
2031
+ "primaryKey": false,
2032
+ "notNull": false,
2033
+ "autoincrement": false
2034
+ },
2035
+ "en_report": {
2036
+ "name": "en_report",
2037
+ "type": "text",
2038
+ "primaryKey": false,
2039
+ "notNull": false,
2040
+ "autoincrement": false
2041
+ },
2042
+ "pt_report": {
2043
+ "name": "pt_report",
2044
+ "type": "text",
2045
+ "primaryKey": false,
2046
+ "notNull": false,
2047
+ "autoincrement": false
2048
+ },
2049
+ "created_at": {
2050
+ "name": "created_at",
2051
+ "type": "integer",
2052
+ "primaryKey": false,
2053
+ "notNull": false,
2054
+ "autoincrement": false,
2055
+ "default": "CURRENT_TIMESTAMP"
2056
+ },
2057
+ "updated_at": {
2058
+ "name": "updated_at",
2059
+ "type": "integer",
2060
+ "primaryKey": false,
2061
+ "notNull": false,
2062
+ "autoincrement": false,
2063
+ "default": "CURRENT_TIMESTAMP"
2064
+ }
2065
+ },
2066
+ "indexes": {
2067
+ "house_reports_sign_house_idx": {
2068
+ "name": "house_reports_sign_house_idx",
2069
+ "columns": [
2070
+ "sign",
2071
+ "house"
2072
+ ],
2073
+ "isUnique": false
2074
+ },
2075
+ "house_reports_description_template_idx": {
2076
+ "name": "house_reports_description_template_idx",
2077
+ "columns": [
2078
+ "description_template_id"
2079
+ ],
2080
+ "isUnique": false
2081
+ }
2082
+ },
2083
+ "foreignKeys": {
2084
+ "house_reports_description_template_id_astro_description_templates_id_fk": {
2085
+ "name": "house_reports_description_template_id_astro_description_templates_id_fk",
2086
+ "tableFrom": "house_reports",
2087
+ "tableTo": "astro_description_templates",
2088
+ "columnsFrom": [
2089
+ "description_template_id"
2090
+ ],
2091
+ "columnsTo": [
2092
+ "id"
2093
+ ],
2094
+ "onDelete": "set null",
2095
+ "onUpdate": "no action"
2096
+ }
2097
+ },
2098
+ "compositePrimaryKeys": {},
2099
+ "uniqueConstraints": {},
2100
+ "checkConstraints": {}
2101
+ },
2102
+ "logs": {
2103
+ "name": "logs",
2104
+ "columns": {
2105
+ "id": {
2106
+ "name": "id",
2107
+ "type": "text",
2108
+ "primaryKey": true,
2109
+ "notNull": true,
2110
+ "autoincrement": false
2111
+ },
2112
+ "level": {
2113
+ "name": "level",
2114
+ "type": "text",
2115
+ "primaryKey": false,
2116
+ "notNull": true,
2117
+ "autoincrement": false
2118
+ },
2119
+ "message": {
2120
+ "name": "message",
2121
+ "type": "text",
2122
+ "primaryKey": false,
2123
+ "notNull": true,
2124
+ "autoincrement": false
2125
+ },
2126
+ "context": {
2127
+ "name": "context",
2128
+ "type": "text",
2129
+ "primaryKey": false,
2130
+ "notNull": true,
2131
+ "autoincrement": false,
2132
+ "default": "'{}'"
2133
+ },
2134
+ "created_at": {
2135
+ "name": "created_at",
2136
+ "type": "integer",
2137
+ "primaryKey": false,
2138
+ "notNull": false,
2139
+ "autoincrement": false,
2140
+ "default": "CURRENT_TIMESTAMP"
2141
+ }
2142
+ },
2143
+ "indexes": {},
2144
+ "foreignKeys": {},
2145
+ "compositePrimaryKeys": {},
2146
+ "uniqueConstraints": {},
2147
+ "checkConstraints": {}
2148
+ },
2149
+ "payments": {
2150
+ "name": "payments",
2151
+ "columns": {
2152
+ "id": {
2153
+ "name": "id",
2154
+ "type": "text",
2155
+ "primaryKey": true,
2156
+ "notNull": true,
2157
+ "autoincrement": false
2158
+ },
2159
+ "user_id": {
2160
+ "name": "user_id",
2161
+ "type": "text",
2162
+ "primaryKey": false,
2163
+ "notNull": true,
2164
+ "autoincrement": false
2165
+ },
2166
+ "checkout_id": {
2167
+ "name": "checkout_id",
2168
+ "type": "text",
2169
+ "primaryKey": false,
2170
+ "notNull": true,
2171
+ "autoincrement": false
2172
+ },
2173
+ "amount": {
2174
+ "name": "amount",
2175
+ "type": "real",
2176
+ "primaryKey": false,
2177
+ "notNull": true,
2178
+ "autoincrement": false
2179
+ },
2180
+ "status": {
2181
+ "name": "status",
2182
+ "type": "text",
2183
+ "primaryKey": false,
2184
+ "notNull": true,
2185
+ "autoincrement": false,
2186
+ "default": "'pending'"
2187
+ },
2188
+ "created_at": {
2189
+ "name": "created_at",
2190
+ "type": "integer",
2191
+ "primaryKey": false,
2192
+ "notNull": true,
2193
+ "autoincrement": false,
2194
+ "default": "CURRENT_TIMESTAMP"
2195
+ },
2196
+ "updated_at": {
2197
+ "name": "updated_at",
2198
+ "type": "integer",
2199
+ "primaryKey": false,
2200
+ "notNull": true,
2201
+ "autoincrement": false,
2202
+ "default": "CURRENT_TIMESTAMP"
2203
+ }
2204
+ },
2205
+ "indexes": {
2206
+ "payments_checkout_id_unique": {
2207
+ "name": "payments_checkout_id_unique",
2208
+ "columns": [
2209
+ "checkout_id"
2210
+ ],
2211
+ "isUnique": true
2212
+ },
2213
+ "payments_user_id_idx": {
2214
+ "name": "payments_user_id_idx",
2215
+ "columns": [
2216
+ "user_id"
2217
+ ],
2218
+ "isUnique": false
2219
+ },
2220
+ "payments_checkout_id_idx": {
2221
+ "name": "payments_checkout_id_idx",
2222
+ "columns": [
2223
+ "checkout_id"
2224
+ ],
2225
+ "isUnique": false
2226
+ }
2227
+ },
2228
+ "foreignKeys": {
2229
+ "payments_user_id_users_id_fk": {
2230
+ "name": "payments_user_id_users_id_fk",
2231
+ "tableFrom": "payments",
2232
+ "tableTo": "users",
2233
+ "columnsFrom": [
2234
+ "user_id"
2235
+ ],
2236
+ "columnsTo": [
2237
+ "id"
2238
+ ],
2239
+ "onDelete": "cascade",
2240
+ "onUpdate": "no action"
2241
+ }
2242
+ },
2243
+ "compositePrimaryKeys": {},
2244
+ "uniqueConstraints": {},
2245
+ "checkConstraints": {}
2246
+ },
2247
+ "products": {
2248
+ "name": "products",
2249
+ "columns": {
2250
+ "id": {
2251
+ "name": "id",
2252
+ "type": "text",
2253
+ "primaryKey": true,
2254
+ "notNull": true,
2255
+ "autoincrement": false
2256
+ },
2257
+ "slug": {
2258
+ "name": "slug",
2259
+ "type": "text",
2260
+ "primaryKey": false,
2261
+ "notNull": true,
2262
+ "autoincrement": false
2263
+ },
2264
+ "price": {
2265
+ "name": "price",
2266
+ "type": "real",
2267
+ "primaryKey": false,
2268
+ "notNull": true,
2269
+ "autoincrement": false
2270
+ },
2271
+ "image_url": {
2272
+ "name": "image_url",
2273
+ "type": "text",
2274
+ "primaryKey": false,
2275
+ "notNull": false,
2276
+ "autoincrement": false
2277
+ },
2278
+ "image_base64": {
2279
+ "name": "image_base64",
2280
+ "type": "text",
2281
+ "primaryKey": false,
2282
+ "notNull": false,
2283
+ "autoincrement": false
2284
+ },
2285
+ "created_at": {
2286
+ "name": "created_at",
2287
+ "type": "integer",
2288
+ "primaryKey": false,
2289
+ "notNull": true,
2290
+ "autoincrement": false,
2291
+ "default": "CURRENT_TIMESTAMP"
2292
+ },
2293
+ "updated_at": {
2294
+ "name": "updated_at",
2295
+ "type": "integer",
2296
+ "primaryKey": false,
2297
+ "notNull": true,
2298
+ "autoincrement": false,
2299
+ "default": "CURRENT_TIMESTAMP"
2300
+ }
2301
+ },
2302
+ "indexes": {
2303
+ "products_slug_unique": {
2304
+ "name": "products_slug_unique",
2305
+ "columns": [
2306
+ "slug"
2307
+ ],
2308
+ "isUnique": true
2309
+ },
2310
+ "products_slug_idx": {
2311
+ "name": "products_slug_idx",
2312
+ "columns": [
2313
+ "slug"
2314
+ ],
2315
+ "isUnique": false
2316
+ }
2317
+ },
2318
+ "foreignKeys": {},
2319
+ "compositePrimaryKeys": {},
2320
+ "uniqueConstraints": {},
2321
+ "checkConstraints": {}
2322
+ },
2323
+ "tokens": {
2324
+ "name": "tokens",
2325
+ "columns": {
2326
+ "id": {
2327
+ "name": "id",
2328
+ "type": "text",
2329
+ "primaryKey": true,
2330
+ "notNull": true,
2331
+ "autoincrement": false
2332
+ },
2333
+ "user_id": {
2334
+ "name": "user_id",
2335
+ "type": "text",
2336
+ "primaryKey": false,
2337
+ "notNull": true,
2338
+ "autoincrement": false
2339
+ },
2340
+ "refresh_token": {
2341
+ "name": "refresh_token",
2342
+ "type": "text",
2343
+ "primaryKey": false,
2344
+ "notNull": true,
2345
+ "autoincrement": false
2346
+ },
2347
+ "expires_at": {
2348
+ "name": "expires_at",
2349
+ "type": "text",
2350
+ "primaryKey": false,
2351
+ "notNull": true,
2352
+ "autoincrement": false
2353
+ },
2354
+ "created_at": {
2355
+ "name": "created_at",
2356
+ "type": "integer",
2357
+ "primaryKey": false,
2358
+ "notNull": true,
2359
+ "autoincrement": false,
2360
+ "default": "CURRENT_TIMESTAMP"
2361
+ },
2362
+ "updated_at": {
2363
+ "name": "updated_at",
2364
+ "type": "integer",
2365
+ "primaryKey": false,
2366
+ "notNull": true,
2367
+ "autoincrement": false,
2368
+ "default": "CURRENT_TIMESTAMP"
2369
+ }
2370
+ },
2371
+ "indexes": {
2372
+ "tokens_refresh_token_unique": {
2373
+ "name": "tokens_refresh_token_unique",
2374
+ "columns": [
2375
+ "refresh_token"
2376
+ ],
2377
+ "isUnique": true
2378
+ },
2379
+ "tokens_user_id_idx": {
2380
+ "name": "tokens_user_id_idx",
2381
+ "columns": [
2382
+ "user_id"
2383
+ ],
2384
+ "isUnique": false
2385
+ }
2386
+ },
2387
+ "foreignKeys": {
2388
+ "tokens_user_id_users_id_fk": {
2389
+ "name": "tokens_user_id_users_id_fk",
2390
+ "tableFrom": "tokens",
2391
+ "tableTo": "users",
2392
+ "columnsFrom": [
2393
+ "user_id"
2394
+ ],
2395
+ "columnsTo": [
2396
+ "id"
2397
+ ],
2398
+ "onDelete": "cascade",
2399
+ "onUpdate": "no action"
2400
+ }
2401
+ },
2402
+ "compositePrimaryKeys": {},
2403
+ "uniqueConstraints": {},
2404
+ "checkConstraints": {}
2405
+ },
2406
+ "user_artifacts": {
2407
+ "name": "user_artifacts",
2408
+ "columns": {
2409
+ "id": {
2410
+ "name": "id",
2411
+ "type": "text",
2412
+ "primaryKey": true,
2413
+ "notNull": true,
2414
+ "autoincrement": false
2415
+ },
2416
+ "user_id": {
2417
+ "name": "user_id",
2418
+ "type": "text",
2419
+ "primaryKey": false,
2420
+ "notNull": true,
2421
+ "autoincrement": false
2422
+ },
2423
+ "user_concept_id": {
2424
+ "name": "user_concept_id",
2425
+ "type": "text",
2426
+ "primaryKey": false,
2427
+ "notNull": true,
2428
+ "autoincrement": false
2429
+ },
2430
+ "concept_id": {
2431
+ "name": "concept_id",
2432
+ "type": "text",
2433
+ "primaryKey": false,
2434
+ "notNull": true,
2435
+ "autoincrement": false
2436
+ },
2437
+ "artifact_id": {
2438
+ "name": "artifact_id",
2439
+ "type": "text",
2440
+ "primaryKey": false,
2441
+ "notNull": true,
2442
+ "autoincrement": false
2443
+ },
2444
+ "archetype_data_id": {
2445
+ "name": "archetype_data_id",
2446
+ "type": "text",
2447
+ "primaryKey": false,
2448
+ "notNull": false,
2449
+ "autoincrement": false
2450
+ },
2451
+ "post_images": {
2452
+ "name": "post_images",
2453
+ "type": "text",
2454
+ "primaryKey": false,
2455
+ "notNull": false,
2456
+ "autoincrement": false
2457
+ },
2458
+ "reel_images": {
2459
+ "name": "reel_images",
2460
+ "type": "text",
2461
+ "primaryKey": false,
2462
+ "notNull": false,
2463
+ "autoincrement": false
2464
+ },
2465
+ "chosen_image_url": {
2466
+ "name": "chosen_image_url",
2467
+ "type": "text",
2468
+ "primaryKey": false,
2469
+ "notNull": false,
2470
+ "autoincrement": false
2471
+ },
2472
+ "upscaled_image": {
2473
+ "name": "upscaled_image",
2474
+ "type": "text",
2475
+ "primaryKey": false,
2476
+ "notNull": false,
2477
+ "autoincrement": false
2478
+ },
2479
+ "framed_image": {
2480
+ "name": "framed_image",
2481
+ "type": "text",
2482
+ "primaryKey": false,
2483
+ "notNull": false,
2484
+ "autoincrement": false
2485
+ },
2486
+ "status": {
2487
+ "name": "status",
2488
+ "type": "text",
2489
+ "primaryKey": false,
2490
+ "notNull": true,
2491
+ "autoincrement": false,
2492
+ "default": "'pending'"
2493
+ },
2494
+ "version": {
2495
+ "name": "version",
2496
+ "type": "integer",
2497
+ "primaryKey": false,
2498
+ "notNull": true,
2499
+ "autoincrement": false,
2500
+ "default": 0
2501
+ },
2502
+ "created_at": {
2503
+ "name": "created_at",
2504
+ "type": "integer",
2505
+ "primaryKey": false,
2506
+ "notNull": true,
2507
+ "autoincrement": false,
2508
+ "default": "CURRENT_TIMESTAMP"
2509
+ },
2510
+ "updated_at": {
2511
+ "name": "updated_at",
2512
+ "type": "integer",
2513
+ "primaryKey": false,
2514
+ "notNull": true,
2515
+ "autoincrement": false,
2516
+ "default": "CURRENT_TIMESTAMP"
2517
+ }
2518
+ },
2519
+ "indexes": {
2520
+ "user_artifacts_user_id_idx": {
2521
+ "name": "user_artifacts_user_id_idx",
2522
+ "columns": [
2523
+ "user_id"
2524
+ ],
2525
+ "isUnique": false
2526
+ },
2527
+ "user_artifacts_artifact_id_idx": {
2528
+ "name": "user_artifacts_artifact_id_idx",
2529
+ "columns": [
2530
+ "artifact_id"
2531
+ ],
2532
+ "isUnique": false
2533
+ },
2534
+ "user_artifacts_status_idx": {
2535
+ "name": "user_artifacts_status_idx",
2536
+ "columns": [
2537
+ "status"
2538
+ ],
2539
+ "isUnique": false
2540
+ },
2541
+ "user_artifacts_archetype_data_id_idx": {
2542
+ "name": "user_artifacts_archetype_data_id_idx",
2543
+ "columns": [
2544
+ "archetype_data_id"
2545
+ ],
2546
+ "isUnique": false
2547
+ },
2548
+ "user_artifacts_concept_id_idx": {
2549
+ "name": "user_artifacts_concept_id_idx",
2550
+ "columns": [
2551
+ "concept_id"
2552
+ ],
2553
+ "isUnique": false
2554
+ }
2555
+ },
2556
+ "foreignKeys": {
2557
+ "user_artifacts_user_id_users_id_fk": {
2558
+ "name": "user_artifacts_user_id_users_id_fk",
2559
+ "tableFrom": "user_artifacts",
2560
+ "tableTo": "users",
2561
+ "columnsFrom": [
2562
+ "user_id"
2563
+ ],
2564
+ "columnsTo": [
2565
+ "id"
2566
+ ],
2567
+ "onDelete": "cascade",
2568
+ "onUpdate": "no action"
2569
+ },
2570
+ "user_artifacts_user_concept_id_user_concepts_id_fk": {
2571
+ "name": "user_artifacts_user_concept_id_user_concepts_id_fk",
2572
+ "tableFrom": "user_artifacts",
2573
+ "tableTo": "user_concepts",
2574
+ "columnsFrom": [
2575
+ "user_concept_id"
2576
+ ],
2577
+ "columnsTo": [
2578
+ "id"
2579
+ ],
2580
+ "onDelete": "cascade",
2581
+ "onUpdate": "no action"
2582
+ },
2583
+ "user_artifacts_concept_id_concepts_id_fk": {
2584
+ "name": "user_artifacts_concept_id_concepts_id_fk",
2585
+ "tableFrom": "user_artifacts",
2586
+ "tableTo": "concepts",
2587
+ "columnsFrom": [
2588
+ "concept_id"
2589
+ ],
2590
+ "columnsTo": [
2591
+ "id"
2592
+ ],
2593
+ "onDelete": "cascade",
2594
+ "onUpdate": "no action"
2595
+ },
2596
+ "user_artifacts_artifact_id_artifacts_id_fk": {
2597
+ "name": "user_artifacts_artifact_id_artifacts_id_fk",
2598
+ "tableFrom": "user_artifacts",
2599
+ "tableTo": "artifacts",
2600
+ "columnsFrom": [
2601
+ "artifact_id"
2602
+ ],
2603
+ "columnsTo": [
2604
+ "id"
2605
+ ],
2606
+ "onDelete": "cascade",
2607
+ "onUpdate": "no action"
2608
+ },
2609
+ "user_artifacts_archetype_data_id_archetypes_data_id_fk": {
2610
+ "name": "user_artifacts_archetype_data_id_archetypes_data_id_fk",
2611
+ "tableFrom": "user_artifacts",
2612
+ "tableTo": "archetypes_data",
2613
+ "columnsFrom": [
2614
+ "archetype_data_id"
2615
+ ],
2616
+ "columnsTo": [
2617
+ "id"
2618
+ ],
2619
+ "onDelete": "cascade",
2620
+ "onUpdate": "no action"
2621
+ }
2622
+ },
2623
+ "compositePrimaryKeys": {},
2624
+ "uniqueConstraints": {},
2625
+ "checkConstraints": {}
2626
+ },
2627
+ "user_concepts": {
2628
+ "name": "user_concepts",
2629
+ "columns": {
2630
+ "id": {
2631
+ "name": "id",
2632
+ "type": "text",
2633
+ "primaryKey": true,
2634
+ "notNull": true,
2635
+ "autoincrement": false
2636
+ },
2637
+ "user_id": {
2638
+ "name": "user_id",
2639
+ "type": "text",
2640
+ "primaryKey": false,
2641
+ "notNull": true,
2642
+ "autoincrement": false
2643
+ },
2644
+ "concept_id": {
2645
+ "name": "concept_id",
2646
+ "type": "text",
2647
+ "primaryKey": false,
2648
+ "notNull": true,
2649
+ "autoincrement": false
2650
+ },
2651
+ "concept_combination_id": {
2652
+ "name": "concept_combination_id",
2653
+ "type": "text",
2654
+ "primaryKey": false,
2655
+ "notNull": true,
2656
+ "autoincrement": false
2657
+ },
2658
+ "created_at": {
2659
+ "name": "created_at",
2660
+ "type": "integer",
2661
+ "primaryKey": false,
2662
+ "notNull": true,
2663
+ "autoincrement": false,
2664
+ "default": "CURRENT_TIMESTAMP"
2665
+ },
2666
+ "updated_at": {
2667
+ "name": "updated_at",
2668
+ "type": "integer",
2669
+ "primaryKey": false,
2670
+ "notNull": true,
2671
+ "autoincrement": false,
2672
+ "default": "CURRENT_TIMESTAMP"
2673
+ },
2674
+ "image_idx": {
2675
+ "name": "image_idx",
2676
+ "type": "integer",
2677
+ "primaryKey": false,
2678
+ "notNull": true,
2679
+ "autoincrement": false,
2680
+ "default": 0
2681
+ }
2682
+ },
2683
+ "indexes": {
2684
+ "user_concepts_user_id_idx": {
2685
+ "name": "user_concepts_user_id_idx",
2686
+ "columns": [
2687
+ "user_id"
2688
+ ],
2689
+ "isUnique": false
2690
+ },
2691
+ "user_concepts_concept_id_idx": {
2692
+ "name": "user_concepts_concept_id_idx",
2693
+ "columns": [
2694
+ "concept_id"
2695
+ ],
2696
+ "isUnique": false
2697
+ }
2698
+ },
2699
+ "foreignKeys": {
2700
+ "user_concepts_user_id_users_id_fk": {
2701
+ "name": "user_concepts_user_id_users_id_fk",
2702
+ "tableFrom": "user_concepts",
2703
+ "tableTo": "users",
2704
+ "columnsFrom": [
2705
+ "user_id"
2706
+ ],
2707
+ "columnsTo": [
2708
+ "id"
2709
+ ],
2710
+ "onDelete": "cascade",
2711
+ "onUpdate": "no action"
2712
+ },
2713
+ "user_concepts_concept_id_concepts_id_fk": {
2714
+ "name": "user_concepts_concept_id_concepts_id_fk",
2715
+ "tableFrom": "user_concepts",
2716
+ "tableTo": "concepts",
2717
+ "columnsFrom": [
2718
+ "concept_id"
2719
+ ],
2720
+ "columnsTo": [
2721
+ "id"
2722
+ ],
2723
+ "onDelete": "cascade",
2724
+ "onUpdate": "no action"
2725
+ },
2726
+ "user_concepts_concept_combination_id_concept_combinations_id_fk": {
2727
+ "name": "user_concepts_concept_combination_id_concept_combinations_id_fk",
2728
+ "tableFrom": "user_concepts",
2729
+ "tableTo": "concept_combinations",
2730
+ "columnsFrom": [
2731
+ "concept_combination_id"
2732
+ ],
2733
+ "columnsTo": [
2734
+ "id"
2735
+ ],
2736
+ "onDelete": "cascade",
2737
+ "onUpdate": "no action"
2738
+ }
2739
+ },
2740
+ "compositePrimaryKeys": {},
2741
+ "uniqueConstraints": {},
2742
+ "checkConstraints": {}
2743
+ },
2744
+ "user_products": {
2745
+ "name": "user_products",
2746
+ "columns": {
2747
+ "id": {
2748
+ "name": "id",
2749
+ "type": "text",
2750
+ "primaryKey": true,
2751
+ "notNull": true,
2752
+ "autoincrement": false
2753
+ },
2754
+ "user_id": {
2755
+ "name": "user_id",
2756
+ "type": "text",
2757
+ "primaryKey": false,
2758
+ "notNull": true,
2759
+ "autoincrement": false
2760
+ },
2761
+ "product_id": {
2762
+ "name": "product_id",
2763
+ "type": "text",
2764
+ "primaryKey": false,
2765
+ "notNull": true,
2766
+ "autoincrement": false
2767
+ },
2768
+ "checkout_id": {
2769
+ "name": "checkout_id",
2770
+ "type": "text",
2771
+ "primaryKey": false,
2772
+ "notNull": false,
2773
+ "autoincrement": false
2774
+ },
2775
+ "payment_id": {
2776
+ "name": "payment_id",
2777
+ "type": "text",
2778
+ "primaryKey": false,
2779
+ "notNull": false,
2780
+ "autoincrement": false
2781
+ },
2782
+ "status": {
2783
+ "name": "status",
2784
+ "type": "text",
2785
+ "primaryKey": false,
2786
+ "notNull": true,
2787
+ "autoincrement": false,
2788
+ "default": "'locked'"
2789
+ },
2790
+ "created_at": {
2791
+ "name": "created_at",
2792
+ "type": "integer",
2793
+ "primaryKey": false,
2794
+ "notNull": true,
2795
+ "autoincrement": false,
2796
+ "default": "CURRENT_TIMESTAMP"
2797
+ },
2798
+ "updated_at": {
2799
+ "name": "updated_at",
2800
+ "type": "integer",
2801
+ "primaryKey": false,
2802
+ "notNull": true,
2803
+ "autoincrement": false,
2804
+ "default": "CURRENT_TIMESTAMP"
2805
+ }
2806
+ },
2807
+ "indexes": {
2808
+ "user_products_user_id_idx": {
2809
+ "name": "user_products_user_id_idx",
2810
+ "columns": [
2811
+ "user_id"
2812
+ ],
2813
+ "isUnique": false
2814
+ },
2815
+ "user_products_product_id_idx": {
2816
+ "name": "user_products_product_id_idx",
2817
+ "columns": [
2818
+ "product_id"
2819
+ ],
2820
+ "isUnique": false
2821
+ },
2822
+ "user_products_payment_id_idx": {
2823
+ "name": "user_products_payment_id_idx",
2824
+ "columns": [
2825
+ "payment_id"
2826
+ ],
2827
+ "isUnique": false
2828
+ },
2829
+ "user_products_checkout_id_idx": {
2830
+ "name": "user_products_checkout_id_idx",
2831
+ "columns": [
2832
+ "checkout_id"
2833
+ ],
2834
+ "isUnique": false
2835
+ }
2836
+ },
2837
+ "foreignKeys": {
2838
+ "user_products_user_id_users_id_fk": {
2839
+ "name": "user_products_user_id_users_id_fk",
2840
+ "tableFrom": "user_products",
2841
+ "tableTo": "users",
2842
+ "columnsFrom": [
2843
+ "user_id"
2844
+ ],
2845
+ "columnsTo": [
2846
+ "id"
2847
+ ],
2848
+ "onDelete": "cascade",
2849
+ "onUpdate": "no action"
2850
+ },
2851
+ "user_products_product_id_products_id_fk": {
2852
+ "name": "user_products_product_id_products_id_fk",
2853
+ "tableFrom": "user_products",
2854
+ "tableTo": "products",
2855
+ "columnsFrom": [
2856
+ "product_id"
2857
+ ],
2858
+ "columnsTo": [
2859
+ "id"
2860
+ ],
2861
+ "onDelete": "cascade",
2862
+ "onUpdate": "no action"
2863
+ },
2864
+ "user_products_payment_id_payments_id_fk": {
2865
+ "name": "user_products_payment_id_payments_id_fk",
2866
+ "tableFrom": "user_products",
2867
+ "tableTo": "payments",
2868
+ "columnsFrom": [
2869
+ "payment_id"
2870
+ ],
2871
+ "columnsTo": [
2872
+ "id"
2873
+ ],
2874
+ "onDelete": "set null",
2875
+ "onUpdate": "no action"
2876
+ }
2877
+ },
2878
+ "compositePrimaryKeys": {},
2879
+ "uniqueConstraints": {},
2880
+ "checkConstraints": {}
2881
+ },
2882
+ "users": {
2883
+ "name": "users",
2884
+ "columns": {
2885
+ "id": {
2886
+ "name": "id",
2887
+ "type": "text",
2888
+ "primaryKey": true,
2889
+ "notNull": true,
2890
+ "autoincrement": false
2891
+ },
2892
+ "email": {
2893
+ "name": "email",
2894
+ "type": "text",
2895
+ "primaryKey": false,
2896
+ "notNull": true,
2897
+ "autoincrement": false
2898
+ },
2899
+ "password_hash": {
2900
+ "name": "password_hash",
2901
+ "type": "text",
2902
+ "primaryKey": false,
2903
+ "notNull": false,
2904
+ "autoincrement": false
2905
+ },
2906
+ "name": {
2907
+ "name": "name",
2908
+ "type": "text",
2909
+ "primaryKey": false,
2910
+ "notNull": true,
2911
+ "autoincrement": false
2912
+ },
2913
+ "profile_image": {
2914
+ "name": "profile_image",
2915
+ "type": "text",
2916
+ "primaryKey": false,
2917
+ "notNull": false,
2918
+ "autoincrement": false
2919
+ },
2920
+ "user_photo_id": {
2921
+ "name": "user_photo_id",
2922
+ "type": "text",
2923
+ "primaryKey": false,
2924
+ "notNull": false,
2925
+ "autoincrement": false
2926
+ },
2927
+ "user_photo_url": {
2928
+ "name": "user_photo_url",
2929
+ "type": "text",
2930
+ "primaryKey": false,
2931
+ "notNull": false,
2932
+ "autoincrement": false
2933
+ },
2934
+ "gender": {
2935
+ "name": "gender",
2936
+ "type": "text",
2937
+ "primaryKey": false,
2938
+ "notNull": false,
2939
+ "autoincrement": false
2940
+ },
2941
+ "day": {
2942
+ "name": "day",
2943
+ "type": "integer",
2944
+ "primaryKey": false,
2945
+ "notNull": true,
2946
+ "autoincrement": false
2947
+ },
2948
+ "month": {
2949
+ "name": "month",
2950
+ "type": "integer",
2951
+ "primaryKey": false,
2952
+ "notNull": true,
2953
+ "autoincrement": false
2954
+ },
2955
+ "year": {
2956
+ "name": "year",
2957
+ "type": "integer",
2958
+ "primaryKey": false,
2959
+ "notNull": true,
2960
+ "autoincrement": false
2961
+ },
2962
+ "hour": {
2963
+ "name": "hour",
2964
+ "type": "integer",
2965
+ "primaryKey": false,
2966
+ "notNull": false,
2967
+ "autoincrement": false
2968
+ },
2969
+ "min": {
2970
+ "name": "min",
2971
+ "type": "integer",
2972
+ "primaryKey": false,
2973
+ "notNull": false,
2974
+ "autoincrement": false
2975
+ },
2976
+ "latitude": {
2977
+ "name": "latitude",
2978
+ "type": "real",
2979
+ "primaryKey": false,
2980
+ "notNull": true,
2981
+ "autoincrement": false
2982
+ },
2983
+ "longitude": {
2984
+ "name": "longitude",
2985
+ "type": "real",
2986
+ "primaryKey": false,
2987
+ "notNull": true,
2988
+ "autoincrement": false
2989
+ },
2990
+ "tzone": {
2991
+ "name": "tzone",
2992
+ "type": "real",
2993
+ "primaryKey": false,
2994
+ "notNull": false,
2995
+ "autoincrement": false
2996
+ },
2997
+ "birth_location": {
2998
+ "name": "birth_location",
2999
+ "type": "text",
3000
+ "primaryKey": false,
3001
+ "notNull": true,
3002
+ "autoincrement": false
3003
+ },
3004
+ "instagram_username": {
3005
+ "name": "instagram_username",
3006
+ "type": "text",
3007
+ "primaryKey": false,
3008
+ "notNull": false,
3009
+ "autoincrement": false
3010
+ },
3011
+ "tiktok_username": {
3012
+ "name": "tiktok_username",
3013
+ "type": "text",
3014
+ "primaryKey": false,
3015
+ "notNull": false,
3016
+ "autoincrement": false
3017
+ },
3018
+ "oauth_provider": {
3019
+ "name": "oauth_provider",
3020
+ "type": "text",
3021
+ "primaryKey": false,
3022
+ "notNull": false,
3023
+ "autoincrement": false
3024
+ },
3025
+ "oauth_provider_id": {
3026
+ "name": "oauth_provider_id",
3027
+ "type": "text",
3028
+ "primaryKey": false,
3029
+ "notNull": false,
3030
+ "autoincrement": false
3031
+ },
3032
+ "customer_id": {
3033
+ "name": "customer_id",
3034
+ "type": "text",
3035
+ "primaryKey": false,
3036
+ "notNull": false,
3037
+ "autoincrement": false
3038
+ },
3039
+ "credits_balance": {
3040
+ "name": "credits_balance",
3041
+ "type": "integer",
3042
+ "primaryKey": false,
3043
+ "notNull": true,
3044
+ "autoincrement": false,
3045
+ "default": 0
3046
+ },
3047
+ "total_credits_earned": {
3048
+ "name": "total_credits_earned",
3049
+ "type": "integer",
3050
+ "primaryKey": false,
3051
+ "notNull": true,
3052
+ "autoincrement": false,
3053
+ "default": 0
3054
+ },
3055
+ "last_transaction_at": {
3056
+ "name": "last_transaction_at",
3057
+ "type": "integer",
3058
+ "primaryKey": false,
3059
+ "notNull": false,
3060
+ "autoincrement": false
3061
+ },
3062
+ "language": {
3063
+ "name": "language",
3064
+ "type": "text",
3065
+ "primaryKey": false,
3066
+ "notNull": true,
3067
+ "autoincrement": false
3068
+ },
3069
+ "created_at": {
3070
+ "name": "created_at",
3071
+ "type": "integer",
3072
+ "primaryKey": false,
3073
+ "notNull": true,
3074
+ "autoincrement": false,
3075
+ "default": "CURRENT_TIMESTAMP"
3076
+ },
3077
+ "updated_at": {
3078
+ "name": "updated_at",
3079
+ "type": "integer",
3080
+ "primaryKey": false,
3081
+ "notNull": true,
3082
+ "autoincrement": false,
3083
+ "default": "CURRENT_TIMESTAMP"
3084
+ }
3085
+ },
3086
+ "indexes": {
3087
+ "users_email_unique": {
3088
+ "name": "users_email_unique",
3089
+ "columns": [
3090
+ "email"
3091
+ ],
3092
+ "isUnique": true
3093
+ },
3094
+ "users_instagram_username_unique": {
3095
+ "name": "users_instagram_username_unique",
3096
+ "columns": [
3097
+ "instagram_username"
3098
+ ],
3099
+ "isUnique": true
3100
+ },
3101
+ "users_tiktok_username_unique": {
3102
+ "name": "users_tiktok_username_unique",
3103
+ "columns": [
3104
+ "tiktok_username"
3105
+ ],
3106
+ "isUnique": true
3107
+ },
3108
+ "users_oauth_provider_id_unique": {
3109
+ "name": "users_oauth_provider_id_unique",
3110
+ "columns": [
3111
+ "oauth_provider_id"
3112
+ ],
3113
+ "isUnique": true
3114
+ },
3115
+ "users_email_idx": {
3116
+ "name": "users_email_idx",
3117
+ "columns": [
3118
+ "email"
3119
+ ],
3120
+ "isUnique": false
3121
+ },
3122
+ "users_oauth_provider_idx": {
3123
+ "name": "users_oauth_provider_idx",
3124
+ "columns": [
3125
+ "oauth_provider",
3126
+ "oauth_provider_id"
3127
+ ],
3128
+ "isUnique": false
3129
+ },
3130
+ "users_customer_id_idx": {
3131
+ "name": "users_customer_id_idx",
3132
+ "columns": [
3133
+ "customer_id"
3134
+ ],
3135
+ "isUnique": false
3136
+ }
3137
+ },
3138
+ "foreignKeys": {},
3139
+ "compositePrimaryKeys": {},
3140
+ "uniqueConstraints": {},
3141
+ "checkConstraints": {}
3142
+ },
3143
+ "users_temp": {
3144
+ "name": "users_temp",
3145
+ "columns": {
3146
+ "id": {
3147
+ "name": "id",
3148
+ "type": "text",
3149
+ "primaryKey": true,
3150
+ "notNull": true,
3151
+ "autoincrement": false
3152
+ },
3153
+ "email": {
3154
+ "name": "email",
3155
+ "type": "text",
3156
+ "primaryKey": false,
3157
+ "notNull": true,
3158
+ "autoincrement": false
3159
+ },
3160
+ "name": {
3161
+ "name": "name",
3162
+ "type": "text",
3163
+ "primaryKey": false,
3164
+ "notNull": true,
3165
+ "autoincrement": false
3166
+ },
3167
+ "profile_image": {
3168
+ "name": "profile_image",
3169
+ "type": "text",
3170
+ "primaryKey": false,
3171
+ "notNull": false,
3172
+ "autoincrement": false
3173
+ },
3174
+ "language": {
3175
+ "name": "language",
3176
+ "type": "text",
3177
+ "primaryKey": false,
3178
+ "notNull": true,
3179
+ "autoincrement": false
3180
+ },
3181
+ "oauth_provider": {
3182
+ "name": "oauth_provider",
3183
+ "type": "text",
3184
+ "primaryKey": false,
3185
+ "notNull": false,
3186
+ "autoincrement": false
3187
+ },
3188
+ "oauth_provider_id": {
3189
+ "name": "oauth_provider_id",
3190
+ "type": "text",
3191
+ "primaryKey": false,
3192
+ "notNull": false,
3193
+ "autoincrement": false
3194
+ },
3195
+ "created_at": {
3196
+ "name": "created_at",
3197
+ "type": "integer",
3198
+ "primaryKey": false,
3199
+ "notNull": true,
3200
+ "autoincrement": false,
3201
+ "default": "CURRENT_TIMESTAMP"
3202
+ },
3203
+ "updated_at": {
3204
+ "name": "updated_at",
3205
+ "type": "integer",
3206
+ "primaryKey": false,
3207
+ "notNull": true,
3208
+ "autoincrement": false,
3209
+ "default": "CURRENT_TIMESTAMP"
3210
+ }
3211
+ },
3212
+ "indexes": {
3213
+ "users_temp_email_unique": {
3214
+ "name": "users_temp_email_unique",
3215
+ "columns": [
3216
+ "email"
3217
+ ],
3218
+ "isUnique": true
3219
+ },
3220
+ "users_temp_email_idx": {
3221
+ "name": "users_temp_email_idx",
3222
+ "columns": [
3223
+ "email"
3224
+ ],
3225
+ "isUnique": false
3226
+ }
3227
+ },
3228
+ "foreignKeys": {},
3229
+ "compositePrimaryKeys": {},
3230
+ "uniqueConstraints": {},
3231
+ "checkConstraints": {}
3232
+ }
3233
+ },
3234
+ "views": {},
3235
+ "enums": {},
3236
+ "_meta": {
3237
+ "schemas": {},
3238
+ "tables": {},
3239
+ "columns": {}
3240
+ },
3241
+ "internal": {
3242
+ "indexes": {}
3243
+ }
3244
+ }