diff --git a/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts b/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts index fd0be5e..722d853 100644 --- a/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts +++ b/src/migrations/ReplaceTtlWithExpiresAtFilesTable.ts @@ -1,6 +1,5 @@ import Migration from "swaf/db/Migration"; import FileModel from "../models/FileModel"; -import {logger} from "swaf/Logger"; export default class ReplaceTtlWithExpiresAtFilesTable extends Migration { public async install(): Promise { @@ -9,7 +8,6 @@ export default class ReplaceTtlWithExpiresAtFilesTable extends Migration { const files = await FileModel.select().get(); for (const file of files) { - logger.debug(file); if (file.created_at && typeof file.ttl === 'number' && file.ttl > 0) { file.expires_at = new Date(file.created_at.getTime() + file.ttl * 1000); }