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') |                 Tables\Columns\TextColumn::make('host') | ||||||
|                     ->searchable(), |                     ->searchable(), | ||||||
|                 Tables\Columns\TextColumn::make('port') |                 Tables\Columns\TextColumn::make('port') | ||||||
|                     ->numeric() |  | ||||||
|                     ->sortable(), |                     ->sortable(), | ||||||
|                 Tables\Columns\TextColumn::make('username') |                 Tables\Columns\TextColumn::make('username') | ||||||
|                     ->searchable(), |                     ->searchable(), | ||||||
|  | |||||||
| @ -65,6 +65,11 @@ class DatabaseHost extends Model | |||||||
|         ]; |         ]; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     public function getRouteKeyName(): string | ||||||
|  |     { | ||||||
|  |         return 'id'; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     /** |     /** | ||||||
|      * Gets the node associated with a database host. |      * Gets the node associated with a database host. | ||||||
|      */ |      */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Scai
						Scai