Mercurial > packages > framework
view publishable/stubs/migration.create.stub @ 4:84c75d9d90be
Changing usage to be bootstrap 5, not everything is reviewed but it's been started
| author | luka |
|---|---|
| date | Tue, 19 Aug 2025 20:33:35 -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 }}'); } };
