fullcube / loopback-component-migrate

Migration framework for loopback
43 stars 30 forks source link

migrationsDir should accept relative path #9

Closed mrfelton closed 7 years ago

mrfelton commented 7 years ago

Currently, migrationsDir expects an absolute path (even though the default value of server/migrations is relative). Path should be relative to the application root.

gijo-varghese commented 6 years ago

@mrfelton is this fixed? For me its generating in the root folder. Not inside server.

my config:

"loopback-component-migrate": {
    "dataSource": "postgres",
    "migrationsDir": "server/migrations"
  }