Skip to content

Commit

Permalink
마지막까지 최선을 다하기
Browse files Browse the repository at this point in the history
  • Loading branch information
b2nyb2st77 committed Feb 23, 2021
1 parent a48fad3 commit 712f2db
Show file tree
Hide file tree
Showing 20 changed files with 2,650 additions and 189 deletions.
9 changes: 8 additions & 1 deletion ERD/DBTable.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ select * from groups;
select * from friend;
select * from reply;


-- user Table Create SQL
CREATE TABLE user
(
Expand All @@ -35,6 +34,12 @@ CREATE TABLE user
PRIMARY KEY (user_uid)
);

ALTER TABLE user
ADD CONSTRAINT UC_user_email UNIQUE (user_email);

ALTER TABLE user
ADD CONSTRAINT UC_user_nickname UNIQUE (user_nickname);

ALTER TABLE user COMMENT '사용자';

-- user Table Create SQL
Expand Down Expand Up @@ -73,6 +78,7 @@ ALTER TABLE board
ADD CONSTRAINT FK_board_user_id_user_user_uid FOREIGN KEY (user_id)
REFERENCES user (user_uid) ON DELETE cascade ON UPDATE RESTRICT;



-- user Table Create SQL
CREATE TABLE platform
Expand Down Expand Up @@ -188,6 +194,7 @@ CREATE TABLE like_review

ALTER TABLE like_review COMMENT '리뷰 좋아요';


ALTER TABLE like_review
ADD CONSTRAINT FK_like_review_user_id_user_user_uid FOREIGN KEY (user_id)
REFERENCES user (user_uid) ON DELETE cascade ON UPDATE RESTRICT;
Expand Down
82 changes: 0 additions & 82 deletions src/main/java/com/pm717/recribe/MemberController.java

This file was deleted.

Loading

0 comments on commit 712f2db

Please sign in to comment.