mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 18:44:02 +02:00
MS SQL: Allow altering table in non-default schema (bug #405)
This commit is contained in:
@@ -504,7 +504,7 @@ WHERE OBJECT_NAME(i.object_id) = " . q($table)
|
|||||||
$alter[""] = $foreign;
|
$alter[""] = $foreign;
|
||||||
}
|
}
|
||||||
foreach ($alter as $key => $val) {
|
foreach ($alter as $key => $val) {
|
||||||
if (!queries("ALTER TABLE " . idf_escape($name) . " $key" . implode(",", $val))) {
|
if (!queries("ALTER TABLE " . table($name) . " $key" . implode(",", $val))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
Adminer 4.16.1-dev:
|
Adminer 4.16.1-dev:
|
||||||
Hide index column options by default
|
Hide index column options by default
|
||||||
SQLite: Show all supported pragmas in Variables
|
SQLite: Show all supported pragmas in Variables
|
||||||
|
MS SQL: Allow altering table in non-default schema (bug #405)
|
||||||
Editor: PDO: Select value of foreign key in edit (bug #847)
|
Editor: PDO: Select value of foreign key in edit (bug #847)
|
||||||
|
|
||||||
Adminer 4.16.0 (released 2025-02-20):
|
Adminer 4.16.0 (released 2025-02-20):
|
||||||
|
Reference in New Issue
Block a user