summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo
diff options
context:
space:
mode:
authorZachary Flower <zach@ninjaninja.net>2014-11-03 05:50:15 +0100
committerZachary Flower <zach@ninjaninja.net>2014-11-03 05:50:15 +0100
commit24fbc61e4a46c1e9f185c36629960dce0bad71e2 (patch)
tree8c84c06fe04ceec7b5f28c21edc578c24c694bb1 /system/database/drivers/pdo
parent72b4be8310dc5b05169501bd9851fedf559003a5 (diff)
Add support for the COMMENT field in DBForge and MySQL Forge classes (pdo, mysql, and mysqli)
Signed-off-by: Zachary Flower <zach@ninjaninja.net>
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
index 6cdfcabb5..85b6ebe84 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php
@@ -206,6 +206,7 @@ class CI_DB_pdo_mysql_forge extends CI_DB_pdo_forge {
.$field['null']
.$field['default']
.$field['auto_increment']
+ .$field['comment']
.$field['unique']
.$extra_clause;
}