Skip to content

Commit fb1537a

Browse files
omg
1 parent 7e29755 commit fb1537a

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

crates/pgt_test_utils/testdb_migrations/0001_setup-roles.sql

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,29 @@ begin
33

44
begin
55
create role owner superuser createdb login bypassrls;
6-
exception when duplicate_object then
7-
null;
6+
exception
7+
when duplicate_object then
8+
null;
9+
when unique_violation then
10+
null;
811
end;
912

1013
begin
1114
create role test_login login;
12-
exception when duplicate_object then
13-
null;
15+
exception
16+
when duplicate_object then
17+
null;
18+
when unique_violation then
19+
null;
1420
end;
1521

1622
begin
1723
create role test_nologin;
18-
exception when duplicate_object then
19-
null;
24+
exception
25+
when duplicate_object then
26+
null;
27+
when unique_violation then
28+
null;
2029
end;
2130

2231
end

0 commit comments

Comments
 (0)