create valid relay schema.json

This commit is contained in:
Eric Hulburd
2016-01-31 17:18:27 -06:00
parent 2c42090cd9
commit c0efde030d
20 changed files with 90004 additions and 266 deletions

View File

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