summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite
diff options
context:
space:
mode:
authorZachary Flower <zach@ninjaninja.net>2014-11-03 05:51:19 +0100
committerZachary Flower <zach@ninjaninja.net>2014-11-03 05:51:19 +0100
commit9b512288772f6e0f97fc4274f304132e8f8f5db2 (patch)
treecef2efdd29ea08f2b2a77aef0230d95d5e6b5a45 /system/database/drivers/sqlite
parent24fbc61e4a46c1e9f185c36629960dce0bad71e2 (diff)
Disable database COMMENT field by default in all other DB Forge drivers
Signed-off-by: Zachary Flower <zach@ninjaninja.net>
Diffstat (limited to 'system/database/drivers/sqlite')
-rw-r--r--system/database/drivers/sqlite/sqlite_forge.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/database/drivers/sqlite/sqlite_forge.php b/system/database/drivers/sqlite/sqlite_forge.php
index 859484225..036b6073f 100644
--- a/system/database/drivers/sqlite/sqlite_forge.php
+++ b/system/database/drivers/sqlite/sqlite_forge.php
@@ -67,6 +67,13 @@ class CI_DB_sqlite_forge extends CI_DB_forge {
*/
protected $_null = 'NULL';
+ /**
+ * COMMENT value representation in CREATE/ALTER TABLE statements
+ *
+ * @var string
+ */
+ protected $_comment = FALSE;
+
// --------------------------------------------------------------------
/**