autoincrement column when another column has same value in laravel

前端 未结 0 1401
天命终不由人
天命终不由人 2021-01-06 11:42

I have a table with 3 fields ID, type, value. I want to value in Value column auto increment when value in Type column is same like table below

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