Some checks failed
Deploy to Production / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
275 B
SQL
8 lines
275 B
SQL
-- 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'));
|