Comments (5)
column에 값을 고정적으로 언어를 넣어버리면 나중에 언어나 스택이 새로 추가될 때 처리하기가 힘들어서 위와 같이 언어 이름 자체를 저장할 수 있도록 하고 거기서 값을 찾도록 하는게 좋을것 같습니다.
from oss.
넵 이해했습니다 그렇게 찾아볼게요
from oss.
언어 이름은 고정적으로 하기 위해서 언어/스택 목록 테이블을 따로 구성하는 것도 좋겠군요. 그렇게 하면
- 언어 테이블 -> 사용자 언어 테이블
- new 언어 목록 테이블
이런식으로 테이블명을 바꿔야할것같네요.
from oss.
사용자 언어 테이블
table: language_user
column name | data type | NULL | option | desc |
---|---|---|---|---|
userid | int unsigned | NOTNULL | PRIMARY KEY | user테이블 id |
language | char(16) | NOTNULL | PRIMARY KEY | 사용 언어 |
언어 목록테이블
table: language_list
column name | data type | NULL | option | desc |
---|---|---|---|---|
C | TINYINT(1) | NOTNULL | C 언어 사용가능여부 | |
C++ | TINYINT(1) | NOTNULL | C++ 언어 사용가능여부 | |
C# | TINYINT(1) | NOTNULL | C# 사용가능여부 | |
HTML | TINYINT(1) | NOTNULL | HTML 사용가능여부 | |
CSS | TINYINT(1) | NOTNULL | CSS 사용가능여부 | |
JS | TINYINT(1) | NOTNULL | javascript 사용가능여부 |
이런 방식 말씀하신건가요? @mijien0179
from oss.
다른 문제가 있는 경우 새로운 이슈로 작성 바람
from oss.
Related Issues (17)
- Windows용 서버 실행 배치 파일 추가 작성 필요 HOT 2
- [필요]서비스 운영에 필요한 치환자 목록 HOT 1
- 페이지 get -> post로 전환 필요 HOT 1
- 회원 테이블 논의 HOT 6
- installation 페이지 DB 로그인 문제
- todo table PR 관련 문제
- 프로젝트 테이블 논의 HOT 1
- 사용자 정보 로드용 api 필요 HOT 1
- 프로젝트 생성자 추가 필요 HOT 5
- 데이터 변경을 위한 api 작성 필요
- todo / todo_user 테이블 구조 변경 요청
- 작성되어야 할 페이지 목록 HOT 5
- 프로젝트에 참여하기 위한 api 작성 필요 HOT 1
- [API] 보안: 사용자 정보 로드 API에서 사용자 pw 노출
- DB 테이블 구성 HOT 3
- 프론트-백 데이터 전송 규약 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oss.