diff --git a/stubs/migration.create.stub b/stubs/migration.create.stub new file mode 100644 index 00000000..8c3a07a6 --- /dev/null +++ b/stubs/migration.create.stub @@ -0,0 +1,22 @@ +id(); + $table->timestamps(); + }); + } + + public function down(): void + { + Schema::dropIfExists('{{ table }}'); + } +} diff --git a/stubs/migration.stub b/stubs/migration.stub new file mode 100644 index 00000000..cc7dcf56 --- /dev/null +++ b/stubs/migration.stub @@ -0,0 +1,19 @@ +