Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ services:
- "${DEV_DATASOURCE_PORT:-3306}:3306"
volumes:
- mysql-data:/var/lib/mysql
command: >
- ./sql:/sql # 호스트 ./sql 폴더를 컨테이너 /sql에 마운트
command: >
--character-set-server=utf8mb4
--collation-server=utf8mb4_0900_ai_ci
--default-time-zone=Asia/Seoul
Expand Down
39,887 changes: 39,887 additions & 0 deletions backend/sql/lawData-dev.sql

Large diffs are not rendered by default.

150,586 changes: 0 additions & 150,586 deletions backend/sql/lawData.sql

This file was deleted.

5,528 changes: 5,528 additions & 0 deletions backend/sql/precedentData-dev.sql

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
@Builder
public class LawSearchRequestDto {

@Schema(description = "법령명", example = "노동")
@Schema(description = "법령명", example = "형사")
private String lawName; // 법령명

@Schema(description = "법령분야", example = "법률")
private String lawField; // 법령분야

@Schema(description = "소관부처", example = "고용노동부")
@Schema(description = "소관부처", example = "법무부")
private String ministry; // 소관부처

@Schema(description = "공포일자 시작", example = "2000-03-25")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

@Entity
@Data
@Table(name = "hang")
public class Hang {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

@Entity
@Data
@Table(name = "ho")
public class Ho {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

@Entity
@Data
@Table(name = "jang")
public class Jang {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

@Entity
@Data
@Table(name = "jo")
public class Jo {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

@Entity
@Data
@Table(name = "law")
public class Law {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "law_word")
public class LawWord {

@Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@Data
public class PrecedentSearchRequestDto {

@Schema(description = "검색 키워드", example = "노동")
@Schema(description = "검색 키워드", example = "절도")
private String keyword; // 검색 키워드

@Schema(description = "페이지 번호 (0부터 시작)", example = "0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@Entity
@Data
@Table(name = "precedent")
public class Precedent {

@Id
Expand Down