diff options
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/cubrid/cubrid_forge.php | 10 | ||||
-rw-r--r-- | system/database/drivers/mysql/mysql_forge.php | 10 | ||||
-rw-r--r-- | system/database/drivers/mysqli/mysqli_forge.php | 10 | ||||
-rw-r--r-- | system/database/drivers/pdo/subdrivers/pdo_cubrid_forge.php | 10 | ||||
-rw-r--r-- | system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php | 10 |
5 files changed, 50 insertions, 0 deletions
diff --git a/system/database/drivers/cubrid/cubrid_forge.php b/system/database/drivers/cubrid/cubrid_forge.php index e3f8bc334..86a41e57b 100644 --- a/system/database/drivers/cubrid/cubrid_forge.php +++ b/system/database/drivers/cubrid/cubrid_forge.php @@ -43,6 +43,16 @@ class CI_DB_cubrid_forge extends CI_DB_forge { protected $_create_database = FALSE; /** + * CREATE TABLE keys flag + * + * Whether table keys are created from within the + * CREATE TABLE statement. + * + * @var bool + */ + protected $_create_table_keys = TRUE; + + /** * DROP DATABASE statement * * @var string diff --git a/system/database/drivers/mysql/mysql_forge.php b/system/database/drivers/mysql/mysql_forge.php index 9cee385df..d4a8b4ff7 100644 --- a/system/database/drivers/mysql/mysql_forge.php +++ b/system/database/drivers/mysql/mysql_forge.php @@ -43,6 +43,16 @@ class CI_DB_mysql_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 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 diff --git a/system/database/drivers/pdo/subdrivers/pdo_cubrid_forge.php b/system/database/drivers/pdo/subdrivers/pdo_cubrid_forge.php index c01a0fb81..d63a4b0a6 100644 --- a/system/database/drivers/pdo/subdrivers/pdo_cubrid_forge.php +++ b/system/database/drivers/pdo/subdrivers/pdo_cubrid_forge.php @@ -50,6 +50,16 @@ class CI_DB_pdo_cubrid_forge extends CI_DB_pdo_forge { protected $_drop_database = FALSE; /** + * CREATE TABLE keys flag + * + * Whether table keys are created from within the + * CREATE TABLE statement. + * + * @var bool + */ + protected $_create_table_keys = TRUE; + + /** * DROP TABLE IF statement * * @var string diff --git a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php index 1e69d693e..24c470a83 100644 --- a/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php +++ b/system/database/drivers/pdo/subdrivers/pdo_mysql_forge.php @@ -50,6 +50,16 @@ class CI_DB_pdo_mysql_forge extends CI_DB_pdo_forge { protected $_create_table_if = 'CREATE TABLE IF NOT EXISTS'; /** + * CREATE TABLE keys flag + * + * Whether table keys are created from within the + * CREATE TABLE statement. + * + * @var bool + */ + protected $_create_table_keys = TRUE; + + /** * DROP TABLE IF statement * * @var string |