diff --git a/migrations/1673603746273-CreateTorrentsTableAndRelateToFiles.ts b/migrations/1673603746273-CreateTorrentsTableAndRelateToFiles.ts index d36ce27..c59f344 100644 --- a/migrations/1673603746273-CreateTorrentsTableAndRelateToFiles.ts +++ b/migrations/1673603746273-CreateTorrentsTableAndRelateToFiles.ts @@ -9,7 +9,7 @@ export class CreateTorrentsTableAndRelateToFiles1673603746273 ); await queryRunner.query( - `create unique index file_torrent_id + `create index file_torrent_id on files (torrent_id);`, );