Skip to content

Commit dd64bc8

Browse files
authored
[backend] Fix migration for release current
1 parent 2fd0870 commit dd64bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: openbas-api/src/main/java/io/openbas/migration/V3_66__Migrate_agents_to_same_endpoint.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ AND ip NOT IN (
6161
from assets
6262
WHERE asset_type = 'Endpoint') t
6363
group by maca
64-
HAVING count(*) > 1))
64+
HAVING count(*) > 1) as mac)
6565
GROUP BY assets.endpoint_mac_addresses
6666
HAVING count(asset_id) > 1;
6767
-- update the assets table with the aggregated description for the corresponding unique endpoint

0 commit comments

Comments
 (0)