grunt-knex-schema

2.3.1 • Public • Published

grunt-knex-schema

Build Status Dependency Status devDependency Status Coverage Status

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

/grunt-knex-schema/

    Package Sidebar

    Install

    npm i grunt-knex-schema

    Weekly Downloads

    13

    Version

    2.3.1

    License

    MIT

    Last publish

    Collaborators

    • neoziro
    • dolmac
    • sachamorard
    • jsfez
    • mbar
    • ludowic
    • icandivideby0
    • salper