14 lines
458 B
PL/PgSQL
14 lines
458 B
PL/PgSQL
-- 043_house_reviews_extend.sql
|
|
-- Purpose: Add 'likes' column to house_reviews per Cross_Source_Matching sec 15.
|
|
-- Table itself exists in 014 with richer split (text_main/pros/cons vs single "text").
|
|
-- Dependencies: 014_house_reviews.sql
|
|
|
|
BEGIN;
|
|
|
|
ALTER TABLE house_reviews
|
|
ADD COLUMN IF NOT EXISTS likes int;
|
|
|
|
COMMENT ON COLUMN house_reviews.likes IS
|
|
'Likes/helpful count from source (Cian / Yandex). NULL for Avito (not exposed).';
|
|
|
|
COMMIT;
|