exports.up = function(knex, Promise) { return knex.schema .table('vehiculo', function(table) { table.dropColumn('idUsuarioProceso'); }) .table('cisterna_carga', function(table) { table.bigInteger('idUsuarioProceso'); table.boolean('confirmado'); }); }; exports.down = function(knex, Promise) { return knex.schema .table('vehiculo', function(table) { table.bigint('idUsuarioProceso').unsigned(); }) .table('cisterna_carga', function(table) { table.dropColumns('idUsuarioProceso', 'confirmado'); }); };