Skip to content

Commit

Permalink
Merge pull request #44 from Onlineberatung/DIAKONIE-294
Browse files Browse the repository at this point in the history
fix: migration where clause
  • Loading branch information
tkuzynow authored Apr 29, 2024
2 parents 668faa6 + ab2e5db commit f29f5ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void execute(Database database) {
+ "from session s \n"
+ "inner join user u on s.user_id = u.user_id\n"
+ "inner join agencyservice.agency a on s.agency_id = a.id\n"
+ "where (u.tenant_id <> s.tenant_id or s.tenant_id is null)\n",
+ "where (u.tenant_id <> a.tenant_id or s.tenant_id is null)\n",
(rs, rowNum) -> {
String userId = rs.getString("user_id");
Long targetTenant = rs.getLong("target_tenant");
Expand Down

0 comments on commit f29f5ab

Please sign in to comment.