Skip to content

Commit 7925bce

Browse files
committed
fix for database refactoring
1 parent 2a193c2 commit 7925bce

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

jdk_11_gradle/em/embedded/graphql/patio-api/src/main/java/em/embedded/patio/EmbeddedEvoMasterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public String startSut() {
101101
/*
102102
ensure the data is empty
103103
*/
104-
DbCleaner.clearDatabase_Postgres(sqlConnection, "public", List.of("flyway_schema_history"));
104+
DbCleaner.clearDatabase_Postgres(sqlConnection, "public", List.of("flyway_schema_history"), null);
105105

106106
dbSpecification = Arrays.asList(new DbSpecification(DatabaseType.POSTGRES,sqlConnection)
107107
.withSchemas("public").withInitSqlOnResourcePath(INIT_DB_SCRIPT_PATH));

jdk_11_gradle/em/external/graphql/patio-api/src/main/java/em/external/patio/ExternalEvoMasterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void postStart() {
160160
/*
161161
ensure the data is empty
162162
*/
163-
DbCleaner.clearDatabase_Postgres(sqlConnection, "public", List.of("flyway_schema_history"));
163+
DbCleaner.clearDatabase_Postgres(sqlConnection, "public", List.of("flyway_schema_history"), null);
164164

165165
dbSpecification = Arrays.asList(new DbSpecification(DatabaseType.POSTGRES,sqlConnection)
166166
.withSchemas("public").withInitSqlOnResourcePath(INIT_DB_SCRIPT_PATH));

jdk_11_maven/em/external/rest/ind1/src/main/java/em/external/org/ind1/ExternalEvoMasterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public void postStart() {
193193
*/
194194
DbCleaner.clearDatabase_Postgres(sqlConnection,
195195
"subscriptions",
196-
Arrays.asList("flyway_schema_history"));
196+
Arrays.asList("flyway_schema_history"), null);
197197

198198
dbSpecification = Arrays.asList(new DbSpecification(DatabaseType.POSTGRES,sqlConnection)
199199
.withSchemas("subscriptions").withInitSqlOnResourcePath(INIT_DB_SCRIPT_PATH));

jdk_8_maven/em/embedded/graphql/petclinic-graphql/src/main/java/em/embedded/org/springframework/samples/petclinic/EmbeddedEvoMasterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public String startSut() {
103103
/*
104104
ensure the data is empty
105105
*/
106-
DbCleaner.clearDatabase_Postgres(sqlConnection,"public", null);
106+
DbCleaner.clearDatabase_Postgres(sqlConnection,"public", null, null);
107107

108108
dbSpecification = Arrays.asList(new DbSpecification(DatabaseType.POSTGRES,sqlConnection)
109109
.withSchemas("public")

jdk_8_maven/em/external/graphql/petclinic-graphql/src/main/java/em/external/org/springframework/samples/petclinic/ExternalEvoMasterController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void postStart() {
167167
/*
168168
ensure the data is empty
169169
*/
170-
DbCleaner.clearDatabase_Postgres(sqlConnection,"public", null);
170+
DbCleaner.clearDatabase_Postgres(sqlConnection,"public", null, null);
171171

172172
dbSpecification = Arrays.asList(new DbSpecification(DatabaseType.POSTGRES,sqlConnection)
173173
.withSchemas("public")

0 commit comments

Comments
 (0)