add enable/disable services

This commit is contained in:
Saeed Vaziry
2024-03-16 14:02:28 +01:00
parent 7a6dcb5654
commit 77d6914cd9
17 changed files with 219 additions and 24 deletions

View File

@ -16,7 +16,7 @@ public function up(): void
$table->json('type_data')->nullable();
$table->string('name');
$table->string('version');
$table->enum('status', ServiceStatus::getValues())->default(ServiceStatus::INSTALLING);
$table->string('status')->default(ServiceStatus::INSTALLING);
$table->boolean('is_default')->default(1);
$table->string('unit')->nullable();
$table->timestamps();