This package has been deprecated

Author message:

Package no longer supported. Contact support@npmjs.com for more info.

grunt1-knex-schema

3.1.2 • 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

Readme

Keywords

Package Sidebar

Install

npm i grunt1-knex-schema

Weekly Downloads

2

Version

3.1.2

License

MIT

Last publish

Collaborators

  • npm