Execute multiple laravel alter table migration queries in one?

Viewed 1102

Does anybody know if there is a way to execute multiple Laravel alter table migration queries in one query?

For example:

Schema::table('table', function (Blueprint $table) {
    $table->integer('column 1');
    $table->integer('column 2');
});

This would create two ALTER table queries. Is there a way to make it do all in one query, other than writing SQL query.

1 Answers
Related