How to Remove Column From Existing Table Migration …
If you are dropping a column, you can just pass in the name for the "dropColumn" method. $table ->dropColumn ( 'slug' ); Run the Migration Finally, run the migration command and the 2 columns will now be removed from the table. …
Laravel Remove Column From Table In Migration - …
29.05.2021 · To remove a column from the table in migrations, Laravel uses dropColumn method. This method accepts only 1 argument and that is single column name or array of multiple column names. Notes: If you are using …