You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declare
c int;
beginselectcount(*) into c from user_tables where table_name =upper('users');
if c =1 then
execute immediate 'drop table users';
end if;
end;
Executed SQL in 11.2.2:
declare
c int;
beginselectcount(*) into c from user_tables where table_name =upper('"USERS"');
if c =1 then
execute immediate 'drop table "USERS"';
end if;
end;
The issue is this part where the table name gets wrapped in two pairs of quotes:
upper('"USERS"')
System details
Operating System: Ubuntu
PHP Version: 8.3.7
Laravel Version: 11.7.0
Laravel-OCI8 Version: 11.2.2 (and 11.2.3)
The text was updated successfully, but these errors were encountered:
Summary of problem or feature request
Hi @yajra,
Schema::dropIfExists()
no longer works for me since version11.2.2
. The table doesn't get dropped when it exists.I traced it to this change: dfebaf8
Code snippet of problem
Executed SQL in
11.2.1
:Executed SQL in
11.2.2
:The issue is this part where the table name gets wrapped in two pairs of quotes:
System details
8.3.7
11.7.0
11.2.2
(and11.2.3
)The text was updated successfully, but these errors were encountered: