diff --git a/package.json b/package.json index eafda2a8..266f1094 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typeorm-seeding", - "version": "1.4.4", + "version": "1.6.0", "description": "🌱 A delightful way to seed test data into your database.", "license": "MIT", "author": "Gery Hirschfeld (https://github.com/hirsch88)", diff --git a/src/connection.ts b/src/connection.ts index 073bec12..53888018 100644 --- a/src/connection.ts +++ b/src/connection.ts @@ -44,7 +44,7 @@ export const configureConnection = (option: ConfigureOption = {}) => { } } -export const setConnectionOptions = (options: TypeORMConnectionOptions): void => { +export const setConnectionOptions = (options: Partial): void => { ;(global as any)[KEY].overrideConnectionOptions = options }