Customer Rating and review changes

This commit is contained in:
sriram
2026-10-05 11:21:39 +05:30
parent c7e4d59188
commit abe7ad8450
15 changed files with 697 additions and 95 deletions

View File

@@ -0,0 +1,4 @@
-- Star breakdown of a listing's ratings, exactly as the source states it:
-- {"5": 612, "4": 300, "3": 80, "2": 20, "1": 12}. NULL when the source does
-- not publish one - never derived from the few review texts we hold.
ALTER TABLE elec.source_listing ADD COLUMN rating_breakdown JSONB;