import { Base , CallbackFunction } from 'db-migrate-base' ; export function up ( db , callback ) { const createTableOptions = { columns : { token : 'string' , kind : 'string' , channelId : { type : 'string' , notNull : true } } , ifNotExists : true } ; db . createTable ( 'token' , createTableOptions , callback ) ; } export function down ( db , callback ) { db . dropTable ( 'token' , callback ) ; }