InterviewSolution
Saved Bookmarks
| 1. |
How to check table is exists or not in our database using Laravel? |
|
Answer» We can USE hasTable() to CHECK table exists in our database or not. SyntaxSCHEMA::hasTable('USERS'); // here users is the table name. Exampleif(Schema::hasTable('users')) { |
|