0% found this document useful (0 votes)
10 views1 page

Databasedesign 1

The document outlines an entity relationship diagram (ERD) that models users, groups, universities, galleries, posts, messages, and reminders. The ERD shows the relationships between these entities such as users belonging to groups, universities having galleries, and posts being associated with users and galleries. It also defines attributes for each entity like user IDs, names, and passwords.

Uploaded by

wanofi israel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Databasedesign 1

The document outlines an entity relationship diagram (ERD) that models users, groups, universities, galleries, posts, messages, and reminders. The ERD shows the relationships between these entities such as users belonging to groups, universities having galleries, and posts being associated with users and galleries. It also defines attributes for each entity like user IDs, names, and passwords.

Uploaded by

wanofi israel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Role

Role-id num(10,0) PK
1 Role varchar(10)
Permission varchar(50)
1
1
User University
User-group University-id num(10,0) PK
group User-id num(10,0) PK
ID num(10,0) PK 1 University-name varchar(50)
ID num(10,0) PK User-name varchar(50)
User-ID num(10,0) FK Gallery-Id FK
name varchar(10,0) FK Email varchar(50)
1 N Group-ID num(10,0) FK N Password varchar(12) N
Create-date Create-date
Is-active char(1) Is-active char(1)
University-ID num(10,0) FK 1
Photo
Phone-number num(10,0)

1
1
Gallery
message-recipent Gallery-ID num(10,0) PK
ID num(10,0) PK Posts
N Gallery
recipent-ID num(10,0) N FK Post-id num(10,0) PK
1
recipient-group-id num(10,0) N FK University-ID num(10,0) FK
N User-ID num(10,0) FK
message-id num(10,0) FK
Is-read num(10,0) N Post-description varchar(500,0)
Post-type varchar(10)
N

1
Message
ID num(10,0) PK
subject varchar(100) FK
User_ID num(10,0) FK
reminder-frequency message-body clob
ID num(10,0) PK create-date date N
Title varchar(10,0) parent-message-ID num(10,0) N FK
N expire-date date
Frequency
Is-active char(1) is-reminder num(10,0)
next-remind-date date N
reminder-frequency-id num(10,0)

You might also like