mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 10:15:31 +00:00
5 lines
165 B
TypeScript
5 lines
165 B
TypeScript
import Knex from "knex";
|
|
import * as knexConfigs from "./knexfile";
|
|
import { NODE_ENV } from "./config";
|
|
|
|
export const knex = Knex(knexConfigs[NODE_ENV ?? "test"]);
|