1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

MS SQL: Allow altering table in non-default schema (bug #405)

This commit is contained in:
Jakub Vrana
2025-02-22 09:42:36 +01:00
parent 8602304d86
commit 5d18df1d82
2 changed files with 2 additions and 1 deletions

View File

@@ -504,7 +504,7 @@ WHERE OBJECT_NAME(i.object_id) = " . q($table)
$alter[""] = $foreign;
}
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;
}
}

View File

@@ -1,6 +1,7 @@
Adminer 4.16.1-dev:
Hide index column options by default
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)
Adminer 4.16.0 (released 2025-02-20):