[Laravel] Testing model database table columns
Let's take a look at how to test model columns. Testing what database columns are in your database for a table will help you keep track of the columns over time as you add, change, or remove columns in your migrations over time.