Laravel Migrations: how to drop a foreign key column

Sometimes it can be desirable to remove a database column that hosts a foreign key relationship (eg: in reverse migration scripts). It can be a bit of a hassle to…

Read more »

Laravel: autocomplete for $table in migration scripts

A quick tip: if you want autocomplete (intellisense) when writing migrations in Laravel, you can add type hinting for the $table variable. Just add Blueprint before $table in the function…

Read more »