api apikeyhistory

This commit is contained in:
kittapath 2024-12-04 21:18:10 +07:00
parent f7653aa4cf
commit 62f803f3e3
5 changed files with 87 additions and 2 deletions

View file

@ -41,7 +41,7 @@ export const AppDataSource = new DataSource({
password: process.env.DB_PASSWORD,
connectorPackage: "mysql2",
synchronize: false,
logging: ["query", "error"],
logging: true,
entities:
process.env.NODE_ENV !== "production"
? ["src/entities/**/*.ts"]