Skip to content

Commit b171190

Browse files
committed
Use 'if not exists' when creating role
1 parent 7344af7 commit b171190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grants/ispyb_expeye.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CREATE ROLE IF NOT EXISTS ispyb_expeye_core_role;
88

99
GRANT ispyb_propagation TO ispyb_expeye_core_role;
1010

11-
CREATE ROLE ispyb_expeye_acquisition_role;
11+
CREATE ROLE IF NOT EXISTS ispyb_expeye_acquisition_role;
1212

1313
GRANT SELECT, INSERT, UPDATE, DELETE ON Proposal TO ispyb_expeye_acquisition_role;
1414
GRANT SELECT, INSERT, UPDATE, DELETE ON BLSession TO ispyb_expeye_acquisition_role;

0 commit comments

Comments
 (0)