From e59347dd1665078beb41a1e6ca1b12932b489336 Mon Sep 17 00:00:00 2001 From: Zachary Flower Date: Mon, 3 Nov 2014 08:34:12 -0700 Subject: Ensure forge comments are actually getting parsed Signed-off-by: Zachary Flower --- system/database/DB_forge.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/database') 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'])) -- cgit v1.2.3-24-g4f1b