1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 08:34:20 +02:00

PostgreSQL: Display ENUM types

This commit is contained in:
Jakub Vrana
2025-02-27 09:41:31 +01:00
parent 6d889b9f99
commit 26d1e51916
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ if (!$row) {
<p>
<?php
if ($TYPE != "") {
$enums = type_values($types[$TYPE]);
if ($enums) {
echo "<code class='jush-$jush'>ENUM (" . h($enums) . ")</code>\n<p>";
}
echo "<input type='submit' name='drop' value='" . lang('Drop') . "'>" . confirm(lang('Drop %s?', $TYPE)) . "\n";
} else {
echo lang('Name') . ": <input name='name' value='" . h($row['name']) . "' autocapitalize='off'>\n";

View File

@@ -1,6 +1,7 @@
Adminer dev:
PostgreSQL: Do not alter indexes with expressions
PostgreSQL: Fix export of indexes with expressions (bug #768)
PostgreSQL: Display ENUM types
PostgreSQL: Export ENUM types (bug #587)
SQLite: Support CHECK constraint
SQLite: Add command Check tables