Tag : Schema

ItSolutionStuff.com have tutorials for Schema tag, here you can study articles of Schema tag, Schema tag posts collection, most popular and useful tutorials of Schema tag, here you can find list of all relevant posts and example about Schema tag, we have lists of tutorials and examples about Schema tag. very simple and quick example collection of Latest Schema tag.




How to check column exists or not in table Laravel 5

How to check column exists or not in table Laravel 5

When i was working my laravel application at that time i need to remove column from database. But i am not sure that column is exists or not in tables. So i was thinking, but i found solution from Laravel Database Migration Schema. we can check column is exists or not in tabales using hasColumn. If .....

By Hardik Savani | May 4, 2016 | Category : Laravel

How to check table is exists or not in Laravel 5?

How to check table is exists or not in Laravel 5?

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.....

By Hardik Savani | April 20, 2016 | Category : Laravel