Data Dictionary And Database Report
Created by SlaphappyGeeks.com
| Project name | Target db | Author | Copyright | Current |
|---|---|---|---|---|
| example | mysql4 | Robert Allen | 2007 Robert Allen | 2007-12-05 01:47 |
| Description: An example database for keeping user contact and support history information, and setting access permissions. | ||||
Generated by Allen Technology DDictXSLT - Copyright 2004 allentech.net
Data Dictionary Index
Entity - Attribute - Index Details
Domains
Relationships
ER Diagram
ER Diagram
example

Entities
email_addr
permission
phone
user
user_history
| Entity: email_addr | Email address | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| confirmed Domain: boolean |
|
|
Set if email address has been confirmed | (no todo) | ||||
| email_addr Domain: email |
|
|
Valid email address | (no todo) | ||||
| PKemail_addr_id |
|
|
Record unique id | (no todo) | ||||
| type Domain: text_16 |
|
|
Primary use of this address: Ex - Personal, Business, Emergency, All | (no todo) | ||||
| FKuser_id |
|
|
Foreign key into user table | (no todo) |
^Top, Data Dictionary Index, Entities Index
| Entity: permission | User access permission levels | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| level Domain: text_16 |
|
|
Name of assigned permission level: Ex - Anonymous, Member, Private member, Admin, Super admin | (no todo) | ||||
| PKpermission |
|
|
Primary key, also permission level value, > permission is > access | (no todo) |
^Top, Data Dictionary Index, Entities Index
| Entity: phone | Phone numbers | Research int'l phone number formats to be certain all are covered by component string lengths |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| area_code |
|
|
String representation of area code | (no todo) | ||||
| country_code |
|
|
String representation of country code | (no todo) | ||||
| ext |
|
|
Phone number extension | (no todo) | ||||
| phone |
|
|
String representation of phone number | Research int'l phone number formats to be certain all are covered by component string lengths | ||||
| PKphone_id |
|
|
Record unique id | (no todo) | ||||
| type Domain: text_16 |
|
|
Type of number: Ex - Home, Business, Cell, Personal, Fax, etc. | (no todo) | ||||
| FKuser_id |
|
|
Foreign key into user table | (no todo) |
| Index | Type / Sort | Attributes | Description | TODO | ||
|---|---|---|---|---|---|---|
| AC_IDX |
|
area_code |
(no description) | (no todo) | ||
| CC_IDX |
|
country_code |
(no description) | (no todo) |
^Top, Data Dictionary Index, Entities Index
| Entity: user | (no description) | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| birthdate |
|
|
User's date of birth | (no todo) | ||||
| enabled Domain: boolean |
|
|
Enables user access if set | (no todo) | ||||
| first_name Domain: text_32 |
|
|
First name of user | (no todo) | ||||
| language Domain: text_32 |
|
|
User's primary language | (no todo) | ||||
| last_name Domain: text_32 |
|
|
Last name of user | (no todo) | ||||
| pass Domain: passwd |
|
|
User password (encrypted) | (no todo) | ||||
| FKpermission |
|
|
Foreign key into permission table, also integer access permission level | (no todo) | ||||
| sex |
|
|
Users gender | (no todo) | ||||
| PKuser_id |
|
|
Record unique id | (no todo) | ||||
| user_name Domain: text_16 |
|
|
User login name | (no todo) |
^Top, Data Dictionary Index, Entities Index
| Entity: user_history | User admin history | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| admin_notes Domain: description |
|
|
Notes entered by admin handling user event | (no todo) | ||||
| event Domain: text_32 |
|
|
Type of user event: Ex - signup, enabled, disabled | (no todo) | ||||
| PKhist_id |
|
|
Record unique id | (no todo) | ||||
| timestamp Domain: unix_time |
|
|
Record timestamp | (no todo) | ||||
| FKuser_id |
|
|
Foreign key into user table | (no todo) |
Domains
boolean
date_time
description
email
ip_address
number_dec42
number_double
number_int
passwd
short_description
text_128
text_16
text_255
text_32
text_64
unix_time
url
us_dollar
us_phone
us_state
us_zip
username
Relationships
permission_user
user_email_addr
user_phone
user_user_history
| Relationship name | Parent / Child | PK - FK | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| permission_user 1:0+, Non-Identifying |
|
|
Assigns permission level to user | (no todo) | ||||
| user_email_addr 1:1+, Non-Identifying |
|
|
Relates email_addr to user | (no todo) | ||||
| user_phone 1:1+, Non-Identifying |
|
|
Relates phone number to user | (no todo) | ||||
| user_user_history 1:0+, Non-Identifying |
|
|
Relates support event history to user | (no todo) |