channelUpgrade

channelUpgrade: ChannelUpgradeOptions<any> | undefined@beta

Optional. Called before any schema import operations.

Use this to prepare the channel for schema changes. This is where you should perform channel-specific upgrades that the schema import/upgrade might depend on.

@note User is responsible to acquiring the necessary locks before performing the channel upgrades.

Defined in

Last Updated: 24 January, 2026