Mercurial > borealpoint
view stubs/migration.create.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 source
<?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::create('{{ table }}', function (Blueprint $table) { $table->baseColumns(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('{{ table }}'); } };
