Mercurial > borealpoint
diff stubs/migration.update.stub @ 0:9d7dcd54c677
Initial Commit and package setup
| author | luka |
|---|---|
| date | Sat, 23 Aug 2025 22:20:51 -0400 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stubs/migration.update.stub Sat Aug 23 22:20:51 2025 -0400 @@ -0,0 +1,28 @@ +<?php + +use Illuminate\Database\Migrations\Migration; +use Wizard\Framework\Database\MyBlueprint as Blueprint; +use Wizard\Framework\Database\MySchema as Schema; + +return new class extends Migration +{ + /** + * Run the migrations. + */ + public function up(): void + { + Schema::table('{{ table }}', function (Blueprint $table) { + // + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('{{ table }}', function (Blueprint $table) { + // + }); + } +};
