Skip to content

Commit

Permalink
chore #77 : update ddl
Browse files Browse the repository at this point in the history
- Drop foreign key constraint to accounts table from members table.
  • Loading branch information
seonpilKim committed Oct 9, 2024
1 parent 0658bb0 commit 7485a23
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sql/titi.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ CREATE TABLE IF NOT EXISTS members
created_at DATETIME(6) NOT NULL COMMENT '생성 일시',
updated_at DATETIME(6) NOT NULL COMMENT '수정 일시',
PRIMARY KEY (id),
CONSTRAINT fk_members_account_id FOREIGN KEY (account_id) REFERENCES accounts (id),
UNIQUE INDEX uix_members_nickname (nickname, hashcode)
) COMMENT '회원';

Expand Down

0 comments on commit 7485a23

Please sign in to comment.