- description: Gachon Univ. 21, Database Term Project - Instagram Clone
- author: 김예지, 김의진, 서지호, 조태완
- version: 1.0.0
- university: Gachon University
- department: Artificial Intelligence
- email: [email protected], [email protected], [email protected], [email protected]
- last update: 2022-11-28
chat_id
: char(70)member
: int
chat_room_id
: char(70)chat_file
: char(70)
comment_id
: int, primary keycontent
: varchar(2000)perrent_id
: intuser_id
: int unsignedpost_id
: int unsigned
follow_id
: int, primary keyfollower_id
: intfollowing
: int
hashtag_id
: int, primary keyhashtag
: varchar(30)
image_id
: int, primary keyfile_name
: varchar(2000)post_id
: int unsigned
session_id
: intuser_id
: int, primary key
post_id
: int, primary keycontent
: tinytextlocation
: varchar(30)user_id
: int
post_hashtag_id
: intpost_id
: inthashtag_id2
: int
user_id
: int(auto increment), primary keyemail
: varchar(50)password
: varchar(200)phone
: varchar(11)gender
: enum('male','female')name
: varchar(10)nickname
: varchar(10)website
: varchar(50)introduce
: varchar(100)profile_image
: tinytext
user_comment_like_id
: int, primary keyuser_id
: int unsignedcomment_id
: int unsigned
user_comment_tag_id
: int, primary keyuser_id
: int unsignedcomment_id
: int unsigned
user_post_like_id
: int, primary keyuser_id
: int unsignedpost_id
: int unsigned
user_post_tag_id
: int, primary keyuser_id
: int unsignedpost_id
: int unsigned
- use protocol.java file
type | name | description |
---|---|---|
int | typeofrequest | type of request number |
int | sender | user_id of requst member |
ArrayList<Integer> | list | invite chat members |
type | name | description |
---|---|---|
int | typeofrequest | type of request number |
int | sender | user_id of requst member |
String | roomnumber | chat room number with md5 |
ArrayList<Integer> | list | invite chat members |
type | name | description |
---|---|---|
int | typeofrequest | type of request number |
int | sender | user_id of requst member |
String | roomnumber | chat room number with md5 |
type | name | description |
---|---|---|
int | typeofrequest | type of request number |
String | roomnumber | chat room number with md5 |
int | sender | user_id of requst member |
int | message | message content |
String | time | time when send messege |
boolean | file_exist | Determine if a file exists |
String | file_path | Storage Location of sended file in server |
type | name | description |
---|---|---|
int | typeofrequest | type of request number |
roomnumber
: md5(number of members + user_id of members + time)- https://en.wikipedia.org/wiki/MD5
user_id
: mysql auto increment- https://dev.mysql.com/doc/refman/5.6/en/innodb-auto-increment-handling.html