fix: showing multiple download options

This commit is contained in:
Chubby Granny Chaser 2024-08-18 01:39:50 +01:00
parent c218070463
commit 42ea35441c
No known key found for this signature in database
17 changed files with 118 additions and 98 deletions

View file

@ -16,11 +16,14 @@ export class Repack {
@Column("text", { unique: true })
title: string;
@Column("text", { unique: true })
/**
* @deprecated Use uris instead
*/
@Column("text", { unique: true, nullable: true })
magnet: string;
/**
* @deprecated
* @deprecated Direct scraping capability has been removed
*/
@Column("int", { nullable: true })
page: number;
@ -37,6 +40,9 @@ export class Repack {
@ManyToOne(() => DownloadSource, { nullable: true, onDelete: "CASCADE" })
downloadSource: DownloadSource;
@Column("text")
uris: string;
@CreateDateColumn()
createdAt: Date;