mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-24 06:45:59 +03:00
10 lines
224 B
JavaScript
10 lines
224 B
JavaScript
import * as Environment from "~/node_common/environment";
|
|
|
|
import configs from "~/knexfile";
|
|
import knex from "knex";
|
|
|
|
const envConfig = configs[Environment.NODE];
|
|
const Database = knex(envConfig);
|
|
|
|
export default Database;
|