v0.2.0
Allow to add a custom prefix; improve the supported type coverage.
updateTypes({
output: `./types.ts`,
// Inject a custom import at the top of the generated file
prefix: `import { PostgresInterval } from "postgres-interval";`
});
Drop generation of EntityRecord
types, use Knex.DbRecord<Entity>
instead.