แก้ไฟล์ build

This commit is contained in:
Kittapath 2024-01-26 16:05:18 +07:00
parent 87c856b372
commit 7e792b59a7
4 changed files with 126 additions and 25 deletions

View file

@ -9,7 +9,7 @@ export const AppDataSource = new DataSource({
port: +(process.env.DB_PORT || 3306),
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
synchronize: true,
synchronize: false,
logging: true,
entities: ["src/entities/**/*.ts"],
migrations: ["src/migration/**/*.ts"],