How to check table is exists or not in Laravel?

By Hardik Savani September 5, 2020 Category : Laravel

Laravel provide database migrations using Schema facade. Schema facade have sevaral method like add column, remove column, check if table exists, check if column exists etc. In bellow example you can see how to detect if a database table exists with Schema Builder. We somtimes need to check if table exists then to do something etc. So you can check this way:



We are Recommending you