upgrade to node 16, add search by full product id (#84)
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
StartedTestContainer,
|
||||
Wait,
|
||||
} from 'testcontainers';
|
||||
import Knex from 'knex';
|
||||
import { Knex, knex } from 'knex';
|
||||
// import knexTinyLogger from 'knex-tiny-logger';
|
||||
|
||||
export const DbNetworkName = 'postgres_container';
|
||||
@@ -26,7 +26,7 @@ const runFile = async (db, file) => {
|
||||
const createKnexDb = (host: string, mappedPort: number, database: string) => {
|
||||
const connection = `postgresql://testuser:test@${host}:${mappedPort}/${database}`;
|
||||
// console.log(`connection`, connection);
|
||||
const db = Knex({
|
||||
const db = knex({
|
||||
client: 'pg',
|
||||
connection: connection,
|
||||
pool: { min: 0 },
|
||||
|
||||
Reference in New Issue
Block a user