250x250
반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
관리 메뉴

BEAT A SHOTGUN

[TROUBLESHOOTING] Error executing DDL "alter table post drop foreign key **** 본문

TROUBLESHOOTING

[TROUBLESHOOTING] Error executing DDL "alter table post drop foreign key ****

thovy 2022. 10. 18. 18:00
728x90
반응형
SMALL

ERROR ❌

model 을 만들어 어플리케이션을 실행시키는데 계속

Error executing DDL "alter table post drop foreign key <**어떤 key**>

이런 메세지가 나왔다

해결 ✅

application.properties

❌ spring.jpa.hibernate.ddl-auto=create
✅ spring.jpa.hibernate.ddl-auto=update

createupdate

매우 쉬운 것.

728x90
반응형
LIST
Comments