properly mark unused params

This commit is contained in:
Rory&
2026-03-14 03:59:28 +01:00
parent 27cb026967
commit a451f92e67
27 changed files with 78 additions and 39 deletions
+1 -1
View File
@@ -719,7 +719,7 @@ export class initial0 implements MigrationInterface {
await queryRunner.query(`ALTER TABLE ONLY public.team_members ADD CONSTRAINT "FK_fdad7d5768277e60c40e01cdcea" FOREIGN KEY (team_id) REFERENCES public.teams(id) ON DELETE CASCADE;`);
}
public async down(queryRunner: QueryRunner): Promise<void> {
public async down(_: QueryRunner): Promise<void> {
throw new Error("Can't revert this: just throw away your database lol");
}
}
@@ -6,5 +6,5 @@ export class DeleteBotUsersWithoutAnApplication1761113394664 implements Migratio
await queryRunner.query(`DELETE FROM users WHERE bot = true AND id NOT IN (SELECT bot_user_id FROM applications);`);
}
public async down(queryRunner: QueryRunner): Promise<void> {}
public async down(_: QueryRunner): Promise<void> {}
}