0

建表的时候字段注释

 3 years ago
source link: https://www.v2ex.com/t/799291
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
建表的时候字段注释 - V2EX

V2EX  ›  程序员

建表的时候字段注释

  Macv1994 · 1 小时 52 分钟前 · 191 次点击

各位大哥们,你们建表的时候字段加 comment 吗?

6 条回复    2021-09-01 18:13:26 +08:00

RRRoger

RRRoger   1 小时 43 分钟前

orm 会自己加 /狗头

Macv1994

Macv1994   1 小时 17 分钟前

@RRRoger 什么 orm 这么吊?

ws52001

ws52001   23 分钟前

有时候加,有时候不加,主要取决我当时的心情,还有当时我有没有想起来这事。

ila

ila   21 分钟前 via Android

@Macv1994 估计是写在 model 里,migrate 是创建

lsiufD

lsiufD   16 分钟前

表备注、字段备注都会,状态、类型这种枚举型的也会标记值对应的意思,不然每次都要问人或者找代码就太痛苦了

CodeCodeStudy

CodeCodeStudy   12 分钟前

加啊,不然怎么开发、怎么维护?

关于   ·   帮助文档   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2771 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 15ms · UTC 10:25 · PVG 18:25 · LAX 03:25 · JFK 06:25
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK