mirror of
https://github.com/captbaritone/webamp.git
synced 2026-11-09 17:10:33 -10:00
6 lines
165 B
TypeScript
6 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"]);
|