Skip to content

Commit cbcb962

Browse files
committed
feat: turn on oriole if oriole ext exists
1 parent c2312c3 commit cbcb962

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ebssurrogate/files/unit-tests/unit-test-01.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
BEGIN;
22
CREATE EXTENSION IF NOT EXISTS pgtap;
3+
do $$
4+
begin
5+
if not exists (select 1 from pg_extension where extname = 'orioledb') then
6+
create extension if not exists orioledb;
7+
end if;
8+
end $$;
9+
310
SELECT plan(8);
411

512
-- Check installed extensions

0 commit comments

Comments
 (0)