Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function migrations.updateConfig
import { migrations } from "https://deno.land/x/embassyd_sdk@v0.3.4.0.0-alpha2/lib/esm/compat/mod.js";
const { updateConfig } = migrations;

Parameters

fn

function making desired modifications to the config

configured

whether or not the service should be considered "configured"

noRepeat

(optional) supply the version and type of the migration

optional
noFail = [UNSUPPORTED]

(optional, default:false) whether or not to fail the migration if fn throws an error