Mercurial > borealpoint
view database/migrations/2025_08_29_004806_create_clients_table.php @ 2:90296614b7e2 default tip
Adding in the base for the clients table
| author | luka |
|---|---|
| date | Thu, 28 Aug 2025 20:55:40 -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('clients', function (Blueprint $table) { $table->baseColumns(); $table->string('name'); $table->string('email')->nullable(); $table->string('phone_number')->nullable(); $table->string('address')->nullable(); $table->text('notes')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('clients'); } };
