mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
PostgreSQL: Display ENUM types
This commit is contained in:
@@ -22,6 +22,10 @@ if (!$row) {
|
|||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
if ($TYPE != "") {
|
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";
|
echo "<input type='submit' name='drop' value='" . lang('Drop') . "'>" . confirm(lang('Drop %s?', $TYPE)) . "\n";
|
||||||
} else {
|
} else {
|
||||||
echo lang('Name') . ": <input name='name' value='" . h($row['name']) . "' autocapitalize='off'>\n";
|
echo lang('Name') . ": <input name='name' value='" . h($row['name']) . "' autocapitalize='off'>\n";
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
Adminer dev:
|
Adminer dev:
|
||||||
PostgreSQL: Do not alter indexes with expressions
|
PostgreSQL: Do not alter indexes with expressions
|
||||||
PostgreSQL: Fix export of indexes with expressions (bug #768)
|
PostgreSQL: Fix export of indexes with expressions (bug #768)
|
||||||
|
PostgreSQL: Display ENUM types
|
||||||
PostgreSQL: Export ENUM types (bug #587)
|
PostgreSQL: Export ENUM types (bug #587)
|
||||||
SQLite: Support CHECK constraint
|
SQLite: Support CHECK constraint
|
||||||
SQLite: Add command Check tables
|
SQLite: Add command Check tables
|
||||||
|
Reference in New Issue
Block a user