function createIrreversibleMigration(up) {
    return {
        config: {
            irreversible: true
        },
        async up(config) {
            await up(config.connection);
        },
        async down() {
            return Promise.reject();
        }
    };
}
@param {(connection: import('knex').Knex) => Promise<void>} up

@returns {Migration}