📌  相关文章
📜  在 laravel 中为现有表创建模型 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:48.195000             🧑  作者: Mango

代码示例1
Yes, you can create a create a model php artisan make:model Profile and then create its controller to handle CRUD operations. (Rememer the name of the model should be singular, not plural so that automatically the name of the table becomes the pluraliza name.) That is, Model: User, Table: users Model: Order, Table: orders etc