upgradeDraftSchema

Function

Applies the schema upgrades

  • upgradeDraftSchema(draft: IDraft) : any

Parameters

Parameter Type Default Notes
draft Required IDraft

IDraft

Returns

any

Function defined in sites/src/drafts/upgrade-draft-schema.ts:23