mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Try falling back to test
This commit is contained in:
parent
3cad5d280e
commit
d5a3b8646f
1 changed files with 1 additions and 3 deletions
|
|
@ -2,6 +2,4 @@ import Knex from "knex";
|
|||
import * as knexConfigs from "./knexfile";
|
||||
import { NODE_ENV } from "./config";
|
||||
|
||||
throw new Error(`NODE_ENV: ${NODE_ENV}`);
|
||||
|
||||
export const knex = Knex(knexConfigs[NODE_ENV]);
|
||||
export const knex = Knex(knexConfigs[NODE_ENV ?? "test"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue