exports.up = function(knex, Promise) { return knex.schema.createTable('datasets', function (table) { table.increments() table.string('username') table.boolean('completed') table.boolean('processing') table.string('status') table.string('activity') table.string('module') table.string('checkpoint') table.string('dataset') table.json('opt') table.timestamps() }) }; exports.down = function(knex, Promise) { return knex.schema.dropTable('datasets') };