Last active
April 1, 2022 04:11
-
-
Save ZohebMOPO/83f333de2c1012dbd27d014426a94b67 to your computer and use it in GitHub Desktop.
my typeorm config
This file contains 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
default: # default connection | |
type: "postgres" | |
host: "localhost" | |
port: 5432 | |
username: "root" | |
password: "postgres" | |
database: "cool-app" | |
synchronize: true | |
logging: false | |
entities: ["src/entity/**/*.ts"] | |
migrations: ["src/migration/**/*.ts"] | |
subscribers: ["src/subscriber/**/*.ts"] | |
cli: | |
entitiesDir: "src/entity" | |
migrationsDir: "src/migration" | |
subscribersDir: "src/subscriber" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment