When adding a column in a Laravel migration, you can add the column in a specific order by using the following format in your schema builder.
$table->string('column_name')->after('another_column')
Note that this only works with MySQL 🙁
When adding a column in a Laravel migration, you can add the column in a specific order by using the following format in your schema builder.
$table->string('column_name')->after('another_column')
Note that this only works with MySQL 🙁