-- 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'));
