summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_forge.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php
index df3b90be6..6dc2a4514 100644
--- a/system/database/DB_forge.php
+++ b/system/database/DB_forge.php
@@ -777,6 +777,7 @@ abstract class CI_DB_forge {
'unique' => '',
'default' => '',
'auto_increment' => '',
+ 'comment' => '',
'_literal' => FALSE
);
@@ -813,6 +814,7 @@ abstract class CI_DB_forge {
}
$this->_attr_auto_increment($attributes, $field);
+ $this->_attr_comment($attributes, $field);
$this->_attr_unique($attributes, $field);
if (isset($attributes['TYPE']) && ! empty($attributes['CONSTRAINT']))