correct cascade delete options
This commit is contained in:
parent
e33dfdb845
commit
b1b714f44e
19 changed files with 207 additions and 52 deletions
|
|
@ -24,7 +24,7 @@ export const AppDataSource = new DataSource({
|
|||
|
||||
synchronize: NODE_ENV === "dev" ? false : false,
|
||||
//logging logs sql command on the terminal
|
||||
logging: NODE_ENV === "dev" ? false : false,
|
||||
logging: NODE_ENV === "dev" ? ["query", "error"] : false,
|
||||
entities: [join(__dirname, "/entities/*.{js, ts}")],
|
||||
migrations: [join(__dirname, "/migrations/*.js")],
|
||||
subscribers: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue