exports.up = function(knex) { return knex.schema.table('hoja_ruta', function(table) { //0=disponible 1=asignado 2=terminado table.integer('estado').unsigned(); table.date('fechaReparto'); }); }; exports.down = function(knex) { return knex.schema.table('hoja_ruta', function(table) { table.dropColumn('estado'); table.dropColumn('fechaReparto'); }) };