exports.up = function(knex, Promise) { return Promise.all([ knex.schema.createTable('parametros', function(table) { table.increments(); table.string('modulo'); table.string('jsonText', [4000]); table.string('jsonText2', [4000]); }) ]); }; exports.down = function(knex, Promise) { return Promise.all([ knex.schema.dropTable('parametros') ]); };