แก้บันทึกผลประวัติตำแหน่ง

This commit is contained in:
kittapath 2025-03-10 12:52:52 +07:00
parent 750082e354
commit 34ebeac747
2 changed files with 81 additions and 66 deletions

View file

@ -34,9 +34,9 @@ export class MyCustomLogger implements Logger {
export const AppDataSource = new DataSource({
type: "mysql",
extra: {
timezone: "Asia/Bangkok", // Set to Bangkok timezone
},
// extra: {
// timezone: "Asia/Bangkok", // Set to Bangkok timezone
// },
database: process.env.DB_NAME,
host: process.env.DB_HOST,
port: +(process.env.DB_PORT || 3306),