<div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201612/148116264112a5f58f8b26498c8e569b5c4e8e05e3__mn431490__w1101__h562__f74785__Ym201612.png" width="800" height="408" alt="1.PNG" class="chimg_photo" style="border:none;" filesize="74785"></div> <div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201612/1481162642b915b5edb663445fb6bbc6540aff5584__mn431490__w616__h239__f15020__Ym201612.png" width="616" height="239" alt="2.PNG" style="border:none;" filesize="15020"></div> <div style="text-align:left;"><img src="http://thimg.todayhumor.co.kr/upfile/201612/1481162643ebb80f90588f4623b09e82d665ff1d03__mn431490__w1134__h409__f38046__Ym201612.png" width="800" height="289" alt="3.PNG" class="chimg_photo" style="border:none;" filesize="38046"></div><br><div><br></div> <div> <p style="margin:0px;font-family:Verdana, Arial, Gulim;">seller_review라는 새 테이블을 만들고 싶은데요</p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;">items 테이블에 있는 seller_id를 FOREIGN KEY로 해서 새 테이블에 한 column으로 만들고 싶은데, 저렇게하면 계속 에러뜨네요.</p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;">어떻게 해야할까요...?</p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;"><br></p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;">StackOverflow에 들어가서 </p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;">FOREIGN KEY 앞에 constraints 붙혀봐도 그러고...</p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;">저기 화면에 안 적었지만 ON UPDATE CASCADE라고 해도 안 되고...</p> <p style="margin:0px;font-family:Verdana, Arial, Gulim;"><br></p> <div class="autosourcing-stub"><span style="font-family:Verdana, Arial, Gulim;background-color:#f4f4f4;">seller_id FOREIGN KEY(seller_id) REFERENCES items(seller_id)라고 새 컬럼을 만들면서해도 안 되고...너무 속상하네요 </span></div> <p></p></div>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.