summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2019-02-14 13:49:00 +0100
committerAndrey Andreev <narf@devilix.net>2019-02-14 13:49:52 +0100
commit8b71bc904212d932faa25dc2be49c85c60e847e5 (patch)
tree6b949b2c3d448a60edf42d19061421108858811a /system/database
parentce5e1a3cc639b1709c11580a6e6764d81e3fa56f (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';
+
// --------------------------------------------------------------------
/**