slate/scripts/adjust.js

16 lines
331 B
JavaScript

import configs from "~/knexfile";
import knex from "knex";
const envConfig = configs["development"];
console.log(`SETUP: database`, envConfig);
const db = knex(envConfig);
console.log(`RUNNING: adjust.js`);
Promise.all([]);
console.log(`FINISHED: seed-database.js`);
console.log(` CTRL +C to return to terminal.`);