Skip to content

Commit ee29ee5

Browse files
authored
hotfix: 테이블 삭제
1 parent b084f64 commit ee29ee5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/land/leets/global/config/DatabaseSetup.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ public class DatabaseSetup implements ApplicationRunner {
1616
public void run(ApplicationArguments args) throws Exception {
1717
jdbcTemplate.execute("ALTER DATABASE leets CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci");
1818
jdbcTemplate.execute("ALTER TABLE portfolios CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci");
19+
20+
jdbcTemplate.execute("DROP TABLE contributors");
21+
jdbcTemplate.execute("DROP TABLE portfolios");
1922
}
2023
}

0 commit comments

Comments
 (0)