Skip to content

Commit

Permalink
Make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanslade committed Dec 11, 2024
1 parent 3027ec8 commit c681207
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/sql2pgroll/drop.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (

// convertDropStatement converts supported drop statements to pgroll operations
func convertDropStatement(stmt *pgq.DropStmt) (migrations.Operations, error) {
switch stmt.RemoveType {
case pgq.ObjectType_OBJECT_INDEX:
if stmt.RemoveType == pgq.ObjectType_OBJECT_INDEX {
return convertDropIndexStatement(stmt)
}
return nil, nil
Expand Down

0 comments on commit c681207

Please sign in to comment.