'use strict'; const defaults = require ('../lib/defaults'); async function up (knex) { await knex.schema.table ('app', (t) => { t.string ('reduction'); }); await knex.schema.table ('log', (t) => { t.integer ('reduction'); }); await knex ('app') .update ({ reduction: defaults.app.reduction }); } function down () { // noop } module.exports = { up, down };