OnSchemaBreak
@algorandfoundation/algokit-utils / types/app / OnSchemaBreak
types/app.OnSchemaBreak
What action to perform when deploying an app and a breaking schema change is detected
Table of contents
Section titled “Table of contents”Enumeration Members
Section titled “Enumeration Members”Enumeration Members
Section titled “Enumeration Members”AppendApp
Section titled “AppendApp”• AppendApp = 2
Create a new app
Defined in
Section titled “Defined in”• Fail = 0
Fail the deployment
Defined in
Section titled “Defined in”ReplaceApp
Section titled “ReplaceApp”• ReplaceApp = 1
Delete the app and create a new one in its place