Skip to content

feat(oracle): Oracle数据库方言支持 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
feat(strategy): OracleStrategy
  • Loading branch information
KTIHRTY committed May 28, 2025
commit 2b5ead246d1c1d0a201816f602d94bcd03307d35
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ private static void compareTableIndexDef(OracleCompareTableInfo oracleCompareTab
} else {
// 5. 检查索引定义是否有变化(如字段、唯一性等)
IndexMetadata dbIndex = dbIndexMap.get(entityIndexName);
boolean uniqueChanged = entityIndex.isUnique() != dbIndex.isUnique();
boolean uniqueChanged = entityIndex.getType() != dbIndex.getType();
// 字段顺序和内容是否一致
List<String> entityColumns = entityIndex.getColumns().stream().map(it -> it.getSort() + "-" + it.getColumn()).collect(Collectors.toList());
List<String> dbColumns = dbIndex.getColumns().stream().map(it -> it.getSort() + "-" + it.getColumn()).collect(Collectors.toList());