From 0ac3b93cbe556fa58d48a3292de0147e8f5af1f0 Mon Sep 17 00:00:00 2001 From: chaeyoungeee Date: Thu, 25 Jul 2024 01:03:51 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20DB=20=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=EB=AA=85=20=EB=8B=A8=EC=88=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/likelion/MZConnent/domain/chat/Chat.java | 1 - src/main/java/likelion/MZConnent/domain/club/Club.java | 1 - src/main/java/likelion/MZConnent/domain/club/ClubMember.java | 1 - src/main/java/likelion/MZConnent/domain/club/RegionCategory.java | 1 - src/main/java/likelion/MZConnent/domain/culture/Culture.java | 1 - .../java/likelion/MZConnent/domain/culture/CultureCategory.java | 1 - .../java/likelion/MZConnent/domain/culture/CultureInterest.java | 1 - .../java/likelion/MZConnent/domain/member/SelfIntroduction.java | 1 - .../likelion/MZConnent/repository/member/MemberRepository.java | 1 - 9 files changed, 9 deletions(-) diff --git a/src/main/java/likelion/MZConnent/domain/chat/Chat.java b/src/main/java/likelion/MZConnent/domain/chat/Chat.java index 5d818cf..822c45f 100644 --- a/src/main/java/likelion/MZConnent/domain/chat/Chat.java +++ b/src/main/java/likelion/MZConnent/domain/chat/Chat.java @@ -12,7 +12,6 @@ @Entity @Getter @NoArgsConstructor -@Table(name = "chats") public class Chat { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/domain/club/Club.java b/src/main/java/likelion/MZConnent/domain/club/Club.java index deff01f..f0bdfe0 100644 --- a/src/main/java/likelion/MZConnent/domain/club/Club.java +++ b/src/main/java/likelion/MZConnent/domain/club/Club.java @@ -13,7 +13,6 @@ import java.util.List; @Entity -@Table(name="clubs") @Getter @NoArgsConstructor public class Club { diff --git a/src/main/java/likelion/MZConnent/domain/club/ClubMember.java b/src/main/java/likelion/MZConnent/domain/club/ClubMember.java index d2290f3..60a67bc 100644 --- a/src/main/java/likelion/MZConnent/domain/club/ClubMember.java +++ b/src/main/java/likelion/MZConnent/domain/club/ClubMember.java @@ -12,7 +12,6 @@ @Entity @Getter @NoArgsConstructor -@Table(name = "club_member") public class ClubMember { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/domain/club/RegionCategory.java b/src/main/java/likelion/MZConnent/domain/club/RegionCategory.java index 4148a44..37e20d7 100644 --- a/src/main/java/likelion/MZConnent/domain/club/RegionCategory.java +++ b/src/main/java/likelion/MZConnent/domain/club/RegionCategory.java @@ -9,7 +9,6 @@ @Entity @NoArgsConstructor @Getter -@Table(name = "region_categories") public class RegionCategory { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/domain/culture/Culture.java b/src/main/java/likelion/MZConnent/domain/culture/Culture.java index 24bbe63..f2fc172 100644 --- a/src/main/java/likelion/MZConnent/domain/culture/Culture.java +++ b/src/main/java/likelion/MZConnent/domain/culture/Culture.java @@ -12,7 +12,6 @@ @Entity @Getter @NoArgsConstructor -@Table(name = "cultures") public class Culture { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/domain/culture/CultureCategory.java b/src/main/java/likelion/MZConnent/domain/culture/CultureCategory.java index 15cae83..9df249b 100644 --- a/src/main/java/likelion/MZConnent/domain/culture/CultureCategory.java +++ b/src/main/java/likelion/MZConnent/domain/culture/CultureCategory.java @@ -11,7 +11,6 @@ @Entity @Getter @NoArgsConstructor -@Table(name = "culture_categories") public class CultureCategory { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/domain/culture/CultureInterest.java b/src/main/java/likelion/MZConnent/domain/culture/CultureInterest.java index 118fabc..8edaed8 100644 --- a/src/main/java/likelion/MZConnent/domain/culture/CultureInterest.java +++ b/src/main/java/likelion/MZConnent/domain/culture/CultureInterest.java @@ -9,7 +9,6 @@ @Entity @Getter @NoArgsConstructor -@Table(name = "culture_interests") public class CultureInterest { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/domain/member/SelfIntroduction.java b/src/main/java/likelion/MZConnent/domain/member/SelfIntroduction.java index d31297b..607da4f 100644 --- a/src/main/java/likelion/MZConnent/domain/member/SelfIntroduction.java +++ b/src/main/java/likelion/MZConnent/domain/member/SelfIntroduction.java @@ -9,7 +9,6 @@ @Entity @Getter @NoArgsConstructor -@Table(name = "self_introductions") public class SelfIntroduction { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) diff --git a/src/main/java/likelion/MZConnent/repository/member/MemberRepository.java b/src/main/java/likelion/MZConnent/repository/member/MemberRepository.java index 5c46a8b..8f23c0e 100644 --- a/src/main/java/likelion/MZConnent/repository/member/MemberRepository.java +++ b/src/main/java/likelion/MZConnent/repository/member/MemberRepository.java @@ -9,6 +9,5 @@ public interface MemberRepository extends JpaRepository { Optional findByEmail(String email); boolean existsByEmail(String email); - boolean existsByUsername(String username); }