exports.up = function(knex, Promise) { return Promise.all([ knex.schema .table('articulo_remito', function(table) { table.integer('cantidadDescargada'); }).table('remito', function(table) { table.boolean('rechazado'); table.string('motivoRechazo'); }) ]) }; exports.down = function(knex, Promise) { return Promise.all([ knex.schema .table('articulo_remito', function(table) { table.dropColumn('cantidadDescargada'); }).table('remito', function(table) { table.dropColumns('rechazado', 'motivoRechazo'); }) ]) };