mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 15:16:44 +02:00
PostgreSQL: Allow renaming inherited tables
This commit is contained in:
@@ -195,7 +195,7 @@ class Adminer {
|
|||||||
$is_view = is_view($tableStatus);
|
$is_view = is_view($tableStatus);
|
||||||
if ($is_view) {
|
if ($is_view) {
|
||||||
$links["view"] = lang('Alter view');
|
$links["view"] = lang('Alter view');
|
||||||
} elseif (!driver()->inheritsFrom($name)) {
|
} else {
|
||||||
$links["create"] = lang('Alter table');
|
$links["create"] = lang('Alter table');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user