diff --git a/modules/Develop/Support/Generate/stubs/migration.stub b/modules/Develop/Support/Generate/stubs/migration.stub index 3766219..8921824 100644 --- a/modules/Develop/Support/Generate/stubs/migration.stub +++ b/modules/Develop/Support/Generate/stubs/migration.stub @@ -13,6 +13,8 @@ return new class extends Migration */ public function up() { + if (Schema::hasTable('{table}')) { return; } + Schema::{method}('{table}', function (Blueprint $table) { {content} });