Is there a naming convention for MySQL?

前端 未结 7 1075
鱼传尺愫
鱼传尺愫 2020-11-29 15:35

Here\'s how I do it:

  1. Table names are lower case, uses underscores to separate words, and are singular (e.g. foo, foo_bar, etc.
  2. <
7条回答
  •  天命终不由人
    2020-11-29 16:19

    Thankfully, PHP developers aren't "Camel case bigots" like some development communities I know.

    Your conventions sound fine.

    Just so long as they're a) simple, and b) consistent - I don't see any problems :)

    PS: Personally, I think 5) is overkill...

提交回复
热议问题