PostgreSQL: Don't reset table comments
This commit is contained in:
parent
ea1acfc8bc
commit
dadbb37f00
|
@ -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 != "") {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
Adminer 4.8.2-dev:
|
||||
Support multi-line table comments
|
||||
MySQL: Use ST_SRID() instead of SRID() for MySQL 8 (PR #418)
|
||||
PostgreSQL: Don't reset table comments (regression from 4.2.0)
|
||||
PostgreSQL PDO: Allow editing rows identified by boolean column (PR #380)
|
||||
|
||||
Adminer 4.8.1 (released 2021-05-14):
|
||||
|
|
Loading…
Reference in a new issue