Convention for Database Tables: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 2: Line 2:
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Code  !! Types  !! Purpose !! Tables !! Views
! SN !! Code  !! Types  !! Purpose !! Tables !! Views
|-
|-
| A || Audit  || Audit Tables || T00A00 ~ TZZAZZ ||
| F || A || Audit  || Audit Tables || T00A00 ~ TZZAZZ ||
|-
|-
| E || Entries || Entries Tables || T00E00 ~ TZZEZZ || V00E00 ~ VZZEZZ
| D || E || Entries || Entries Tables || T00E00 ~ TZZEZZ || V00E00 ~ VZZEZZ
|-
|-
| I || Identity || Identity Tables || T00I00 ~ TZZIZZ ||
| A || I || Identity || Identity Tables || T00I00 ~ TZZIZZ ||
|-
|-
| J || Join || Join Tables '''n - n''' || T00J00 ~ TZZJZZ ||  
| E || J || Join || Join Tables '''n - n''' || T00J00 ~ TZZJZZ ||  
|-
|-
| L || Local || Local Tables || T00L00 ~ TZZLZZ ||
| G || L || Local || Local Tables || T00L00 ~ TZZLZZ ||
|-
|-
| M || Metadata || Metadata Tables || T00M00 ~ TZZMZZ ||
| B || M || Metadata || Metadata Tables || T00M00 ~ TZZMZZ ||
|-
|-
| S || Settings || Settings Tables || T00S00 ~ TZZSZZ || V00S00 ~ VZZSZZ
| C || S || Settings || Settings Tables || T00S00 ~ TZZSZZ || V00S00 ~ VZZSZZ
|-
|-
| V || Versions || Versions Tables || T00V00 ~ TZZVZZ ||
| H || V || Versions || Versions Tables || T00V00 ~ TZZVZZ ||
|}
|}



Revision as of 10:12, 28 November 2018

Types of Table

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

Nomenclature

[T]{1}───────────────T─┐
                       ├─T00┐
[0-9A-Z]{2}──────────00┘    │
                            ├─T00AYZ
[A|E|I|J|L|M|S|V]{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┘

Versions Tables

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