Skip to content

Commit 7992ea3

Browse files
committed
fix: fix delete button field
1 parent d0f1b88 commit 7992ea3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/persistence/src/underlying/underlying-table-spec.visitor.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ export class UnderlyingTableSpecVisitor implements ITableSpecVisitor {
252252
return
253253
}
254254

255+
if (schema.field.type === "button") {
256+
return
257+
}
258+
255259
if (schema.field.type !== "rollup") {
256260
const query = this.tb.dropColumn(schema.field.id.value).compile()
257261
this.addSql(query)

0 commit comments

Comments
 (0)