Skip to content

Commit

Permalink
wallet charge
Browse files Browse the repository at this point in the history
  • Loading branch information
iesreza committed Mar 3, 2024
1 parent 9aea0eb commit 8771546
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/db/schema/ddl/ddl.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ func (local Table) GetDiff(remote table.Table) []string {
}
}
if !found {
// todo: drop constraints

queries = append(queries, fmt.Sprintf("-- column %s does not exists on schema", column.Name))
queries = append(queries, "ALTER TABLE "+quote(local.Name)+" DROP COLUMN "+quote(column.Name)+";")
}
Expand Down

0 comments on commit 8771546

Please sign in to comment.