grunt-knex-schema
v2.3.1
Published
Grunt tasks for knex-schema utility
Downloads
4
Readme
grunt-knex-schema
Grunt knex-schema tasks.
Install
npm install grunt-knex-schema
Usage
grunt knexschema:sync
grunt knexschema:populate
grunt knexschema:reset
grunt knexschema:drop
Gruntfile
Gruntfile options:
module.exports = function(grunt) {
grunt.initConfig({
knexschema: {
database: {
client: 'sqlite',
connection: {
filename: ':memory:'
}
},
paths: ['path-to-schemas/*.js']
}
});
grunt.loadNpmTasks('grunt-knex-schema');
};
License
MIT