jukebox-media-server 0.1.1 → 0.3.0

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,880 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "3a786c6d-8e86-45e6-b4fb-d81aa144cd67",
5
+ "prevId": "55e18af5-1502-499e-878c-97258d8f41ee",
6
+ "tables": {
7
+ "auth_config": {
8
+ "name": "auth_config",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "integer",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "password_hash": {
18
+ "name": "password_hash",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": false,
22
+ "autoincrement": false
23
+ },
24
+ "updated_at": {
25
+ "name": "updated_at",
26
+ "type": "integer",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ }
31
+ },
32
+ "indexes": {},
33
+ "foreignKeys": {},
34
+ "compositePrimaryKeys": {},
35
+ "uniqueConstraints": {},
36
+ "checkConstraints": {}
37
+ },
38
+ "episodes": {
39
+ "name": "episodes",
40
+ "columns": {
41
+ "id": {
42
+ "name": "id",
43
+ "type": "integer",
44
+ "primaryKey": true,
45
+ "notNull": true,
46
+ "autoincrement": true
47
+ },
48
+ "show_id": {
49
+ "name": "show_id",
50
+ "type": "integer",
51
+ "primaryKey": false,
52
+ "notNull": true,
53
+ "autoincrement": false
54
+ },
55
+ "season_id": {
56
+ "name": "season_id",
57
+ "type": "integer",
58
+ "primaryKey": false,
59
+ "notNull": true,
60
+ "autoincrement": false
61
+ },
62
+ "season_number": {
63
+ "name": "season_number",
64
+ "type": "integer",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false
68
+ },
69
+ "episode_number": {
70
+ "name": "episode_number",
71
+ "type": "integer",
72
+ "primaryKey": false,
73
+ "notNull": true,
74
+ "autoincrement": false
75
+ },
76
+ "title": {
77
+ "name": "title",
78
+ "type": "text",
79
+ "primaryKey": false,
80
+ "notNull": true,
81
+ "autoincrement": false
82
+ },
83
+ "file_path": {
84
+ "name": "file_path",
85
+ "type": "text",
86
+ "primaryKey": false,
87
+ "notNull": true,
88
+ "autoincrement": false
89
+ },
90
+ "file_name": {
91
+ "name": "file_name",
92
+ "type": "text",
93
+ "primaryKey": false,
94
+ "notNull": true,
95
+ "autoincrement": false
96
+ },
97
+ "file_size": {
98
+ "name": "file_size",
99
+ "type": "integer",
100
+ "primaryKey": false,
101
+ "notNull": false,
102
+ "autoincrement": false
103
+ },
104
+ "extension": {
105
+ "name": "extension",
106
+ "type": "text",
107
+ "primaryKey": false,
108
+ "notNull": false,
109
+ "autoincrement": false
110
+ },
111
+ "tmdb_id": {
112
+ "name": "tmdb_id",
113
+ "type": "integer",
114
+ "primaryKey": false,
115
+ "notNull": false,
116
+ "autoincrement": false
117
+ },
118
+ "overview": {
119
+ "name": "overview",
120
+ "type": "text",
121
+ "primaryKey": false,
122
+ "notNull": false,
123
+ "autoincrement": false
124
+ },
125
+ "runtime": {
126
+ "name": "runtime",
127
+ "type": "integer",
128
+ "primaryKey": false,
129
+ "notNull": false,
130
+ "autoincrement": false
131
+ },
132
+ "still_path": {
133
+ "name": "still_path",
134
+ "type": "text",
135
+ "primaryKey": false,
136
+ "notNull": false,
137
+ "autoincrement": false
138
+ },
139
+ "created_at": {
140
+ "name": "created_at",
141
+ "type": "integer",
142
+ "primaryKey": false,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "updated_at": {
147
+ "name": "updated_at",
148
+ "type": "integer",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ }
153
+ },
154
+ "indexes": {
155
+ "episodes_file_path_unique": {
156
+ "name": "episodes_file_path_unique",
157
+ "columns": [
158
+ "file_path"
159
+ ],
160
+ "isUnique": true
161
+ }
162
+ },
163
+ "foreignKeys": {
164
+ "episodes_show_id_shows_id_fk": {
165
+ "name": "episodes_show_id_shows_id_fk",
166
+ "tableFrom": "episodes",
167
+ "tableTo": "shows",
168
+ "columnsFrom": [
169
+ "show_id"
170
+ ],
171
+ "columnsTo": [
172
+ "id"
173
+ ],
174
+ "onDelete": "no action",
175
+ "onUpdate": "no action"
176
+ },
177
+ "episodes_season_id_seasons_id_fk": {
178
+ "name": "episodes_season_id_seasons_id_fk",
179
+ "tableFrom": "episodes",
180
+ "tableTo": "seasons",
181
+ "columnsFrom": [
182
+ "season_id"
183
+ ],
184
+ "columnsTo": [
185
+ "id"
186
+ ],
187
+ "onDelete": "no action",
188
+ "onUpdate": "no action"
189
+ }
190
+ },
191
+ "compositePrimaryKeys": {},
192
+ "uniqueConstraints": {},
193
+ "checkConstraints": {}
194
+ },
195
+ "favorites": {
196
+ "name": "favorites",
197
+ "columns": {
198
+ "id": {
199
+ "name": "id",
200
+ "type": "integer",
201
+ "primaryKey": true,
202
+ "notNull": true,
203
+ "autoincrement": true
204
+ },
205
+ "profile_id": {
206
+ "name": "profile_id",
207
+ "type": "integer",
208
+ "primaryKey": false,
209
+ "notNull": true,
210
+ "autoincrement": false
211
+ },
212
+ "movie_id": {
213
+ "name": "movie_id",
214
+ "type": "integer",
215
+ "primaryKey": false,
216
+ "notNull": false,
217
+ "autoincrement": false
218
+ },
219
+ "show_id": {
220
+ "name": "show_id",
221
+ "type": "integer",
222
+ "primaryKey": false,
223
+ "notNull": false,
224
+ "autoincrement": false
225
+ },
226
+ "created_at": {
227
+ "name": "created_at",
228
+ "type": "integer",
229
+ "primaryKey": false,
230
+ "notNull": true,
231
+ "autoincrement": false
232
+ }
233
+ },
234
+ "indexes": {
235
+ "favorites_profile_movie_idx": {
236
+ "name": "favorites_profile_movie_idx",
237
+ "columns": [
238
+ "profile_id",
239
+ "movie_id"
240
+ ],
241
+ "isUnique": true
242
+ },
243
+ "favorites_profile_show_idx": {
244
+ "name": "favorites_profile_show_idx",
245
+ "columns": [
246
+ "profile_id",
247
+ "show_id"
248
+ ],
249
+ "isUnique": true
250
+ }
251
+ },
252
+ "foreignKeys": {
253
+ "favorites_profile_id_profiles_id_fk": {
254
+ "name": "favorites_profile_id_profiles_id_fk",
255
+ "tableFrom": "favorites",
256
+ "tableTo": "profiles",
257
+ "columnsFrom": [
258
+ "profile_id"
259
+ ],
260
+ "columnsTo": [
261
+ "id"
262
+ ],
263
+ "onDelete": "cascade",
264
+ "onUpdate": "no action"
265
+ },
266
+ "favorites_movie_id_movies_id_fk": {
267
+ "name": "favorites_movie_id_movies_id_fk",
268
+ "tableFrom": "favorites",
269
+ "tableTo": "movies",
270
+ "columnsFrom": [
271
+ "movie_id"
272
+ ],
273
+ "columnsTo": [
274
+ "id"
275
+ ],
276
+ "onDelete": "cascade",
277
+ "onUpdate": "no action"
278
+ },
279
+ "favorites_show_id_shows_id_fk": {
280
+ "name": "favorites_show_id_shows_id_fk",
281
+ "tableFrom": "favorites",
282
+ "tableTo": "shows",
283
+ "columnsFrom": [
284
+ "show_id"
285
+ ],
286
+ "columnsTo": [
287
+ "id"
288
+ ],
289
+ "onDelete": "cascade",
290
+ "onUpdate": "no action"
291
+ }
292
+ },
293
+ "compositePrimaryKeys": {},
294
+ "uniqueConstraints": {},
295
+ "checkConstraints": {}
296
+ },
297
+ "libraries": {
298
+ "name": "libraries",
299
+ "columns": {
300
+ "id": {
301
+ "name": "id",
302
+ "type": "integer",
303
+ "primaryKey": true,
304
+ "notNull": true,
305
+ "autoincrement": true
306
+ },
307
+ "name": {
308
+ "name": "name",
309
+ "type": "text",
310
+ "primaryKey": false,
311
+ "notNull": true,
312
+ "autoincrement": false
313
+ },
314
+ "path": {
315
+ "name": "path",
316
+ "type": "text",
317
+ "primaryKey": false,
318
+ "notNull": true,
319
+ "autoincrement": false
320
+ },
321
+ "type": {
322
+ "name": "type",
323
+ "type": "text",
324
+ "primaryKey": false,
325
+ "notNull": true,
326
+ "autoincrement": false
327
+ },
328
+ "created_at": {
329
+ "name": "created_at",
330
+ "type": "integer",
331
+ "primaryKey": false,
332
+ "notNull": true,
333
+ "autoincrement": false
334
+ }
335
+ },
336
+ "indexes": {
337
+ "libraries_path_unique": {
338
+ "name": "libraries_path_unique",
339
+ "columns": [
340
+ "path"
341
+ ],
342
+ "isUnique": true
343
+ }
344
+ },
345
+ "foreignKeys": {},
346
+ "compositePrimaryKeys": {},
347
+ "uniqueConstraints": {},
348
+ "checkConstraints": {}
349
+ },
350
+ "movies": {
351
+ "name": "movies",
352
+ "columns": {
353
+ "id": {
354
+ "name": "id",
355
+ "type": "integer",
356
+ "primaryKey": true,
357
+ "notNull": true,
358
+ "autoincrement": true
359
+ },
360
+ "title": {
361
+ "name": "title",
362
+ "type": "text",
363
+ "primaryKey": false,
364
+ "notNull": true,
365
+ "autoincrement": false
366
+ },
367
+ "file_path": {
368
+ "name": "file_path",
369
+ "type": "text",
370
+ "primaryKey": false,
371
+ "notNull": true,
372
+ "autoincrement": false
373
+ },
374
+ "file_name": {
375
+ "name": "file_name",
376
+ "type": "text",
377
+ "primaryKey": false,
378
+ "notNull": true,
379
+ "autoincrement": false
380
+ },
381
+ "file_size": {
382
+ "name": "file_size",
383
+ "type": "integer",
384
+ "primaryKey": false,
385
+ "notNull": false,
386
+ "autoincrement": false
387
+ },
388
+ "extension": {
389
+ "name": "extension",
390
+ "type": "text",
391
+ "primaryKey": false,
392
+ "notNull": false,
393
+ "autoincrement": false
394
+ },
395
+ "created_at": {
396
+ "name": "created_at",
397
+ "type": "integer",
398
+ "primaryKey": false,
399
+ "notNull": true,
400
+ "autoincrement": false
401
+ },
402
+ "updated_at": {
403
+ "name": "updated_at",
404
+ "type": "integer",
405
+ "primaryKey": false,
406
+ "notNull": true,
407
+ "autoincrement": false
408
+ },
409
+ "tmdb_id": {
410
+ "name": "tmdb_id",
411
+ "type": "integer",
412
+ "primaryKey": false,
413
+ "notNull": false,
414
+ "autoincrement": false
415
+ },
416
+ "year": {
417
+ "name": "year",
418
+ "type": "integer",
419
+ "primaryKey": false,
420
+ "notNull": false,
421
+ "autoincrement": false
422
+ },
423
+ "overview": {
424
+ "name": "overview",
425
+ "type": "text",
426
+ "primaryKey": false,
427
+ "notNull": false,
428
+ "autoincrement": false
429
+ },
430
+ "runtime": {
431
+ "name": "runtime",
432
+ "type": "integer",
433
+ "primaryKey": false,
434
+ "notNull": false,
435
+ "autoincrement": false
436
+ },
437
+ "genres": {
438
+ "name": "genres",
439
+ "type": "text",
440
+ "primaryKey": false,
441
+ "notNull": false,
442
+ "autoincrement": false
443
+ },
444
+ "rating": {
445
+ "name": "rating",
446
+ "type": "real",
447
+ "primaryKey": false,
448
+ "notNull": false,
449
+ "autoincrement": false
450
+ },
451
+ "poster_path": {
452
+ "name": "poster_path",
453
+ "type": "text",
454
+ "primaryKey": false,
455
+ "notNull": false,
456
+ "autoincrement": false
457
+ },
458
+ "backdrop_path": {
459
+ "name": "backdrop_path",
460
+ "type": "text",
461
+ "primaryKey": false,
462
+ "notNull": false,
463
+ "autoincrement": false
464
+ },
465
+ "trailer_url": {
466
+ "name": "trailer_url",
467
+ "type": "text",
468
+ "primaryKey": false,
469
+ "notNull": false,
470
+ "autoincrement": false
471
+ }
472
+ },
473
+ "indexes": {
474
+ "movies_file_path_unique": {
475
+ "name": "movies_file_path_unique",
476
+ "columns": [
477
+ "file_path"
478
+ ],
479
+ "isUnique": true
480
+ }
481
+ },
482
+ "foreignKeys": {},
483
+ "compositePrimaryKeys": {},
484
+ "uniqueConstraints": {},
485
+ "checkConstraints": {}
486
+ },
487
+ "profiles": {
488
+ "name": "profiles",
489
+ "columns": {
490
+ "id": {
491
+ "name": "id",
492
+ "type": "integer",
493
+ "primaryKey": true,
494
+ "notNull": true,
495
+ "autoincrement": true
496
+ },
497
+ "name": {
498
+ "name": "name",
499
+ "type": "text",
500
+ "primaryKey": false,
501
+ "notNull": true,
502
+ "autoincrement": false
503
+ },
504
+ "emoji": {
505
+ "name": "emoji",
506
+ "type": "text",
507
+ "primaryKey": false,
508
+ "notNull": true,
509
+ "autoincrement": false
510
+ },
511
+ "created_at": {
512
+ "name": "created_at",
513
+ "type": "integer",
514
+ "primaryKey": false,
515
+ "notNull": true,
516
+ "autoincrement": false
517
+ }
518
+ },
519
+ "indexes": {
520
+ "profiles_name_unique": {
521
+ "name": "profiles_name_unique",
522
+ "columns": [
523
+ "name"
524
+ ],
525
+ "isUnique": true
526
+ }
527
+ },
528
+ "foreignKeys": {},
529
+ "compositePrimaryKeys": {},
530
+ "uniqueConstraints": {},
531
+ "checkConstraints": {}
532
+ },
533
+ "seasons": {
534
+ "name": "seasons",
535
+ "columns": {
536
+ "id": {
537
+ "name": "id",
538
+ "type": "integer",
539
+ "primaryKey": true,
540
+ "notNull": true,
541
+ "autoincrement": true
542
+ },
543
+ "show_id": {
544
+ "name": "show_id",
545
+ "type": "integer",
546
+ "primaryKey": false,
547
+ "notNull": true,
548
+ "autoincrement": false
549
+ },
550
+ "season_number": {
551
+ "name": "season_number",
552
+ "type": "integer",
553
+ "primaryKey": false,
554
+ "notNull": true,
555
+ "autoincrement": false
556
+ },
557
+ "name": {
558
+ "name": "name",
559
+ "type": "text",
560
+ "primaryKey": false,
561
+ "notNull": false,
562
+ "autoincrement": false
563
+ },
564
+ "overview": {
565
+ "name": "overview",
566
+ "type": "text",
567
+ "primaryKey": false,
568
+ "notNull": false,
569
+ "autoincrement": false
570
+ },
571
+ "poster_path": {
572
+ "name": "poster_path",
573
+ "type": "text",
574
+ "primaryKey": false,
575
+ "notNull": false,
576
+ "autoincrement": false
577
+ },
578
+ "episode_count": {
579
+ "name": "episode_count",
580
+ "type": "integer",
581
+ "primaryKey": false,
582
+ "notNull": false,
583
+ "autoincrement": false
584
+ }
585
+ },
586
+ "indexes": {},
587
+ "foreignKeys": {
588
+ "seasons_show_id_shows_id_fk": {
589
+ "name": "seasons_show_id_shows_id_fk",
590
+ "tableFrom": "seasons",
591
+ "tableTo": "shows",
592
+ "columnsFrom": [
593
+ "show_id"
594
+ ],
595
+ "columnsTo": [
596
+ "id"
597
+ ],
598
+ "onDelete": "no action",
599
+ "onUpdate": "no action"
600
+ }
601
+ },
602
+ "compositePrimaryKeys": {},
603
+ "uniqueConstraints": {},
604
+ "checkConstraints": {}
605
+ },
606
+ "sessions": {
607
+ "name": "sessions",
608
+ "columns": {
609
+ "id": {
610
+ "name": "id",
611
+ "type": "text",
612
+ "primaryKey": true,
613
+ "notNull": true,
614
+ "autoincrement": false
615
+ },
616
+ "created_at": {
617
+ "name": "created_at",
618
+ "type": "integer",
619
+ "primaryKey": false,
620
+ "notNull": true,
621
+ "autoincrement": false
622
+ },
623
+ "expires_at": {
624
+ "name": "expires_at",
625
+ "type": "integer",
626
+ "primaryKey": false,
627
+ "notNull": true,
628
+ "autoincrement": false
629
+ },
630
+ "last_seen_at": {
631
+ "name": "last_seen_at",
632
+ "type": "integer",
633
+ "primaryKey": false,
634
+ "notNull": true,
635
+ "autoincrement": false
636
+ },
637
+ "user_agent": {
638
+ "name": "user_agent",
639
+ "type": "text",
640
+ "primaryKey": false,
641
+ "notNull": false,
642
+ "autoincrement": false
643
+ }
644
+ },
645
+ "indexes": {},
646
+ "foreignKeys": {},
647
+ "compositePrimaryKeys": {},
648
+ "uniqueConstraints": {},
649
+ "checkConstraints": {}
650
+ },
651
+ "shows": {
652
+ "name": "shows",
653
+ "columns": {
654
+ "id": {
655
+ "name": "id",
656
+ "type": "integer",
657
+ "primaryKey": true,
658
+ "notNull": true,
659
+ "autoincrement": true
660
+ },
661
+ "title": {
662
+ "name": "title",
663
+ "type": "text",
664
+ "primaryKey": false,
665
+ "notNull": true,
666
+ "autoincrement": false
667
+ },
668
+ "folder_path": {
669
+ "name": "folder_path",
670
+ "type": "text",
671
+ "primaryKey": false,
672
+ "notNull": true,
673
+ "autoincrement": false
674
+ },
675
+ "tmdb_id": {
676
+ "name": "tmdb_id",
677
+ "type": "integer",
678
+ "primaryKey": false,
679
+ "notNull": false,
680
+ "autoincrement": false
681
+ },
682
+ "year": {
683
+ "name": "year",
684
+ "type": "integer",
685
+ "primaryKey": false,
686
+ "notNull": false,
687
+ "autoincrement": false
688
+ },
689
+ "overview": {
690
+ "name": "overview",
691
+ "type": "text",
692
+ "primaryKey": false,
693
+ "notNull": false,
694
+ "autoincrement": false
695
+ },
696
+ "genres": {
697
+ "name": "genres",
698
+ "type": "text",
699
+ "primaryKey": false,
700
+ "notNull": false,
701
+ "autoincrement": false
702
+ },
703
+ "rating": {
704
+ "name": "rating",
705
+ "type": "real",
706
+ "primaryKey": false,
707
+ "notNull": false,
708
+ "autoincrement": false
709
+ },
710
+ "poster_path": {
711
+ "name": "poster_path",
712
+ "type": "text",
713
+ "primaryKey": false,
714
+ "notNull": false,
715
+ "autoincrement": false
716
+ },
717
+ "backdrop_path": {
718
+ "name": "backdrop_path",
719
+ "type": "text",
720
+ "primaryKey": false,
721
+ "notNull": false,
722
+ "autoincrement": false
723
+ },
724
+ "created_at": {
725
+ "name": "created_at",
726
+ "type": "integer",
727
+ "primaryKey": false,
728
+ "notNull": true,
729
+ "autoincrement": false
730
+ },
731
+ "updated_at": {
732
+ "name": "updated_at",
733
+ "type": "integer",
734
+ "primaryKey": false,
735
+ "notNull": true,
736
+ "autoincrement": false
737
+ }
738
+ },
739
+ "indexes": {
740
+ "shows_folder_path_unique": {
741
+ "name": "shows_folder_path_unique",
742
+ "columns": [
743
+ "folder_path"
744
+ ],
745
+ "isUnique": true
746
+ }
747
+ },
748
+ "foreignKeys": {},
749
+ "compositePrimaryKeys": {},
750
+ "uniqueConstraints": {},
751
+ "checkConstraints": {}
752
+ },
753
+ "watch_progress": {
754
+ "name": "watch_progress",
755
+ "columns": {
756
+ "id": {
757
+ "name": "id",
758
+ "type": "integer",
759
+ "primaryKey": true,
760
+ "notNull": true,
761
+ "autoincrement": true
762
+ },
763
+ "profile_id": {
764
+ "name": "profile_id",
765
+ "type": "integer",
766
+ "primaryKey": false,
767
+ "notNull": true,
768
+ "autoincrement": false
769
+ },
770
+ "movie_id": {
771
+ "name": "movie_id",
772
+ "type": "integer",
773
+ "primaryKey": false,
774
+ "notNull": false,
775
+ "autoincrement": false
776
+ },
777
+ "episode_id": {
778
+ "name": "episode_id",
779
+ "type": "integer",
780
+ "primaryKey": false,
781
+ "notNull": false,
782
+ "autoincrement": false
783
+ },
784
+ "current_time": {
785
+ "name": "current_time",
786
+ "type": "integer",
787
+ "primaryKey": false,
788
+ "notNull": true,
789
+ "autoincrement": false
790
+ },
791
+ "duration": {
792
+ "name": "duration",
793
+ "type": "integer",
794
+ "primaryKey": false,
795
+ "notNull": false,
796
+ "autoincrement": false
797
+ },
798
+ "updated_at": {
799
+ "name": "updated_at",
800
+ "type": "integer",
801
+ "primaryKey": false,
802
+ "notNull": true,
803
+ "autoincrement": false
804
+ }
805
+ },
806
+ "indexes": {
807
+ "watch_progress_profile_movie_idx": {
808
+ "name": "watch_progress_profile_movie_idx",
809
+ "columns": [
810
+ "profile_id",
811
+ "movie_id"
812
+ ],
813
+ "isUnique": true
814
+ },
815
+ "watch_progress_profile_episode_idx": {
816
+ "name": "watch_progress_profile_episode_idx",
817
+ "columns": [
818
+ "profile_id",
819
+ "episode_id"
820
+ ],
821
+ "isUnique": true
822
+ }
823
+ },
824
+ "foreignKeys": {
825
+ "watch_progress_profile_id_profiles_id_fk": {
826
+ "name": "watch_progress_profile_id_profiles_id_fk",
827
+ "tableFrom": "watch_progress",
828
+ "tableTo": "profiles",
829
+ "columnsFrom": [
830
+ "profile_id"
831
+ ],
832
+ "columnsTo": [
833
+ "id"
834
+ ],
835
+ "onDelete": "cascade",
836
+ "onUpdate": "no action"
837
+ },
838
+ "watch_progress_movie_id_movies_id_fk": {
839
+ "name": "watch_progress_movie_id_movies_id_fk",
840
+ "tableFrom": "watch_progress",
841
+ "tableTo": "movies",
842
+ "columnsFrom": [
843
+ "movie_id"
844
+ ],
845
+ "columnsTo": [
846
+ "id"
847
+ ],
848
+ "onDelete": "no action",
849
+ "onUpdate": "no action"
850
+ },
851
+ "watch_progress_episode_id_episodes_id_fk": {
852
+ "name": "watch_progress_episode_id_episodes_id_fk",
853
+ "tableFrom": "watch_progress",
854
+ "tableTo": "episodes",
855
+ "columnsFrom": [
856
+ "episode_id"
857
+ ],
858
+ "columnsTo": [
859
+ "id"
860
+ ],
861
+ "onDelete": "no action",
862
+ "onUpdate": "no action"
863
+ }
864
+ },
865
+ "compositePrimaryKeys": {},
866
+ "uniqueConstraints": {},
867
+ "checkConstraints": {}
868
+ }
869
+ },
870
+ "views": {},
871
+ "enums": {},
872
+ "_meta": {
873
+ "schemas": {},
874
+ "tables": {},
875
+ "columns": {}
876
+ },
877
+ "internal": {
878
+ "indexes": {}
879
+ }
880
+ }