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

해시태그에 카테고리 적용하기 #646

Open
1 task done
mingmingmon opened this issue Dec 26, 2024 · 1 comment · May be fixed by #647
Open
1 task done

해시태그에 카테고리 적용하기 #646

mingmingmon opened this issue Dec 26, 2024 · 1 comment · May be fixed by #647
Assignees
Labels
🔨 Refactor 코드 수정 및 개선

Comments

@mingmingmon
Copy link
Collaborator

mingmingmon commented Dec 26, 2024

Describe

UX 측면을 고려하여 @Jeong-Ag 님이 해시태그에 분류를 적용하는 것을 제안 주셨습니다.
이 부분을 적용하기 위해 아래와 같이 분류를 생성하고 현재 존재하는 해시태그들을 분류하고자 합니다.

**LANGUAGE**
C
C++
Java
Javascript
Python
Assembly
Kotlin
Typescript
**FIELD**
Front-end
Back-end
AI
Game
Android
IOS
**SKILL**
DB
Devops
Infra
framework
algorithm

**ETC**
etc

Tasks

  • 해시태그에 카테고리 적용하기

ETC

No response

@mingmingmon mingmingmon added the 🔨 Refactor 코드 수정 및 개선 label Dec 26, 2024
@mingmingmon mingmingmon self-assigned this Dec 26, 2024
@mingmingmon
Copy link
Collaborator Author

INSERT INTO hashtag (name, category, is_deleted, board_usage, created_at, updated_at) VALUES
-- LANGUAGE
('C', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('C++', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Java', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Javascript', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Python', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Assembly', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Kotlin', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Typescript', 'LANGUAGE', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),

-- FIELD
('Front-end', 'FIELD', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Back-end', 'FIELD', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('AI', 'FIELD', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Game', 'FIELD', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Android', 'FIELD', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('IOS', 'FIELD', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),

-- SKILL
('DB', 'SKILL', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Devops', 'SKILL', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('Infra', 'SKILL', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('framework', 'SKILL', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('algorithm', 'SKILL', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),

-- ETC
('기타', 'ETC', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);


ALTER TABLE hashtag
ADD COLUMN hashtag_category VARCHAR(50) NOT NULL DEFAULT 'ETC';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 Refactor 코드 수정 및 개선
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant