fix x gruppi

This commit is contained in:
mariano
2026-06-15 13:11:32 +02:00
parent 906f308f50
commit 9582554dfe
4 changed files with 42 additions and 5 deletions
+6
View File
@@ -202,6 +202,11 @@ function plugin_urbackup_install_update_servers_table(Migration $migration): voi
'after' => 'name',
]);
$migration->addField($table, 'users_id', 'integer', [
'value' => 0,
'after' => 'locations_id',
]);
$migration->addField($table, 'ip_address', 'string', [
'value' => '',
'after' => 'locations_id',
@@ -262,6 +267,7 @@ function plugin_urbackup_install_update_servers_table(Migration $migration): voi
$migration->addKey($table, 'name');
$migration->addKey($table, 'entities_id');
$migration->addKey($table, 'locations_id');
$migration->addKey($table, 'users_id');
$migration->addKey($table, 'is_active');
$migration->addKey($table, ['locations_id', 'is_active'], 'location_active');
}