Update table names to new format
This commit is contained in:
		
					parent
					
						
							
								fb045348cf
							
						
					
				
			
			
				commit
				
					
						fe0765795a
					
				
			
		
					 5 changed files with 16 additions and 8 deletions
				
			
		|  | @ -60,7 +60,7 @@ | |||
|     } | ||||
| 
 | ||||
|     $id = request()->input('id'); | ||||
|     $entry = DB::table('guestbook_entries')->find($id); | ||||
|     $entry = DB::table('guestbook__entries')->find($id); | ||||
| 
 | ||||
|     if ($entry) { | ||||
|         // Render a confirmation view
 | ||||
|  | @ -78,7 +78,7 @@ | |||
|     } | ||||
| 
 | ||||
|     $id = request()->input('id'); | ||||
|     DB::table('guestbook_entries')->where('id', $id)->delete(); | ||||
|     DB::table('guestbook__entries')->where('id', $id)->delete(); | ||||
| 
 | ||||
|     return back()->with('success', 'Entry deleted successfully!'); | ||||
| }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frankie B
				Frankie B