diff options
author | Andrey Andreev <narf@devilix.net> | 2014-08-15 10:59:16 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-08-15 10:59:16 +0200 |
commit | 22ce276f4f696d69c11ee1d7c8b8acee67a97b09 (patch) | |
tree | 7ab4e2a058504689c42a05972712698e9d74a0ce /system/database/DB_forge.php | |
parent | 43090cc12659eb523b53cb773b7f0d77d95dc7f4 (diff) |
Fix #3187
Diffstat (limited to 'system/database/DB_forge.php')
-rw-r--r-- | system/database/DB_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 111546ecc..2dd243cae 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -929,7 +929,7 @@ abstract class CI_DB_forge { $field['default'] = empty($this->_null) ? '' : $this->_default.$this->_null; // Override the NULL attribute if that's our default - $attributes['NULL'] = NULL; + $attributes['NULL'] = TRUE; $field['null'] = empty($this->_null) ? '' : ' '.$this->_null; } else |