fix x gruppi
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user