summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite3
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/sqlite3
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/sqlite3')
-rw-r--r--system/database/drivers/sqlite3/sqlite3_forge.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_forge.php b/system/database/drivers/sqlite3/sqlite3_forge.php
index a527e51cd..df0554869 100644
--- a/system/database/drivers/sqlite3/sqlite3_forge.php
+++ b/system/database/drivers/sqlite3/sqlite3_forge.php
@@ -60,6 +60,13 @@ class CI_DB_sqlite3_forge extends CI_DB_forge {
*/
protected $_null = 'NULL';
+ /**
+ * COMMENT value representation in CREATE/ALTER TABLE statements
+ *
+ * @var string
+ */
+ protected $_comment = FALSE;
+
// --------------------------------------------------------------------
/**