Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static class HybrisMSSqlModelReader extends MSSqlModelReader {
private static final String TABLE_NAME_KEY = "TABLE_NAME";

private final Set<String> tablesToExclude = Set.of("trace_xe_action_map", "trace_xe_event_map",
"change_streams_partition_scheme", "change_streams_destination_type");
"change_streams_partition_scheme", "change_streams_destination_type", "change_streams_encoding");

public HybrisMSSqlModelReader(Platform platform) {
super(platform);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ protected void preProcessDatabaseModel(final MigrationContext migrationContext,
final Set<TableCandidate> tableCandidates) {
for (Table table : model.getTables()) {
final Optional<TableCandidate> matchingTableCandidate = tableCandidates.stream()
.filter(tableCandidate -> tableCandidate.getFullTableName().equals(table.getName())).findFirst();
.filter(tableCandidate -> tableCandidate.getFullTableName().equalsIgnoreCase(table.getName()))
.findFirst();

if (matchingTableCandidate.isEmpty()) {
model.removeTable(table);
Expand Down