Skip to content

Commit

Permalink
fix: create btree_gin extension only if not exists (#4371)
Browse files Browse the repository at this point in the history
* fix: create btree_gin extension only if not exists

* fix: create btree_gin extension only if not exists
  • Loading branch information
petersamokhin committed May 23, 2023
1 parent 6be18a1 commit e720b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema/postgresql/v12/visibility/schema.sql
@@ -1,4 +1,4 @@
CREATE EXTENSION btree_gin;
CREATE EXTENSION IF NOT EXISTS btree_gin;

-- convert_ts converts a timestamp in RFC3339 to UTC timestamp without time zone.
CREATE FUNCTION convert_ts(s VARCHAR) RETURNS TIMESTAMP AS $$
Expand Down
@@ -1,4 +1,4 @@
CREATE EXTENSION btree_gin;
CREATE EXTENSION IF NOT EXISTS btree_gin;

-- convert_ts converts a timestamp in RFC3339 to UTC timestamp without time zone.
CREATE FUNCTION convert_ts(s VARCHAR) RETURNS TIMESTAMP AS $$
Expand Down

0 comments on commit e720b55

Please sign in to comment.