exports.up = function(knex, Promise) { return Promise.all([ 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 Promise.all([ knex.schema.dropTable('tipo_documento') ]); };