exports.up = function(knex, Promise) { return knex.schema.createTable('plops', function (table) { table.increments(); table.string('url'); table.string('ip'); table.timestamps(); }) }; exports.down = function(knex, Promise) { return knex.schema.dropTable('plops') };