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"
|-
|-
! SN !! Code  !! Types  !! Purpose !! Tables !! Views
! Order !! Code  !! Types  !! Purpose !! Tables !! Views
|-
|-
| F || A || Audit  || Audit Tables || T00A00 ~ TZZAZZ ||
| F || A || Audit  || Audit Tables || T00A00 ~ TZZAZZ ||

Revision as of 10:12, 28 November 2018

Types of Table

Order 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┘