KS3008
Something a block can't hold. A statement that takes no body, such as break or a migration's DropTable, is an error when it is given one, because whatever is inside would never run. Remove the { }:
<KScript.Migration>
<DropTable name="teams" />
</KScript.Migration>import KScript.Data
Migration {
DropTable(name: 'teams')
}An extend block holds fn methods only. In an XML script, loose text is ignored unless it is inside an element that prints it, such as <echo>.