exports.up = function(knex, Promise) { return Promise.all([ knex.schema.table('APAREMP', function(table) { table.decimal('latitud', 10, 7); table.decimal('longitud', 10, 7); }) ]) }; exports.down = function(knex, Promise) { return Promise.all([ knex.schema.table('APAREMP', function(table) { table.dropColumn('latitud'); table.dropColumn('longitud'); }) ]) };