Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

회원 테이블 논의 #12

Closed
mijien0179 opened this issue Nov 5, 2021 · 6 comments
Closed

회원 테이블 논의 #12

mijien0179 opened this issue Nov 5, 2021 · 6 comments
Assignees
Labels
back-end 백엔드와 관련된 이슈 database

Comments

@mijien0179
Copy link
Collaborator

mijien0179 commented Nov 5, 2021

회원 테이블

table: user

Column Name Comment data type Default NULL Option
id 식별자 int unsigned - NOT NULL PRIMARY KEY
userid 로그인 아이디 varchar(16) - NOT NULL PRIMARY KEY
pw 로그인 패스워드 varchar(64) - NOT NULL
name 사용자 이름 (닉네임) varchar(10) - NOT NULL
authorize 이용 승인 tinyint(1) 0 NOT NULL
description 유저 소개 글 tinytext NULL

Originally posted by @mijien0179 in #5 (comment)

아무나 가입해서 이용할 수 없도록 입장 제한을 설정하는 컬럼이 있으면 좋겠군요.

@mijien0179 mijien0179 added back-end 백엔드와 관련된 이슈 database and removed back-end 백엔드와 관련된 이슈 labels Nov 5, 2021
@mijien0179
Copy link
Collaborator Author

mijien0179 commented Nov 6, 2021

index >> id
id >> userid

@cacaocoffee

@cacaocoffee
Copy link
Owner

이용 승인 부분 확인 했습니다. 좋은 의견 같네요

@cacaocoffee
Copy link
Owner

사용언어 부분 리스트 만들고 그부분을 bool 형식으로 언어당 칼럼 만들어서 사용하는 거 어떨까요

@mijien0179
Copy link
Collaborator Author

mijien0179 commented Nov 6, 2021

사용언어 부분 리스트 만들고 그부분을 bool 형식으로 언어당 칼럼 만들어서 사용하는 거 어떨까요

부분 리스트로 만든다는게 어떤 의미인가요? @cacaocoffee

@cacaocoffee
Copy link
Owner

cacaocoffee commented Nov 6, 2021

table: lang

column name data type NULL option
id int unsigned NOTNULL PRIMARY KEY
c boolean NOTNULL
c++ boolean NOTNULL
java boolean NOTNULL

@mijien0179 mijien0179 changed the title ## 회원 테이블 논의 회원 테이블 논의 Nov 6, 2021
@mijien0179 mijien0179 self-assigned this Nov 13, 2021
@mijien0179
Copy link
Collaborator Author

다른 문제가 있을경우 새로 열기 바람.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end 백엔드와 관련된 이슈 database
Projects
None yet
Development

No branches or pull requests

2 participants