Skip to content

Commit

Permalink
refactor: DB 테이블명 단수 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyoungeee committed Jul 24, 2024
1 parent 75d7ecd commit 0ac3b93
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/main/java/likelion/MZConnent/domain/chat/Chat.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
@Entity
@Getter
@NoArgsConstructor
@Table(name = "chats")
public class Chat {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
1 change: 0 additions & 1 deletion src/main/java/likelion/MZConnent/domain/club/Club.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import java.util.List;

@Entity
@Table(name="clubs")
@Getter
@NoArgsConstructor
public class Club {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
@Entity
@Getter
@NoArgsConstructor
@Table(name = "club_member")
public class ClubMember {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@Entity
@NoArgsConstructor
@Getter
@Table(name = "region_categories")
public class RegionCategory {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
@Entity
@Getter
@NoArgsConstructor
@Table(name = "cultures")
public class Culture {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
@Entity
@Getter
@NoArgsConstructor
@Table(name = "culture_categories")
public class CultureCategory {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@Entity
@Getter
@NoArgsConstructor
@Table(name = "culture_interests")
public class CultureInterest {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@Entity
@Getter
@NoArgsConstructor
@Table(name = "self_introductions")
public class SelfIntroduction {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@
public interface MemberRepository extends JpaRepository<Member, Long> {
Optional<Member> findByEmail(String email);
boolean existsByEmail(String email);

boolean existsByUsername(String username);
}

0 comments on commit 0ac3b93

Please sign in to comment.