INSERT 쿼리에 wr_comment_reply 필드 추가

This commit is contained in:
2025-06-27 12:46:49 +09:00
parent fb7447d44e
commit d7f30cd8d7

View File

@ -120,7 +120,7 @@ def write_board(board, subject, content, mb_id, nickname, ca_name=None, file_lis
# 게시글 삽입
curs.execute(f"""INSERT INTO g5_write_{board} SET wr_num = {wr_num},
wr_reply = '', wr_comment = 0, ca_name = %s, wr_option = 'html1', wr_subject = %s,
wr_reply = '', wr_comment = 0, wr_comment_reply = '', ca_name = %s, wr_option = 'html1', wr_subject = %s,
wr_content = %s, wr_link1 = '', wr_link2 = '', wr_link1_hit = 0, wr_link2_hit = 0,
wr_hit = 1, wr_good = 0, wr_nogood = 0, mb_id = %s, wr_password = '',
wr_name = %s, wr_email = '', wr_homepage = '', wr_datetime = %s, wr_last = %s,