diff options
author | Andrey Andreev <narf@devilix.net> | 2021-12-20 14:47:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 14:47:39 +0100 |
commit | efc96b71e4b1d13d713d8b2be01796b7d30e6f9b (patch) | |
tree | 68a44223c3c9664fbb3bea58c59cde5e3343018d /system/database/drivers/pdo/subdrivers | |
parent | 16ab872de21dcf938d9c6243d732b0206c8efa7f (diff) | |
parent | e7110e559a0c46d5001368c25ed246ff303d3afe (diff) |
Merge pull request #6074 from philsturgeon/ci3-php8
CodeIgniter 3.0 on PHP 8
Diffstat (limited to 'system/database/drivers/pdo/subdrivers')
-rw-r--r-- | system/database/drivers/pdo/subdrivers/pdo_pgsql_forge.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_pgsql_forge.php b/system/database/drivers/pdo/subdrivers/pdo_pgsql_forge.php index 187cb2d09..4c3a5aaea 100644 --- a/system/database/drivers/pdo/subdrivers/pdo_pgsql_forge.php +++ b/system/database/drivers/pdo/subdrivers/pdo_pgsql_forge.php @@ -54,6 +54,13 @@ class CI_DB_pdo_pgsql_forge extends CI_DB_pdo_forge { protected $_drop_table_if = 'DROP TABLE IF EXISTS'; /** + * CREATE TABLE IF statement + * + * @var string + */ + protected $_create_table_if = 'CREATE TABLE IF NOT EXISTS'; + + /** * UNSIGNED support * * @var array |