diff --git a/packages/nodes-base/nodes/Postgres/v2/methods/listSearch.ts b/packages/nodes-base/nodes/Postgres/v2/methods/listSearch.ts index f0f60ea49b..f6d62c124e 100644 --- a/packages/nodes-base/nodes/Postgres/v2/methods/listSearch.ts +++ b/packages/nodes-base/nodes/Postgres/v2/methods/listSearch.ts @@ -1,7 +1,7 @@ import type { ILoadOptionsFunctions, INodeListSearchResult } from 'n8n-workflow'; -import type { PostgresNodeCredentials } from '../helpers/interfaces'; import { configurePostgres } from '../../transport'; +import type { PostgresNodeCredentials } from '../helpers/interfaces'; export async function schemaSearch(this: ILoadOptionsFunctions): Promise { const credentials = await this.getCredentials('postgres'); diff --git a/packages/nodes-base/nodes/Postgres/v2/methods/loadOptions.ts b/packages/nodes-base/nodes/Postgres/v2/methods/loadOptions.ts index ba15b0fd28..ecd7f374f3 100644 --- a/packages/nodes-base/nodes/Postgres/v2/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/Postgres/v2/methods/loadOptions.ts @@ -1,8 +1,8 @@ import type { ILoadOptionsFunctions, INodePropertyOptions } from 'n8n-workflow'; +import { configurePostgres } from '../../transport'; import type { PostgresNodeCredentials } from '../helpers/interfaces'; import { getTableSchema } from '../helpers/utils'; -import { configurePostgres } from '../../transport'; export async function getColumns(this: ILoadOptionsFunctions): Promise { const credentials = await this.getCredentials('postgres'); diff --git a/packages/nodes-base/nodes/Postgres/v2/methods/resourceMapping.ts b/packages/nodes-base/nodes/Postgres/v2/methods/resourceMapping.ts index c6393abeb6..3319bdf2f6 100644 --- a/packages/nodes-base/nodes/Postgres/v2/methods/resourceMapping.ts +++ b/packages/nodes-base/nodes/Postgres/v2/methods/resourceMapping.ts @@ -1,8 +1,8 @@ import type { ILoadOptionsFunctions, ResourceMapperFields, FieldType } from 'n8n-workflow'; +import { configurePostgres } from '../../transport'; import type { PostgresNodeCredentials } from '../helpers/interfaces'; import { getEnumValues, getEnums, getTableSchema, uniqueColumns } from '../helpers/utils'; -import { configurePostgres } from '../../transport'; const fieldTypeMapping: Partial> = { string: ['text', 'varchar', 'character varying', 'character', 'char'],