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:
@@ -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";
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user