17 lines
386 B
JavaScript
17 lines
386 B
JavaScript
const env = process.env.NODE_ENV;
|
|
module.exports = {
|
|
"type": "mysql",
|
|
"host": "localhost",
|
|
"port": 3306,
|
|
"username": "root",
|
|
"password": "123456",
|
|
"database": "binyi",
|
|
"entities": ["./src/entity/*.ts"],
|
|
"migrations": ["src/migration/*.ts"],
|
|
"synchronize": true,
|
|
"logging": false,
|
|
"cli": {
|
|
"entitiesDir": "src/entity",
|
|
"migrationsDir": "src/migration"
|
|
}
|
|
} |