string('network'); $table->unique(['server_id', 'network']); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('swarm_dockers', function (Blueprint $table) { $table->dropColumn('network'); }); } };