Skip to content

Commit a98ddb1

Browse files
committed
add info about plugin to automatically synchronize the database settings
1 parent 2351886 commit a98ddb1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,10 @@ When you use a breakpoint to pause the test, you can connect to the temporary em
735735
i.z.t.d.l.EmbeddedDatabaseReporter - JDBC URL to connect to 'dataSource1': url='jdbc:postgresql://localhost:55112/fynwkrpzfcyj?user=postgres', scope='TestClass#testMethod'
736736
```
737737

738-
If you are using the [refresh mode](#refreshing-the-database-during-tests) or the `@FlywayTest` annotation, there may be several similar records in the log but always with a different scope. That's because in this case multiple isolated databases may be created.
738+
**TIP:** You can use the following **IntelliJ IDEA plugin to automatically synchronize the database settings** according to the connection strings in the log produced by the library:
739+
https://gist.github.com/tomix26/9e1ea63353707ef3b5cf4869fc50eec2
740+
741+
Note that if you are using the [refresh mode](#refreshing-the-database-during-tests) or the `@FlywayTest` annotation, there may be several similar records in the log but always with a different scope. That's because in this case multiple isolated databases may be created.
739742

740743
### Process [/tmp/embedded-pg/PG-XYZ/bin/initdb, ...] failed
741744

0 commit comments

Comments
 (0)