diff options
Diffstat (limited to 'docs/sql-standards.md')
| -rw-r--r-- | docs/sql-standards.md | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/sql-standards.md b/docs/sql-standards.md index 23823c5..b97c76b 100644 --- a/docs/sql-standards.md +++ b/docs/sql-standards.md @@ -162,7 +162,6 @@ UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`&~(6 For the most part, tables should be written in snake case, and columns should be written in upper camel case. Tables: - ``` broadcast_text creature_loot_template @@ -170,31 +169,12 @@ points_of_interest ``` Columns: - ``` MaleText QuestRequired PositionX ``` -In the case of column names with acronyms (e.g. GUID, ID, NPC, etc) the letters in the acronym should be uppercase. - -Wrong: - -``` -Itemguid -DisplayId -RequiredNpcOrGoCount -``` - -Correct: - -``` -ItemGUID -DisplayID -RequiredNPCOrGOCount -``` - ### Integers We do not define the width of an integer when we create new columns. (Width is deprecated in later versions of MySQL 8) |
