แก้บันทึกผลประวัติตำแหน่ง
This commit is contained in:
parent
750082e354
commit
34ebeac747
2 changed files with 81 additions and 66 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue