summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-02-14 13:49:00 +0100
committerGitHub <noreply@github.com>2019-02-14 13:49:00 +0100
commit15eaca036d2b43df1a8c3e1d7db2c44ec3de4aaf (patch)
tree1a21889e3c7b8dbaabe4560142ab624057b3bae1 /system/database
parent807f43b65d6b3fc35e8fed6fce1add36971f9f51 (diff)
parentb046d9751a1df09fe95e1773c770eb5e91e100d3 (diff)
[ci skip] Merge pull request #5692 from ytetsuro/patch-2
Fixed bug that can not be changed from not null to null in oci.
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/oci8/oci8_forge.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/database/drivers/oci8/oci8_forge.php b/system/database/drivers/oci8/oci8_forge.php
index 20217f2b8..2f491d8f4 100644
--- a/system/database/drivers/oci8/oci8_forge.php
+++ b/system/database/drivers/oci8/oci8_forge.php
@@ -81,6 +81,13 @@ class CI_DB_oci8_forge extends CI_DB_forge {
*/
protected $_unsigned = FALSE;
+ /**
+ * NULL value representation in CREATE/ALTER TABLE statements
+ *
+ * @var string
+ */
+ protected $_null = 'NULL';
+
// --------------------------------------------------------------------
/**