exports.up = function(knex, Promise) { return knex.schema.createTable('folders', function (table) { table.increments() table.string('name') table.string('datatype') // video, audio, audio spectrogram table.string('username') table.string('activity') table.string('module') table.string('checkpoint') table.json('opt') table.timestamps() }) }; exports.down = function(knex, Promise) { return knex.schema.dropTable('folders') };