function addPermission(config) {
    return createTransactionalMigration(
        async function up(connection) {
            await addPermissionHelper(connection, config);
        },
        async function down(connection) {
            await removePermissionHelper(connection, config);
        }
    );
}
Creates a migration which will add a permission to the database

@param {PermissionConfig} config

@returns {Migration}