Code Monkey home page Code Monkey logo

Comments (5)

mijien0179 avatar mijien0179 commented on June 12, 2024 1

column에 값을 고정적으로 언어를 넣어버리면 나중에 언어나 스택이 새로 추가될 때 처리하기가 힘들어서 위와 같이 언어 이름 자체를 저장할 수 있도록 하고 거기서 값을 찾도록 하는게 좋을것 같습니다.

from oss.

cacaocoffee avatar cacaocoffee commented on June 12, 2024

넵 이해했습니다 그렇게 찾아볼게요

from oss.

mijien0179 avatar mijien0179 commented on June 12, 2024

언어 이름은 고정적으로 하기 위해서 언어/스택 목록 테이블을 따로 구성하는 것도 좋겠군요. 그렇게 하면

  • 언어 테이블 -> 사용자 언어 테이블
  • new 언어 목록 테이블
    이런식으로 테이블명을 바꿔야할것같네요.

from oss.

cacaocoffee avatar cacaocoffee commented on June 12, 2024

사용자 언어 테이블
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.

mijien0179 avatar mijien0179 commented on June 12, 2024

다른 문제가 있는 경우 새로운 이슈로 작성 바람

from oss.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.