mmkal/pgkit

migrator constructor doesnt allow for schema prefix

DanielFGray opened this issue · 1 comments

rather than assuming on the default public postgres schema, the constructor should allow users to define a different schema for the migrations table to live in, separate from the schema that the migrator populates tables in

mmkal commented

You can pass an array instead. e.g. migrationsTableName: ['something_other_than_public', 'migrations']

an improvement to the docs would be greatly appreciated!