From 92618af69c23b511937f10be48eeba3b2c7a7ded Mon Sep 17 00:00:00 2001 From: sophiamersmann Date: Wed, 24 Jan 2024 15:17:20 +0000 Subject: [PATCH] :honeybee: fix imports --- db/db.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/db/db.ts b/db/db.ts index cdd1b468f29..fb04c286fdd 100644 --- a/db/db.ts +++ b/db/db.ts @@ -10,10 +10,6 @@ import { GRAPHER_DB_PORT, } from "../settings/serverSettings.js" import { registerExitHandler } from "./cleanup.js" -import { - PostsGdocsXImagesRow, - PostsGdocsXImagesRowTableName, -} from "./sql-ts/Database.js" let typeormDataSource: DataSource export const getConnection = async ( @@ -109,10 +105,6 @@ export const knexInstance = (): Knex => { return _knexInstance } -// export const bla = knexInstance() -// .from(PostsGdocsXImagesRowTableName) -// .select("gdocId") - export const knexTable = (table: string): Knex.QueryBuilder => knexInstance().table(table)