Skip to content

Commit

Permalink
Remove unreachable block
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Jun 19, 2023
1 parent a67049a commit d089f14
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ object ShredModel {
case ColumnType.RedshiftVarchar(oldSize) if oldSize >= 5 => NoChanges.asRight
case _ => IncompatibleTypes(oldCol, newCol).asLeft.toEitherNel
}
case ColumnType.RedshiftChar(newSize) => oldType match {
case ColumnType.RedshiftVarchar(oldSize) if oldSize >= newSize => NoChanges.asRight
case _ => IncompatibleTypes(oldCol, newCol).asLeft.toEitherNel
}
case _ if newType == oldType => NoChanges.asRight
case _ => IncompatibleTypes(oldCol, newCol).asLeft.toEitherNel
}
Expand Down

0 comments on commit d089f14

Please sign in to comment.