const Promise = require('bluebird');
const db = require('./lib/db');

Promise.resolve()
  .then( () => db.startup() )
  .then( () => db.sqlite().migrate() )
  .catch( err => console.log(err) );

const Promise = require('bluebird');
const db = require('../lib/db');

Promise.resolve()
  .then( () => db.startup() )
  .then( () => db.sqlite().migrate() )
  .catch( err => console.log(err) );

Fix path to lib dir since this script moved
Fix path to lib dir since this script moved
