#! /usr/bin/env node
var ioc = require('./cli-app');

var knex = require('../lib/knex');

if (process.env.NODE_ENV === 'production') {
  console.log('In production. Not going to drop tables.');
} else {
  knex.schema
    .raw('DROP SCHEMA public CASCADE')
    .raw('CREATE SCHEMA public')
    .then(() => {
      console.log('Dropped tables');
      process.exit(0);
    });
}

@@ -14,16 +14,57 @@
 nv node%0A
+const logger = require('../lib/logger');%0A
 var ioc 
@@ -171,27 +171,27 @@
 n') %7B%0A  
-console.log
+logger.warn
 ('In pro
@@ -351,19 +351,19 @@
     
-console.log
+logger.info
 ('Dr

Add Winston logger to drop-tables