Skip to content

Commit

Permalink
Optimized schema
Browse files Browse the repository at this point in the history
  • Loading branch information
artur committed Mar 14, 2024
1 parent 4daf252 commit 179464d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/main/resources/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CREATE INDEX idx_characterisationresult_5
CREATE VIEW characterisationresultview AS
SELECT t.file_path, t.property, t.value_type,
CASE
WHEN COUNT(distinct t.property_value) = 1 THEN MIN(t.property_value)
WHEN COUNT( t.property_value) = 1 THEN MIN(t.property_value)
ELSE 'CONFLICT'
END AS property_value
FROM characterisationresult t
Expand Down

0 comments on commit 179464d

Please sign in to comment.