forked from lix-project/hydra
sql: refactor some sql statements to lowercase
This commit is contained in:
parent
8c9aec5f12
commit
42784a9053
|
@ -691,6 +691,6 @@ create index IndexBuildsOnNotificationPendingSince on Builds(notificationPending
|
||||||
|
|
||||||
#ifdef POSTGRESQL
|
#ifdef POSTGRESQL
|
||||||
-- Provide an index used by LIKE operator on builds.drvpath (search query)
|
-- Provide an index used by LIKE operator on builds.drvpath (search query)
|
||||||
CREATE EXTENSION pg_trgm;
|
create extension pg_trgm;
|
||||||
CREATE INDEX IndexTrgmBuildsOnDrvpath ON builds USING gin (drvpath gin_trgm_ops);
|
create index IndexTrgmBuildsOnDrvpath on builds using gin (drvpath gin_trgm_ops);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
CREATE EXTENSION pg_trgm;
|
create extension pg_trgm;
|
||||||
CREATE INDEX IndexTrgmBuildsOnDrvpath ON builds USING gin (drvpath gin_trgm_ops);
|
create index IndexTrgmBuildsOnDrvpath on builds using gin (drvpath gin_trgm_ops);
|
||||||
|
|
Loading…
Reference in a new issue