feat: Refactor addon management to use AddonType and AddonInputType enums, update the database schema, and implement a grouped datatable display for addons.

This commit is contained in:
pbao9
2026-02-13 11:31:54 +07:00
parent b127fa7c66
commit 245f5ade37
11 changed files with 684 additions and 216 deletions
+4 -4
View File
@@ -17,7 +17,7 @@ class OsSeeder extends Seeder
[
'name' => 'Ubuntu',
'thumbnail' => 'ubuntu.png',
'module_host_id' => 1,
'module_host_id' => null,
'status' => 1,
'versions' => [
'20.04 LTS',
@@ -28,7 +28,7 @@ class OsSeeder extends Seeder
[
'name' => 'CentOS',
'thumbnail' => 'centos.png',
'module_host_id' => 1,
'module_host_id' => null,
'status' => 1,
'versions' => [
'7',
@@ -38,7 +38,7 @@ class OsSeeder extends Seeder
[
'name' => 'Debian',
'thumbnail' => 'debian.png',
'module_host_id' => 1,
'module_host_id' => null,
'status' => 1,
'versions' => [
'10',
@@ -49,7 +49,7 @@ class OsSeeder extends Seeder
[
'name' => 'Windows Server',
'thumbnail' => 'windows.png',
'module_host_id' => 1,
'module_host_id' => null,
'status' => 1,
'versions' => [
'2016',