import { Knex } from 'knex' ; import Client_Oracledb from 'knex/lib/dialects/oracledb' ; export async function up ( knex ) { if ( knex . client instanceof Client_Oracledb ) { return ; } await knex . schema . alterTable ( 'directus_webhooks' , ( table ) => { table . text ( 'url' ) . notNullable ( ) . alter ( ) ; } ) ; } export async function down ( knex ) { if ( knex . client instanceof Client_Oracledb ) { return ; } await knex . schema . alterTable ( 'directus_webhooks' , ( table ) => { table . text ( 'url' ) . alter ( ) ; } ) ; }