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

Changelog #667

Merged
merged 41 commits into from
Feb 14, 2025
Merged

Changelog #667

merged 41 commits into from
Feb 14, 2025

Conversation

SongJaeHoonn
Copy link
Collaborator

@SongJaeHoonn SongJaeHoonn commented Feb 13, 2025

주요 변경 사항

API 변경 및 개선

인프라

기타

  • 이슈, PR 작성자 및 PR 리뷰어를 자동으로 추가하는 액션 추가

Query

  • hashtag 테이블 생성
CREATE TABLE hashtag (
    id BIGSERIAL PRIMARY KEY,                   
    name VARCHAR(255) NOT NULL,                
    is_deleted BOOLEAN DEFAULT FALSE NOT NULL,  
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP 
);
  • board_hashtag 테이블 생성
CREATE TABLE board_hashtag (
    id BIGSERIAL PRIMARY KEY,                   
    board_id BIGINT NOT NULL,                   
    hashtag_id BIGINT NOT NULL,                
    is_deleted BOOLEAN DEFAULT FALSE NOT NULL,  
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, 
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
  • 해시태그 카테고리 enum 생성
CREATE TYPE hashtag_category_type AS ENUM ('LANGUAGE', 'FIELD', 'SKILL', 'ETC');
  • 해시태그 테이블에 카테고리 칼럼 추가
ALTER TABLE hashtag
ADD COLUMN hashtag_category hashtag_category_type NOT NULL DEFAULT 'ETC';
  • 해시태그 테이블에 해시태그 데이터 삽입
INSERT INTO hashtag (name, hashtag_category, is_deleted, board_usage, created_at, updated_at) VALUES

('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),


('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),


('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', false, 0, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);
  • 모집 공고 테이블에 title, team_introduction, process_timeline, job_description 칼럼 추가
ALTER TABLE recruitment ADD COLUMN title VARCHAR(100) NOT NULL;
ALTER TABLE recruitment ADD COLUMN team_introduction TEXT NOT NULL;
ALTER TABLE recruitment ADD COLUMN process_timeline TEXT NOT NULL;
ALTER TABLE recruitment ADD COLUMN job_description TEXT NOT NULL;
  • 기존 모집 공고 데이터에 null값이 발생하지 않도록 변경
UPDATE recruitment
SET 
    title = 'Untitled'
WHERE title IS NULL OR title = '';

UPDATE recruitment
SET 
    team_introduction = 'No introduction provided'
WHERE team_introduction IS NULL OR team_introduction = '';

UPDATE recruitment
SET 
    process_timeline = 'No timeline provided'
WHERE process_timeline IS NULL OR process_timeline = '';

UPDATE recruitment
SET 
    job_description = 'No description provided'
WHERE job_description IS NULL OR job_description = '';
  • 관리자 계정 삭제
delete from member where id = 'superuser';
delete from comment where member_id = 'superuser';
delete from board where member_id = 'superuser';

config.yml

  • 기존
slack:
    webhook-url: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX" # Slack webhook URL
    color-success: "#F2C744" # Slack message color for success
    color-failure: "#8D1E0E" # Slack message color for failure
  • 변경
notifications:
  common:
    color-success: "#F2C744"  # Common hex color code for success messages across all notification platforms
    color-failure: "#8D1E0E"  # Common hex color code for failure messages across all notification platforms

  platforms:
    - platform: "slack"  # Name of the notification platform (e.g., Slack)
      enabled: true      # Enable (true) or disable (false) notifications for this platform
      webhook-url: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"  # Webhook URL for sending messages to Slack

    - platform: "discord"  # Name of the notification platform (e.g., Discord)
      enabled: true        # Enable (true) or disable (false) notifications for this platform
      webhook-url: "https://discord.com/api/webhooks/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"  # Webhook URL for sending messages to Discord

SongJaeHoonn and others added 30 commits November 9, 2024 02:19
@SongJaeHoonn SongJaeHoonn merged commit 44eb977 into main Feb 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants