mirror of
https://github.com/pretix/pretix.git
synced 2026-08-28 13:34:40 +00:00
Recommend upper-case index on pretixbase_voucher.code
This commit is contained in:
@@ -60,7 +60,10 @@ Here is the currently recommended set of commands::
|
|||||||
CREATE INDEX CONCURRENTLY pretix_addidx_ia_company
|
CREATE INDEX CONCURRENTLY pretix_addidx_ia_company
|
||||||
ON pretixbase_invoiceaddress
|
ON pretixbase_invoiceaddress
|
||||||
USING gin (upper("company") gin_trgm_ops);
|
USING gin (upper("company") gin_trgm_ops);
|
||||||
CREATE INDEX CONCURRENTLY pretix_addidx_orderpos_email_upper ON public.pretixbase_orderposition (upper((attendee_email)::text));
|
CREATE INDEX CONCURRENTLY pretix_addidx_orderpos_email_upper
|
||||||
|
ON public.pretixbase_orderposition (upper((attendee_email)::text));
|
||||||
|
CREATE INDEX CONCURRENTLY pretix_addidx_voucher_code_upper
|
||||||
|
ON public.pretixbase_voucher (upper((code)::text));
|
||||||
|
|
||||||
|
|
||||||
Also, if you use our ``pretix-shipping`` plugin::
|
Also, if you use our ``pretix-shipping`` plugin::
|
||||||
|
|||||||
Reference in New Issue
Block a user