1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 00:54:08 +02:00

Elastic: Fix types

This commit is contained in:
Jakub Vrana
2025-03-28 16:17:26 +01:00
parent 7a19fa67fd
commit bd823716fc
2 changed files with 10 additions and 4 deletions

View File

@@ -508,10 +508,14 @@ if (isset($_GET["elastic"])) {
function found_rows($table_status, $where) {
}
function auto_increment(): string {
return '';
}
/** Alter type
* @return mixed
*/
function alter_table(array $table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {
function alter_table(string $table, $name, $fields, $foreign, $comment, $engine, $collation, $auto_increment, $partitioning) {
$properties = array();
foreach ($fields as $f) {
$field_name = trim($f[1][0]);