Skip to content

Commit

Permalink
sql/mysql: return error for drop views (ariga#2201)
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm authored Oct 22, 2023
1 parent 2b47d88 commit 3a137f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sql/mysql/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ func (s *state) plan(changes []schema.Change) error {
case *schema.RenameView:
s.renameView(c)
}
if err != nil {
return err
}
}
return nil
}
Expand Down

0 comments on commit 3a137f9

Please sign in to comment.