class Product extends Model { use HasUuids; } Schema::create('products', function (Blueprint $table) { $table->uuid('id')->primary()->unique()->index(); $table->string('name', 100); $table->text('description'); });