Skip to content

Commit

Permalink
Merge pull request #37 from Na-o-man/fix/#36/profile-field-fix
Browse files Browse the repository at this point in the history
[FEAT] profile 필드 오류 해결
  • Loading branch information
bflykky authored Jul 31, 2024
2 parents 3a6287c + 30f5121 commit ba94630
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.umc.naoman.domain.shareGroup.controller;

import com.umc.naoman.domain.member.converter.MemberConverter;
import com.umc.naoman.domain.member.dto.MemberResponse;
import com.umc.naoman.domain.member.entity.Member;
import com.umc.naoman.domain.shareGroup.converter.ShareGroupConverter;
import com.umc.naoman.domain.shareGroup.dto.ShareGroupRequest;
Expand All @@ -10,17 +8,19 @@
import com.umc.naoman.domain.shareGroup.entity.ShareGroup;
import com.umc.naoman.domain.shareGroup.service.ShareGroupService;
import com.umc.naoman.global.result.ResultResponse;
import com.umc.naoman.global.result.code.MemberResultCode;
import com.umc.naoman.global.result.code.ShareGroupResultCode;
import com.umc.naoman.global.security.annotation.LoginMember;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters;
import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class Profile {
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "share_group_id")
private ShareGroup shareGroup;
@Column(name = "joined_at", nullable = false, updatable = false)
@Column(name = "joined_at")
private LocalDateTime joinedAt;
@Column(name = "deleted_at")
private LocalDateTime deletedAt;
Expand Down

0 comments on commit ba94630

Please sign in to comment.