go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

[goctl] replace the table prefix

Open LiangQinghai opened this issue 2 years ago • 2 comments

now

  • table: t_user, t_role
  • genModel: TUSER, TROLE

expect

  • table: t_user, t_role
  • genModel: USER, ROLE

How to achieve this effect with GOCT?

LiangQinghai avatar Jun 29 '22 02:06 LiangQinghai

Changed your table name is the only way to make it effect.

kesonan avatar Jun 29 '22 09:06 kesonan

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jul 30 '22 02:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Aug 14 '22 02:08 github-actions[bot]