Creating custom primary key in laravel

前端 未结 0 1767
生来不讨喜
生来不讨喜 2020-12-31 10:03

I\'m new to laravel,

and I want to create a "product" table with a primary id of something like "PROD-1001"

Here is my schema

Schema

相关标签:
回答
  • 消灭零回复
提交回复
热议问题