Commit 14ce01b4 authored by nanahira's avatar nanahira

Merge branch 'master' into file-relation

parents 6d9ac336 22b39682
...@@ -298,7 +298,6 @@ export class AppService extends ConsoleLogger { ...@@ -298,7 +298,6 @@ export class AppService extends ConsoleLogger {
await this.db.transaction(async (edb) => { await this.db.transaction(async (edb) => {
//const archives = await edb.getRepository(Archive).find({ where: { build } }); //const archives = await edb.getRepository(Archive).find({ where: { build } });
//await edb.getRepository(ArchiveFile).delete({ archive: In(archives) }); //await edb.getRepository(ArchiveFile).delete({ archive: In(archives) });
//await edb.getRepository(Archive).delete({ build });
await edb.getRepository(Build).delete(build); await edb.getRepository(Build).delete(build);
}); });
return new BlankReturnMessageDto(200, 'success'); return new BlankReturnMessageDto(200, 'success');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment