diff options
author | Zachary Flower <zach@ninjaninja.net> | 2014-11-03 16:34:12 +0100 |
---|---|---|
committer | Zachary Flower <zach@ninjaninja.net> | 2014-11-03 16:34:12 +0100 |
commit | e59347dd1665078beb41a1e6ca1b12932b489336 (patch) | |
tree | d94e19bfeaf0f1df50079c6c1b45a6e4f8ed5b96 /system/database | |
parent | 9b512288772f6e0f97fc4274f304132e8f8f5db2 (diff) |
Ensure forge comments are actually getting parsed
Signed-off-by: Zachary Flower <zach@ninjaninja.net>
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_forge.php | 2 |
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'])) |