With Has Table

--with-has-table

Checks for the existence of a table using the Schema::hasTable method before creating it.

Example

php artisan migrate:generate --with-has-table

Will generate:

if (!Schema::hasTable('users')) {
    Schema::create('users', function (Blueprint $table) {
        $table->bigIncrements('id');
        ...
    });
}