ALTER TABLE qr_code ADD UNIQUE (slug);