diff --git a/src/database/connection.ts b/src/database/connection.ts index 18ea63a..87fee13 100644 --- a/src/database/connection.ts +++ b/src/database/connection.ts @@ -1,9 +1,9 @@ import { Sequelize } from "sequelize"; import { isEnableLogging, isTestingEnvironment } from "../constants"; -const storage = isTestingEnvironment ? ':memory:' : '../infra/database.db' +const storage = isTestingEnvironment ? ':memory:' : './src/infra/database.db' -const logsStorage = isTestingEnvironment ? ':memory:' : '../infra/database-logs.db' +const logsStorage = isTestingEnvironment ? ':memory:' : './src/infra/database-logs.db' export const storageSequelize = new Sequelize({