exports.up = function(knex, Promise) { return knex.schema.createTable('tasks', function (table) { table.increments() table.integer('job_id') table.string('username') table.boolean('completed') table.string('command') table.integer('content_file_id') table.integer('style_file_id') table.string('alpha') table.timestamps() }) }; exports.down = function(knex, Promise) { return knex.schema.dropTable('tasks') };