diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-11 12:58:53 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-11 12:58:53 +0100 |
commit | b0a97c100f5e7edc5e21ec7d07f768cd3b5618da (patch) | |
tree | 3d494214e14beb8181ef6fc1e0269ccd0968577e /system/database/drivers/mysqli | |
parent | 1f884d6fece302ba53f106516880da4dd91f5660 (diff) |
Fix DBForge index creation on MySQL and CUBRID
Diffstat (limited to 'system/database/drivers/mysqli')
-rw-r--r-- | system/database/drivers/mysqli/mysqli_forge.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/database/drivers/mysqli/mysqli_forge.php b/system/database/drivers/mysqli/mysqli_forge.php index 294fc20b6..5a6560b25 100644 --- a/system/database/drivers/mysqli/mysqli_forge.php +++ b/system/database/drivers/mysqli/mysqli_forge.php @@ -43,6 +43,16 @@ class CI_DB_mysqli_forge extends CI_DB_forge { protected $_create_database = 'CREATE DATABASE %s CHARACTER SET %s COLLATE %s'; /** + * CREATE TABLE keys flag + * + * Whether table keys are created from within the + * CREATE TABLE statement. + * + * @var bool + */ + protected $_create_table_keys = TRUE; + + /** * UNSIGNED support * * @var array |