exports.up = function(knex) { return knex.schema.createTable('tipo_documento', function(table) { table.integer('id').unsigned().primary(); table.string('descripcion'); table.string('orden'); table.boolean('activo'); }); }; exports.down = function(knex, Promise) { return knex.schema.dropTable('tipo_documento'); };