Commit 66aadcf7 by zhoufensong

注释flyway对PostgreSQL重置角色为初始化值的操作

parent c548d507
...@@ -44,7 +44,7 @@ public class PostgreSQLConnection extends Connection<PostgreSQLDatabase> { ...@@ -44,7 +44,7 @@ public class PostgreSQLConnection extends Connection<PostgreSQLDatabase> {
@Override @Override
protected void doRestoreOriginalState() throws SQLException { protected void doRestoreOriginalState() throws SQLException {
// Reset the role to its original value in case a migration or callback changed it // Reset the role to its original value in case a migration or callback changed it
jdbcTemplate.execute("SET ROLE '" + originalRole + "'"); // jdbcTemplate.execute("SET ROLE '" + originalRole + "'");
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment