fix route missing on database hosts
This commit is contained in:
		
							parent
							
								
									af4d1d1fee
								
							
						
					
					
						commit
						4c2278a7f2
					
				| @ -72,7 +72,6 @@ class DatabaseHostResource extends Resource | ||||
|                 Tables\Columns\TextColumn::make('host') | ||||
|                     ->searchable(), | ||||
|                 Tables\Columns\TextColumn::make('port') | ||||
|                     ->numeric() | ||||
|                     ->sortable(), | ||||
|                 Tables\Columns\TextColumn::make('username') | ||||
|                     ->searchable(), | ||||
|  | ||||
| @ -65,6 +65,11 @@ class DatabaseHost extends Model | ||||
|         ]; | ||||
|     } | ||||
| 
 | ||||
|     public function getRouteKeyName(): string | ||||
|     { | ||||
|         return 'id'; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Gets the node associated with a database host. | ||||
|      */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Scai
						Scai