import * as Knex from 'knex' ; const tableName = 'objectives' ; export async function up ( knex ) { await knex . schema . alterTable ( tableName , table => { table . string ( 'waiting_for' ) . notNullable ( ) . defaultTo ( '' ) ; } ) ; } export async function down ( knex ) { await knex . schema . alterTable ( tableName , table => { table . dropColumn ( 'waiting_for' ) ; } ) ; }