Upload
vadrevup
View
218
Download
0
Embed Size (px)
Citation preview
7/30/2019 AirseaProject Development (39)
1/15
AirseaProject_development
05/02/13
Database Analysis
Tables-Fields-Views
7/30/2019 AirseaProject Development (39)
2/15
Database: AirseaProject_development
Test1
Active Tables: 5
Tables not used: 7
Total Tables: 12
#Of Records: 57
Total Fields: 110
Last Sync: May-02-2013
Environment: Development
Page 1 of 14
May 02, 2013 AirseaProject_development Page 1 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
3/15
Recap by Table Type
Table Type Description # Of Tables # Of Rows # Of Fields
Maintenance Used to strore information which is referenced bytransactional table to validate data capture.Changed on demand,but is not transactional innature.
1 13 8
Recap Work tables which are either temporary or used tostore calculated information.
0 0 0
Setup Tables which hold overall setup parameters andswitches for the application.
0 0 0
Transactional Stores transact ion information from the application.These tables usually maintain the most recordsand are updated on a regular basis.
0 0 0
View Is a view made up of one or multiple tables. 0 0 0
Not Used 7 0 65
Not Defined Tables which type is not yet defined 11 44 102
Grand Totals 19 57 175
Recap by Feature/Module/Section
Table Type # Of Tables # Of Rows # Of Fields
Feature 1 0 5
Module 0 0 0
Section 1 13 8
Grand Totals 2 13 13
Page 2 of 14
May 02, 2013 AirseaProject_development Page 2 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
4/15
Top Tables- Tables which are most commonly used in this Database
Table Name Description
categories
colors This is used to maintain colors
groups This is used to maintain groups in specific order
Page 3 of 14
May 02, 2013 AirseaProject_development Page 3 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
5/15
All Tables Info:
Table Name Usage Table Type Of Rows Used?
categories Maintenance 13 Yes
categories_users 0 No
colors This is used to maintain colors 0 No
groups This is used to maintain groups inspecific order
0 No
organizations 2 Yes
pages 0 No
patterns 0 No
patterns_users 0 No
projects 13 Yes
schema_migrations 24 Yes
typographies 0 No
users 5 Yes
Maintenance (1 Table)
Table Name Usage Table Type Of Rows Used?
categories Maintenance 13 Yes
Not Used (7 Tables)
Table Name Usage Table Type Of Rows Used?
categories_users 0 No
colors This is used to maintain colors 0 No
groups This is used to maintain groups inspecific order
0 No
pages 0 No
patterns 0 No
patterns_users 0 No
typographies 0 No
Active (5 Tables)
Page 4 of 14
May 02, 2013 AirseaProject_development Page 4 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
6/15
Table Name Usage Table Type Of Rows Used?
categories Maintenance 13 Yes
organizations 2 Yes
projects 13 Yes
schema_migrations 24 Yes
users 5 Yes
Not Active (7 Tables)
Table Name Usage Table Type Of Rows Used?
categories_users 0 No
colors This is used to maintain colors 0 No
groups This is used to maintain groups inspecific order
0 No
pages 0 No
patterns 0 No
patterns_users 0 No
typographies 0 No
Tables info:Table Name: categories
Table Type: Maintenance
Usage:
#of Rows: 13
Field Type Size Dec Usage
created_at datetime
id integer 4
name string 255
organization_id integer 4
position integer 4
slug string 255
updated_at datetime
use_privacy boolean 1
Page 5 of 14
May 02, 2013 AirseaProject_development Page 5 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
7/15
Table Name: categories_users
Table Type:
Usage:
#of Rows: 0
Field Type Size Dec Usage
category_id integer 4
id integer 4
user_id integer 4
Table Name: colors
Table Type:
Usage: This is used to maintain colors
#of Rows: 0
Field Type Size Dec Usage
actual_color string 255
category_id integer 4
constant string 255
created_at datetime
group_id integer 4
group_title string 255
id integer 4
organization_id integer 4
sass string 255
updated_at datetime
usage text
user_id integer 4
Table Name: groups
Table Type:
Usage: This is used to maintain groups in specific order
#of Rows: 0
Page 6 of 14
May 02, 2013 AirseaProject_development Page 6 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
8/15
Field Type Size Dec Usage
created_at datetime
id integer 4
name string 255
organization_id integer 4
updated_at datetime
user_id integer 4
Table Name: organizations
Table Type:
Usage:
#of Rows: 2
Field Type Size Dec Usage
created_at datetime
id integer 4
name string 255
updated_at datetime
users_count integer 4
Table Name: pages
Table Type:
Usage:
#of Rows: 0
Field Type Size Dec Usage
companyname string 255
created_at datetime
email string 255
first_name string 255
id integer 4
last_name string 255
message text
updated_at datetime
Page 7 of 14
May 02, 2013 AirseaProject_development Page 7 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
9/15
Table Name: patterns
Table Type:
Usage:
#of Rows: 0
Field Type Size Dec Usage
asset_attachment string 255
attachment string 255
category_id integer 4
color string 255
created_at datetime
fontcolor string 255
group string 255
how_used text
id integer 4
name string 255
notes text
organization_id integer 4
pat_css text 2147483647
pat_html text 2147483647
pat_js text 2147483647
slug string 255
status string 255
updated_at datetime
use_privacy boolean 1
what_problem text
when_used text
Table Name: patterns_usersTable Type:
Usage:
#of Rows: 0
Field Type Size Dec Usage
created_at datetime
Page 8 of 14
May 02, 2013 AirseaProject_development Page 8 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
10/15
id integer 4
pattern_id integer 4
updated_at datetime
user_id integer 4
Table Name: projects
Table Type:
Usage:
#of Rows: 13
Field Type Size Dec Usage
category_id integer 4
content_type string 255
created_at datetime
date date
description text
document_name string 255
document_size decimal 10
id integer 4
job_number string 255
organization_id integer 4
project_name string 255
reference string 255
time time
updated_at datetime
user_id integer 4
Table Name: schema_migrations
Table Type:
Usage:
#of Rows: 24
Field Type Size Dec Usage
version string 255
Table Name: typographies
Page 9 of 14
May 02, 2013 AirseaProject_development Page 9 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
11/15
Table Type:
Usage:
#of Rows: 0
Field Type Size Dec Usage
category_id integer 4
created_at datetime
description text 2147483647
id integer 4
organization_id integer 4
title string 255
typo_content text 2147483647
typo_css text 2147483647
updated_at datetime
user_id integer 4
Table Name: users
Table Type:
Usage:
#of Rows: 5
Field Type Size Dec Usage
active boolean 1
admin boolean 1
created_at datetime
crypted_password string 255
email string 255
id integer 4
name string 255
organization_id integer 4
remember_me_token string 255
remember_me_token_expires_at datetime
reset_password_email_sent_at datetime
reset_password_token string 255
reset_password_token_expires_at datetime
Page 10 of 14
May 02, 2013 AirseaProject_development Page 10 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
12/15
salt string 255
updated_at datetime
username string 255
FIELDS IN DATABASE(All Tables):
Field Type Size Dec Usage Table Name
active boolean 1 users
actual_color string 255 colors
admin boolean 1 users
asset_attachment string 255 patterns
attachment string 255 patterns
category_id integer 4 patterns
category_id integer 4 colors
category_id integer 4 typographies
category_id integer 4 categories_users
category_id integer 4 projects
color string 255 patterns
companyname string 255 pages
constant string 255 colors
content_type string 255 projects
created_at datetime categories
created_at datetime projects
created_at datetime typographies
created_at datetime pages
created_at datetime groups
created_at datetime patterns_users
created_at datetime patterns
created_at datetime users
created_at datetime organizations
created_at datetime colors
crypted_password string 255 users
date date projects
description text projects
description text 2147483647
typographies
Page 11 of 14
May 02, 2013 AirseaProject_development Page 11 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
13/15
document_name string 255 projects
document_size decimal 10 projects
email string 255 pages
email string 255 users
first_name string 255 pages
fontcolor string 255 patterns
group string 255 patterns
group_id integer 4 colors
group_title string 255 colors
how_used text patterns
id integer 4 categories
id integer 4 patterns_users
id integer 4 pages
id integer 4 projects
id integer 4 patterns
id integer 4 groups
id integer 4 colors
id integer 4 typographies
id integer 4 categories_users
id integer 4 users
id integer 4 organizations
job_number string 255 projects
last_name string 255 pages
message text pages
name string 255 patterns
name string 255 categories
name string 255 organizations
name string 255 users
name string 255 groups
notes text patterns
organization_id integer 4 projects
organization_id integer 4 colors
organization_id integer 4 patterns
organization_id integer 4 typographies
Page 12 of 14
May 02, 2013 AirseaProject_development Page 12 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
14/15
organization_id integer 4 categories
organization_id integer 4 groups
organization_id integer 4 users
pat_css text 2147483647
patterns
pat_html text 2147483647
patterns
pat_js text 2147483647
patterns
pattern_id integer 4 patterns_users
position integer 4 categories
project_name string 255 projects
reference string 255 projects
remember_me_token string 255 users
remember_me_token_expires_at
datetime users
reset_password_email_sent_at
datetime users
reset_password_token string 255 users
reset_password_token_expires_at
datetime users
salt string 255 users
sass string 255 colors
slug string 255 patterns
slug string 255 categories
status string 255 patterns
time time projects
title string 255 typographies
typo_content text 2147483647
typographies
typo_css text 2147483647
typographies
updated_at datetime users
updated_at datetime patterns
updated_at datetime projects
updated_at datetime groups
updated_at datetime pages
updated_at datetime typographies
updated_at datetime patterns_users
Page 13 of 14
May 02, 2013 AirseaProject_development Page 13 of 14
Database Analysis
7/30/2019 AirseaProject Development (39)
15/15
updated_at datetime categories
updated_at datetime organizations
updated_at datetime colors
usage text colors
use_privacy boolean 1 patterns
use_privacy boolean 1 categories
user_id integer 4 categories_users
user_id integer 4 patterns_users
user_id integer 4 typographies
user_id integer 4 colors
user_id integer 4 groups
user_id integer 4 projects
username string 255 users
users_count integer 4 organizations
version string 255 schema_migrations
what_problem text patterns
when_used text patterns
May 02, 2013 AirseaProject_development Page 14 of 14
Database Analysis