Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [{
- "name": "default",
- "type": "postgres",
- "host": "localhost",
- "port": 5432,
- "username": "username",
- "password": "",
- "database": "database",
- "entities": [
- "build/entity/**/*.js"
- ],
- "migrations": [
- "build/migration/**/*.js"
- ],
- "synchronize": false,
- "autoSchemaSync": true,
- "logging": false,
- "cli": {
- "migrationsDir": "src/migration",
- "entitiesDir": "src/entity",
- "subscribersDir": "src/subscriber"
- }
- },
- {
- "name": "test",
- "type": "postgres",
- "host": "localhost",
- "port": 5432,
- "username": "username",
- "password": "",
- "database": "database-test",
- "entities": [
- "build/entity/**/*.js"
- ],
- "migrations": [
- "build/migration/**/*.js"
- ],
- "synchronize": false,
- "autoSchemaSync": true,
- "logging": false,
- "cli": {
- "migrationsDir": "src/migration",
- "entitiesDir": "src/entity",
- "subscribersDir": "src/subscriber"
- }
- }]
- typeorm migrations:run -c test
Add Comment
Please, Sign In to add comment