import * as Knex from 'knex' ; const funding = 'funding' ; const transferredOut = 'transferred_out' ; export async function up ( knex ) { await knex . schema . alterTable ( funding , table => { table . specificType ( transferredOut , 'jsonb' ) . notNullable ( ) . defaultTo ( '[]' ) ; } ) ; } export async function down ( knex ) { await knex . schema . dropTable ( transferredOut ) ; }