Use single quote.

This commit is contained in:
Bradley M. Kuhn 2023-01-02 15:58:35 -08:00
parent 8f54ebb54c
commit a2dad766e0

View file

@ -291,7 +291,7 @@ CREATE VIEW UserOperation_fix_tshirt_size_request AS
request.date_requested as request_date, request.notes as note, donor.id as donor_id, request.id as request_id
FROM donor, request_configuration, request, request_type
WHERE request.id not in (select request_id from fulfillment) AND
request_type.type LIKE "%shirt%" AND
request_type.type LIKE '%shirt%' AND
request_type.id = request.request_type_id AND
request.donor_id = donor.id AND
request_configuration.id = request.request_configuration_id