fix: add qr to reviews source constraint + notif type fix
Some checks failed
Deploy to Production / deploy (push) Has been cancelled

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-21 17:26:20 +03:00
parent 6165e4c67c
commit bb401095dc

View File

@@ -0,0 +1,7 @@
-- Migration 090 — Add 'qr' to reviews source constraint
ALTER TABLE reviews DROP CONSTRAINT IF EXISTS reviews_source_check;
ALTER TABLE reviews
ADD CONSTRAINT reviews_source_check
CHECK (source IN ('direct', 'booking_com', 'airbnb', 'google', 'tripadvisor', 'qr'));