mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
Firewall / Categories: initial migration. closes https://github.com/opnsense/core/issues/4587
feature sponsored by Modirum (https://www.modirum.com/)
This commit is contained in:
parent
58f0a7ec08
commit
7330d12282
@ -33,6 +33,7 @@ namespace OPNsense\Firewall\Migrations;
|
||||
use OPNsense\Core\Config;
|
||||
use OPNsense\Base\BaseModelMigration;
|
||||
use OPNsense\Firewall\Alias;
|
||||
use OPNsense\Firewall\Category;
|
||||
|
||||
class M1_0_0 extends BaseModelMigration
|
||||
{
|
||||
@ -90,6 +91,8 @@ class M1_0_0 extends BaseModelMigration
|
||||
}
|
||||
}
|
||||
}
|
||||
} elseif ($model instanceof Category) {
|
||||
$model->sync();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user