Untitled
unknown
plain_text
2 years ago
812 B
5
Indexable
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('locale')->nullable(); $table->string('firstName')->nullable(); $table->string('lastName')->nullable(); $table->string('email')->nullable(); $table->string('phone')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('users'); } };
Editor is loading...