- 분류: sort_order reorder 엔드포인트, 생성 시 맨 뒤 배치 - 예산: account_setting 테이블 + 월 예상 수입 GET/PUT Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -123,6 +123,14 @@ CREATE TABLE IF NOT EXISTS account_entry_tag (
|
||||
KEY idx_aet_tag (tag_id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
-- 사용자별 가계부 설정 (예: 월 예상 수입)
|
||||
CREATE TABLE IF NOT EXISTS account_setting (
|
||||
member_id BIGINT NOT NULL COMMENT '소유자 member.id',
|
||||
expected_income BIGINT NULL COMMENT '월 예상 수입',
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (member_id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
-- 투자 보유 종목 (INVEST 지갑별 · 사용자별)
|
||||
CREATE TABLE IF NOT EXISTS invest_holding (
|
||||
id BIGINT NOT NULL AUTO_INCREMENT,
|
||||
|
||||
Reference in New Issue
Block a user