Add search by date
This commit is contained in:
parent
3bb3cf9489
commit
383214ee19
4 changed files with 3 additions and 3 deletions
|
@ -156,6 +156,7 @@ CREATE INDEX IF NOT EXISTS books_active_idx ON books (active);
|
|||
CREATE INDEX IF NOT EXISTS books_title_idx ON books USING GIN (title gin_trgm_ops);
|
||||
CREATE INDEX IF NOT EXISTS books_contributor_idx ON books USING GIN (contributor gin_trgm_ops);
|
||||
CREATE INDEX IF NOT EXISTS books_publisher_idx ON books USING GIN (publisher gin_trgm_ops);
|
||||
CREATE INDEX IF NOT EXISTS books_date_idx ON books USING GIN (date gin_trgm_ops);
|
||||
CREATE OR REPLACE FUNCTION text(text[]) RETURNS text immutable AS $$
|
||||
select $1::text
|
||||
$$ language sql;
|
||||
|
|
Reference in a new issue