Skip to content

Commit

Permalink
Merge pull request #1974 from undb-io/release/v1.0.0-50
Browse files Browse the repository at this point in the history
Release version v1.0.0-50
  • Loading branch information
nichenqin authored Aug 31, 2024
2 parents 1d24fa7 + 555684e commit 646f2e1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog


## v1.0.0-50


### 🩹 Fixes

- Fix delete button field ([7992ea3](https://github.com/undb-io/undb/commit/7992ea3))

### ❤️ Contributors

- Nichenqin ([@nichenqin](http://github.com/nichenqin))

## v1.0.0-49

## v1.0.0-48
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "undb",
"version": "1.0.0-49",
"version": "1.0.0-50",
"private": true,
"scripts": {
"build": "NODE_ENV=production bun --bun turbo build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ export class UnderlyingTableSpecVisitor implements ITableSpecVisitor {
return
}

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

if (schema.field.type !== "reference") {
const query = this.qb
.updateTable(this.table.name)
Expand Down Expand Up @@ -248,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 646f2e1

Please sign in to comment.