add field after laravel migration code example
Example 1: laravel migration add column after
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Example 2: migrate to an existing table in laravel commad
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}