Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/databasetraits/TableTrait.php')
-rw-r--r--src/database/databasetraits/TableTrait.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/database/databasetraits/TableTrait.php b/src/database/databasetraits/TableTrait.php
index 6df728fe..eec71a9e 100644
--- a/src/database/databasetraits/TableTrait.php
+++ b/src/database/databasetraits/TableTrait.php
@@ -1422,8 +1422,7 @@ trait TableTrait
$this->fieldClean($atts->fields['attname']);
$sql .= " \"{$atts->fields['attname']}\"";
// Dump SERIAL and BIGSERIAL columns correctly
- if (
- $this->phpBool($atts->fields['attisserial']) &&
+ if ($this->phpBool($atts->fields['attisserial']) &&
('integer' === $atts->fields['type'] || 'bigint' === $atts->fields['type'])
) {
if ('integer' === $atts->fields['type']) {