view stubs/migration.create.stub @ 2:90296614b7e2 default tip

Adding in the base for the clients table
author luka
date Thu, 28 Aug 2025 20:55:40 -0400
parents 9d7dcd54c677
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 }}');
    }
};