Last active
April 18, 2020 16:21
-
-
Save pookdeveloper/45a1d7652a2216de8ccd9d04e3545eb3 to your computer and use it in GitHub Desktop.
typeORM ormconfig.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "mysql", | |
"host": "localhost", | |
"port": 3306, | |
"username": "root", | |
"password": "admin", | |
"database": "mydatabase", | |
"synchronize": false, | |
"logging": true, | |
"entities": [ | |
"common/entity/**/*.ts" | |
], | |
"migrations": [ | |
"common/migration/**/*.ts" | |
], | |
"subscribers": [ | |
"common/subscriber/**/*.ts" | |
], | |
"cli": { | |
"entitiesDir": "common/entity", | |
"migrationsDir": "common/migration", | |
"subscribersDir": "common/subscriber" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment