mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-04 23:32:26 +00:00
Updated Database Conventions and Guidelines (markdown)
parent
eae3de2681
commit
71ff3d2ea8
@ -2,7 +2,7 @@ This page serves as a reference for rules that we adhere to as a project, things
|
|||||||
|
|
||||||
This does not mean that past table creations match this specification, but that we intend to keep it consistent going forward
|
This does not mean that past table creations match this specification, but that we intend to keep it consistent going forward
|
||||||
|
|
||||||
## Table Names
|
# Table Names
|
||||||
|
|
||||||
* lowercase
|
* lowercase
|
||||||
* snake_case
|
* snake_case
|
||||||
@ -25,7 +25,7 @@ When defining an object or model in the code, our source is inconsistent everywh
|
|||||||
|
|
||||||
For example I have a class representing a `Door` and a table named `doors`
|
For example I have a class representing a `Door` and a table named `doors`
|
||||||
|
|
||||||
## Column Naming
|
# Column Naming
|
||||||
|
|
||||||
Like **Table Names** columns also adhere to **lowercase** and `snake_case` appropriations. The column itself should very easily describe the purpose of the column itself without abbreviations as much as possible.
|
Like **Table Names** columns also adhere to **lowercase** and `snake_case` appropriations. The column itself should very easily describe the purpose of the column itself without abbreviations as much as possible.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user