lopezmason
Založený: 13.04.2022
Príspevky: 3
Zaslal: 2022-04-13 03:51
Návrat hore
Odpovedať s citátom
|
avoid duplication of class Migrations name
we become what we behold
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('people', function (Blueprint $table) {
$table->string('first_name')->nullable();
});
}
};
|
Odoslať novú tému
Odpovedať na tému
|
|
|