Skip to content

Commit 0d1ae00

Browse files
committed
Use case insensitive check for username search.
1 parent e361984 commit 0d1ae00

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/database-migration-image

1 file changed

+1
-1
lines changed

.github/actions/database-migration-image/entry.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cat > /tmp/create-app-user.sql <<EOF
44
declare
55
user_count integer;
66
begin
7-
select count(*) into user_count from dba_users where username='&1';
7+
select count(*) into user_count from dba_users where upper(username)=upper('&1');
88
if (user_count = 0) then
99
execute immediate 'create user &1 identified by "&2"';
1010
else

0 commit comments

Comments
 (0)