make update schema gulp task

This commit is contained in:
Eric Hulburd
2016-01-31 18:08:42 -06:00
parent 51a0e40f55
commit 8af7d33d08
9 changed files with 58 additions and 106 deletions

View File

@@ -1,7 +1,9 @@
import gulp from 'gulp';
import yargs from 'yargs';
import DB from './config/database';
import {PowerDataSeed, HouseSeed, UserSeed} from './lib/tasks/seed_data'
import {PowerDataSeed, HouseSeed, UserSeed} from './lib/tasks/seed_data';
import updateSchema from './lib/tasks/update_schema';
gulp.task('generate_power_csv', function(done){
DB.sync().then(()=>{