update migration to delete xatab repacks as well

This commit is contained in:
Zamitto 2024-05-17 19:00:01 -03:00
parent 3b7725d774
commit f8770a03f7

View File

@ -22,7 +22,9 @@ export class FixRepackUploadDate1715900413313 implements MigrationInterface {
`INSERT INTO repack_temp (title, old_id) SELECT title, id FROM repack WHERE repacker IN ('onlinefix', 'Xatab');`
);
await queryRunner.query(`DELETE FROM repack WHERE repacker = 'onlinefix';`);
await queryRunner.query(
`DELETE FROM repack WHERE repacker IN ('onlinefix', 'Xatab');`
);
const updateDataSource = createDataSource({
database: app.isPackaged