You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
487 B
JavaScript

'use strict';
module.exports = {
up: function createInvalidTypeTable(knex, errorHandler) {
return knex.schema.createTable("invalid_type", (table) => {
table.increments("id");
table.integer("age");
table.text("name");
table.boolean("active");
}).catch(errorHandler);
},
down: function dropInvalidTypeTable(knex, errorHandler) {
return knex.schema.dropTable("invalid_type").catch(errorHandler);
}
};