Mysql 数据库命名和设计规范
现在项目里命名比较乱..
转一个.
http://www.daokr.cn/article/html/260.html
1.表名
web_user
web_group
supe_userspace
不要用 t_report_fees,这种复数
2.字段名
userId
userName
userPassword
字段名格式要统一.不要userId,user_id,uid....
3.代码里sql关键字要大写
4.代码里引用表名,需要加 `` 标识
...