Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
18940818955 committed Dec 10, 2019
1 parent aabbaa6 commit 945e21e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public void diff() throws SQLException {
DatabaseInfo to = new DatabaseInfo(TO_HOST, TO_PORT, TO_TABLE, TO_USERNAME, TO_PASSWORD);
Migrate migrate = new Migrate().from(from).to(to);
DiffResult diffResult = migrate.diff();
List<String> sql = diffResult.getSqlList();
for (String s : sql) {
System.out.println(s);
List<String> sqlList = diffResult.getSqlList();
for (String sql : sqlList) {
System.out.println(sql);
}
}

Expand Down

0 comments on commit 945e21e

Please sign in to comment.