20190121125737_v0.6.16.js
696 Bytes
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');
})
])
};