Skip to content

Commit

Permalink
fix: fix delete button field
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin committed Aug 31, 2024
1 parent d0f1b88 commit 7992ea3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ export class UnderlyingTableSpecVisitor implements ITableSpecVisitor {
return
}

if (schema.field.type === "button") {
return
}

if (schema.field.type !== "rollup") {
const query = this.tb.dropColumn(schema.field.id.value).compile()
this.addSql(query)
Expand Down

0 comments on commit 7992ea3

Please sign in to comment.