From 96ed799f34bdb3839f09a83e144469f61f532f5d Mon Sep 17 00:00:00 2001 From: "Arjay Q. Angeles" Date: Fri, 20 Nov 2020 19:00:26 +0800 Subject: [PATCH] Enable oracle case insensitive searches. - Fix database presence validation issue (unique, exists, etc). - Removes the dependency on OracleUserProvider. Ref: http://www.dba-oracle.com/t_case_insensitive_indexes_searches.htm --- src/Oci8/Oci8ServiceProvider.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Oci8/Oci8ServiceProvider.php b/src/Oci8/Oci8ServiceProvider.php index ec7c69b3..63997f60 100644 --- a/src/Oci8/Oci8ServiceProvider.php +++ b/src/Oci8/Oci8ServiceProvider.php @@ -60,6 +60,8 @@ public function register() 'NLS_TIMESTAMP_FORMAT' => 'YYYY-MM-DD HH24:MI:SS', 'NLS_TIMESTAMP_TZ_FORMAT' => 'YYYY-MM-DD HH24:MI:SS TZH:TZM', 'NLS_NUMERIC_CHARACTERS' => '.,', + 'NLS_COMP' => 'LINGUISTIC', + 'NLS_SORT' => 'BINARY_CI', ]; // Like Postgres, Oracle allows the concept of "schema"