diff --git a/algofi-compile/build.gradle b/algofi-compile/build.gradle index 4cec7ca..283e1c8 100644 --- a/algofi-compile/build.gradle +++ b/algofi-compile/build.gradle @@ -27,7 +27,6 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' - runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' runtimeOnly 'com.mysql:mysql-connector-j' diff --git a/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/AlgorithmProblem.java b/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/AlgorithmProblem.java index 23efb19..75f3a38 100644 --- a/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/AlgorithmProblem.java +++ b/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/AlgorithmProblem.java @@ -7,7 +7,7 @@ public class AlgorithmProblem { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) - @Column(name = "ALGORITHM_PROBLEM_ID") + @Column(name = "ALGORITHMPROBLEM_ID") private Long id; private String title; diff --git a/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/TestCase.java b/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/TestCase.java index 9a2d0d1..8cddf3b 100644 --- a/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/TestCase.java +++ b/algofi-compile/src/main/java/gooroommoon/algofi_compile/db/domain/entity/TestCase.java @@ -18,6 +18,6 @@ public class TestCase { private String testOutput; @ManyToOne(fetch = FetchType.LAZY) - @JoinColumn(name = "algorithm_problem_id") + @JoinColumn(name = "algorithmproblem_id") private AlgorithmProblem algorithmProblem; }