Convention for Database Tables: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:
|-
|-
| S || Settings || Settings Tables || T00S00 ~ TZZSZZ || V00S00 ~ VZZSZZ
| S || Settings || Settings Tables || T00S00 ~ TZZSZZ || V00S00 ~ VZZSZZ
|-
| V || Versions || Versions Tables || T00V00 ~ TZZVZZ ||
|}
|}



Revision as of 10:48, 22 January 2018

Types of Table

Code Types Purpose Tables Views
A Audit Audit Tables T00A00 ~ TZZAZZ
E Entries Entries Tables T00E00 ~ TZZEZZ V00E00 ~ VZZEZZ
I Identity Identity Tables T00I00 ~ TZZIZZ
J Join Join Tables n - n T00J00 ~ TZZJZZ
L Local Local Tables T00L00 ~ TZZLZZ
M Metadata Metadata Tables T00M00 ~ TZZMZZ
S Settings Settings Tables T00S00 ~ TZZSZZ V00S00 ~ VZZSZZ
V Versions Versions Tables T00V00 ~ TZZVZZ

Nomenclature

[T]{1}─────────────T─┐
                     ├─T00┐
[0-9A-Z]{2}────────00┘    │
                          ├─T00AYZ
[A|E|I|J|L|M|S]{1}─A─┐    │
                     ├─AYZ┘
[0-9A-Z]{2}────────YZ┘

Audit Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00AYZ
[A]{1}──────A─┐    │
              ├─AYZ┘
[0-9A-Z]{2}─YZ┘

Entries Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00EYZ
[E]{1}──────E─┐    │
              ├─EYZ┘
[0-9A-Z]{2}─YZ┘

Identity Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00IYZ
[I]{1}──────I─┐    │
              ├─IYZ┘
[0-9A-Z]{2}─YZ┘

Join Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00JYZ
[J]{1}──────J─┐    │
              ├─JYZ┘
[0-9A-Z]{2}─YZ┘

Local Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00LYZ
[L]{1}──────L─┐    │
              ├─JYZ┘
[0-9A-Z]{2}─YZ┘

Metadata Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00MYZ
[M]{1}──────M─┐    │
              ├─MYZ┘
[0-9A-Z]{2}─YZ┘

Settings Tables

[T]{1}──────T─┐
              ├─T00┐
[0-9A-Z]{2}─00┘    │
                   ├─T00SYZ
[S]{1}──────S─┐    │
              ├─SYZ┘
[0-9A-Z]{2}─YZ┘