Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 21

T

Field Type Size


admin_id bigint 20
First_name varchar 16
last_name varchar 16
email varchar 128
admin_avatar nvarchar 2048
password varchar 255
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Field Type Size


user_id bigint 20
First_name varchar 16
last_name varchar 16
email varchar 20
password varchar
Phone_no bigint 10
City_id bigint -
Country_id bigint -
user_name varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Field Type Size


city_id bigint 20
City_name varchar 16
State_name varchar 16
Country_id bigint 20
Population bigint 20
Time_zone varchar
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

T
Field Type Size
Country_id bigint 20
Country_name varchar 16
Capital varchar 16
Currency money
Population bigint 20
Language varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Table: U
Field Type Size
ud_id bigint 20
avatar varchar
title varchar 16
Discription varchar 50
Gender char F','M'
Status bool 1
Preferred_Lang varchar 16
Birth Date date
Address_id bigint 20
Social_Media_Links varchar 20
Location varchar 16
Preferred_Currency money
Role varchar 16
user_id bigint 20
City_id bigint -
Country_id bigint -
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

T
Field Type Size
Address_id bigint 20
ud_id bigint 20
House_number int 16
building_name varchar 16
area varchar 16
city_id bigint 20
country_id bigint 20
Postal Code int 16
Area varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

T
Field Type Size
mission_id bigint 20
mission_title varchar 16
mission_desc varchar 50
mission_type varchar 16
mission_img url
category_id bigint 20
organization_id bigint 20
skill_id bigint 20
theme_id bigint 20
story_id bigint 20
city_id bigint 20
start_date datetime
end_date datetime
deadline_date datetime
rating int 1
volenteer_id bigint 20
Add_to_fav bool
keywords varchar 20
Seats_left int 16
mission_tab_disc text 50
organization_tab_disc text 50
Documents varchar
commets_tab text
policy_id varchar 50
country_id bigint 20
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

T
Field Type Size
skill_id bigint 20
skill_name varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Ta
Field Type Size
category_id bigint 20
category_name varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -
T
Field Type Size
theme_id bigint 20
theme_name varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

T
Field Type Size
story_id bigint 20
volenteer_id bigint 20
mission_id bigint 20
story_title varchar 50
story_disc text 100
story_theme bigint 20
Published_date date
story_img varchar 50
rating int 1
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Field Type Size


policy_id bigint 20
policy_description varchar 16
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Ta
Field Type Size
volenteer_id bigint 20
user_id bigint 20
ud_id bigint 20
story_id bigint 20
mission_id bigint 20
city_id bigint 20
country_id bigint 20
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Tab
Field Type Size
org_id bigint 20
organization_name varchar 16
mission_id bigint 20
city_id bigint 20
country_id bigint 20
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -

Ta
Field Type Size
comment_id bigint 20
user_id varchar 16
mission_id bigint 20
comment_desc varchar 50
created_at timestemp -
updated_at timestemp -
deleted_at timestemp -
Table: V
Field Type Size
volenteer_id bigint 20
comment_id bigint 20
user_id varchar 16
mission_id bigint 20
comment_desc varchar 50
Start_date timestemp -
Hours int 10
minutes int 10

Table:
Field Type Size
volenteer_id bigint 20
mission_id bigint 20
message varchar 50
Actions varchar 50
Start_date timestemp -
Table: Admin
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
Yes Null
NO None UNIQUE
Yes Null
NO None
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: User
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
Yes Null
NO None UNIQUE
NO None
NO None UNIQUE
NO None UNSIGNED
NO None UNSIGNED
NO None UNIQUE
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: City
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
Yes Null
NO None UNSIGNED
Yes Null
NO None
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Country
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
Yes Null
Yes Null
Yes Null
Yes Null
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: User Additional Details


Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
Yes Null
Yes Null
NO M'
NO TRUE
Yes "English"

NO None UNSIGNED

NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Address
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
NO None UNSIGNED
Yes Null
Yes Null
yes null
NO None UNSIGNED
NO None UNSIGNED
Yes
Yes
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Mission
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
NO None
NO None

Yes
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
No None

NO None UNSIGNED

Policy
NO None UNSIGNED
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Skills
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Category
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -
Table: theme
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: stories
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
NO None UNSIGNED
NO None UNSIGNED

NO None UNSIGNED

NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Policy
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: volenteer
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: organization
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO None UNSIGNED
NO None UNSIGNED
NO None UNSIGNED
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -

Table: Comments
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO None UNSIGNED
NO None
NO CURRENT_TIMESTEMP - -
Yes Null - -
Yes Null - -
Table: Volunteering_hours
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
NO None AUTO_INCREMENT UNSIGNED
Yes Null
NO None UNSIGNED
NO None
NO CURRENT_TIMESTEMP - -
NO Null - -
NO Null - -

Table: Volunteering_Goal
Null Default Extra Attribute
NO None AUTO_INCREMENT UNSIGNED
NO None AUTO_INCREMENT UNSIGNED
NO None - -
NO None - -
NO CURRENT_TIMESTEMP - -
Key
Primary Key

-
-
-

Key
Primary Key

FK(city.city_id)
FK(country.country_id)

-
-
-

Key
Primary Key
fk(country.country_id)

-
-
-

Key
Primary Key

-
-
-

Key
Primary Key

FK(address.address.id)

FK(user.user_id)
FK(city.city_id)
FK(country.country_id)
-
-
-

Key
Primary Key
FK(User Additional Datail.ud_id)

FK(City.city_id)
FK(Country.country_id)

-
-
-

Key
Primary Key

FK(category.category_id)
FK(organization.org_id)
FK(skills.skill_id)
FK(theme.theme_id)
FK(stories.story_id)
FK(City.city_id)
FK(volenteers.volenteer_id)

FK(Policy.policy_id)
FK(Country.country_id)
-
-
-

Key
Primary Key

-
-
-

Key
Primary Key

-
-
-
Key
Primary Key

-
-
-

Key
Primary Key
FK(volenteer.volenteer_id)
FK(missions.mission_id)

FK(theme.theme_id)

-
-
-

Key
Primary Key

-
-
-
Key
Primary Key
FK(user.user_id)
FK(User Additional Datail.ud_id)
FK(stories.story_id)
FK(missions.mission_id)
FK(City.city_id)
FK(Country.country_id)
-
-
-

Key
Primary Key

FK(missions.mission_id)
FK(City.city_id)
FK(Country.country_id)
-
-
-

Key
Primary Key
FK(user.user_id)
FK(missions.mission_id)

-
-
-
Key
Primary Key
Primary Key
FK(user.user_id)
FK(missions.mission_id)

-
-
-

Key
Primary Key
Primary Key
-
-
-

You might also like