id(); $table->string('name'); // e.g., "Main PBX Engine" or "Synology NAS" $table->string('ip_address'); $table->string('os_version')->nullable(); // e.g., "AlmaLinux 9", "Debian" $table->string('username')->default('root'); $table->text('password'); // Will be encrypted via Model casting $table->json('services')->nullable(); // Array of services like ['Docker', 'PostGIS', 'Dovecot'] $table->string('status')->default('Active'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('servers'); } };