mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
update migration to delete xatab repacks as well
This commit is contained in:
parent
3b7725d774
commit
f8770a03f7
@ -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');`
|
`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({
|
const updateDataSource = createDataSource({
|
||||||
database: app.isPackaged
|
database: app.isPackaged
|
||||||
|
Loading…
Reference in New Issue
Block a user