@zodic/shared 0.0.238 → 0.0.240

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