Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dipankarb's avatar

php artisan make:model ContactPerson -m

php artisan make:model ContactPerson -m

Model created successfully. Created Migration: 2015_07_22_110325_create_contact_people_table

and

Schema::create('contact_people', function (Blueprint $table) { $table->increments('id'); $table->timestamps();

Why its renamed automatically from ContactPerson to contact_people ???

0 likes
1 reply
Red's avatar
Red
Best Answer
Level 4

Migration names uses pluralization. The plural of contact person is contact people.

1 like

Please or to participate in this conversation.