1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

PostgreSQL: Export DROP SEQUENCE if dropping table

This commit is contained in:
Jakub Vrana
2018-01-22 14:33:21 +01:00
parent eee9a62c8f
commit 993dce398d
5 changed files with 8 additions and 5 deletions

View File

@@ -737,7 +737,7 @@ class Adminer {
}
$create = "CREATE TABLE " . table($table) . " (" . implode(", ", $fields) . ")";
} else {
$create = create_sql($table, $_POST["auto_increment"]);
$create = create_sql($table, $_POST["auto_increment"], $style);
}
set_utf8mb4($create);
if ($style && $create) {