require( '../../start/db' )();

var Setting = require( '../../models/setting' );

exports.seed = function( knex, Promise ) {
    return new Setting().save({
        name: 'defaultInterval',
        value: 60000
    });
};
exports.seed = function( knex, Promise ) {
    return knex( 'settings' ).insert({
        name: 'defaultInterval',
        value: 60000
    });
};
Use raw knex for db seeding
Use raw knex for db seeding
