mirror of
https://github.com/vrana/adminer.git
synced 2025-08-10 00:28:34 +02:00
PostgreSQL: Don't reset table comments
This commit is contained in:
@@ -534,7 +534,7 @@ ORDER BY connamespace, conname") as $row) {
|
||||
} elseif ($alter) {
|
||||
array_unshift($queries, "ALTER TABLE " . table($table) . "\n" . implode(",\n", $alter));
|
||||
}
|
||||
if ($table != "" || $comment != "") {
|
||||
if ($comment !== null) {
|
||||
$queries[] = "COMMENT ON TABLE " . table($name) . " IS " . q($comment);
|
||||
}
|
||||
if ($auto_increment != "") {
|
||||
|
Reference in New Issue
Block a user