Skip to content

Commit

Permalink
fix table suffix check to be case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
albertobastos committed Jan 21, 2025
1 parent 9646d4a commit 1bece38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public String tableNameWithType(String tableName) {
* @return Whether the table has type suffix that matches the builder type
*/
private boolean tableHasTypeSuffix(String tableName) {
return tableName.endsWith(_typeSuffix);
return tableName.toUpperCase().endsWith(_typeSuffix);
}

/**
Expand Down

0 comments on commit 1bece38

Please sign in to comment.