Changeset d37a49a in freewrt


Ignore:
Timestamp:
May 8, 2007, 5:08:55 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
c5c3ea9
Parents:
ab7d480
Message:

first draft of the actual database scheme

runs through without syntax errors; feel free to point out
any semantical errors or other improvements to me, as I know
barely enough SQL for a select statement and can't even do
insert without having the docs in front of me…

git-svn-id: svn://www.freewrt.org/branches/common-adk@2470 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • docs/nfo-draft

    rab7d480 rd37a49a  
    354354Draft database design – ERM
    355355
     356Note: the field and database names here are shown in mixed case;
     357in the actual database, only the UPPERCASE letters from the draft
     358(not the underscores, lower-case letters and comments) are used as
     359field names IN LOWERCASE. (e.g, desc is shorter than DESCRIPTION,
     360and ord works whereas ORDER is a keyword).
     361
    356362 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
    357363 ┃                                              ┏━━━━━━━━━━━━━━━━━━━━━━━━━━┓              ⁿ∶¹ ┃
    358364 ┃ ╭─────────────────╮     ╭────────────────╮   ┃    ╭─────────────╮   1:1 ┃ ╭──────────────╮ ┃     ╭─────────────╮
    359  ┃ │ FLAVOURS        │     │ CSYMS          │   ┃    │ SOURCES     │       ┃ │ PACKAGES     │ ┃     │ RCCONF_SYMS
     365 ┃ │ FLAVOURS        │     │ CSYMS          │   ┃    │ SOURCES     │       ┃ │ PACKAGES     │ ┃     │ RCCONF_syms
    360366 ┃₁├─────────────────┤ 1:1 ├────────────────┤   ┃    ├─────────────┤       ┃ ├──────────────┤ ┃     ├─────────────┤
    361367 ┃ⁿ̄│ C̲S̲Y̲̲M̲            ┿━━━━━┿ C̲S̲Y̲M̲           ┿┳┳┳┛ ┏━━┿ D̲I̲R̲E̲C̲T̲O̲R̲Y̲   ┿━┓ 1:n ┗━┿ C̲̲S̲Y̲M̲         ┿━┛   ┏━┿ N̲A̲M̲E̲        │
    362368 ┗━┿ PACKAGE (csym)  │     │ BROKEN         │┃┃┃  ┃  │ PERMIT_SRC  │ ┣━━━━━━━┿ SOURCE       │     ┃ │ VALUE       │
    363369   │ FLAVOUR (name)  │     │ CITEM (type)   │┃┃┃  ┃┏━┿ DISTFILES   │ ┃       │ MENUITEM     │     ┃ │ TAG         │
    364    │ PERMIT_BIN      │     │ DEFAULT        │┃┃┗━ ̴┃̴┃̴ ̴┿ VDEPS¹      │ ┃       │ NAME         │     ┃ ╰─────────────╯
    365  ┏━┿ BDEPS (dirs)¹   │     │ DESCRIPTION    │┃┃   ┃┃ │ URLS        │ ┃       │ VERSION      │     ┃
    366  ┃ ╰─────────────────╯     │ HELPTEXT       │┃┃   ┃┃ ╰─────────────╯ ┃       │ DASHVER      │     ┃
     370   │ PERMIT_BIN      │     │ DEFauLT        │┃┃┗━ ̴┃̴┃̴ ̴┿ VDEPS¹      │ ┃       │ NAME         │     ┃ ╰─────────────╯
     371 ┏━┿ BDEPS (dirs)¹   │     │ DESCription    │┃┃   ┃┃ │ URLS        │ ┃       │ VERSION      │     ┃
     372 ┃ ╰─────────────────╯     │ HELPtext       │┃┃   ┃┃ ╰─────────────╯ ┃       │ DASHVER      │     ┃
    367373 ┃ ⑴ m:n relationship      │ MDEPS (csyms)¹ ┿┛┃   ┃┃₁                ┃       │ PKGNAME      │     ┃
    368374 ┃                         │ SDEPS (csyms)¹ ┿━┛   ┃┃ⁿ̄                ┃ m:n   │ PERMIT_BIN   │     ┃
    369375 ┃ ╭─────────────╮  ┏━━━━━━┿ CATEGORY       │     ┃┃                 ┗━━━━━━━┿ BDEPS        │ 1:n ┃
    370376 ┃ │ CATEGORIES  │  ┃ ¹∶ⁿ  │ DIRECTORY      ┿━━━━━┫┃ ╭───────────────╮       │ RCCONF_SYMS  ┿━━━━━┛
    371  ┃ ├─────────────┤  ┃      │ ORDER          │ ⁿ∶¹ ┃┃ │ DISTFILES     │       │ CONFFILES    │
     377 ┃ ├─────────────┤  ┃      │ ORDer          │ ⁿ∶¹ ┃┃ │ DISTFILES     │       │ CONFFILES    │
    372378 ┃ │ N̲A̲M̲E̲        ┿━━┛      ╰────────────────╯     ┃┃ ├───────────────┤       │ USERS        │
    373  ┃ │ DESCRIPTION │                                ┃┗━┿ D̲I̲S̲T̲F̲I̲L̲E̲      │       │ GROUPS       │
    374  ┃ ╰─────────────╯                            m:n ┃  │ MASTER_SITES  │       ╰──────────────╯
     379 ┃ │ DESCription │                                ┃┗━┿ D̲I̲S̲T̲F̲I̲L̲E̲      │       │ GROUPS       │
     380 ┃ ╰─────────────╯                            m:n ┃  │ master_SITES  │       ╰──────────────╯
    375381 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛  │ HASHES        │
    376382                                                     ╰───────────────╯
Note: See TracChangeset for help on using the changeset viewer.