묻고답하기
강제로 게시판항목추가여~~^^;;
2015.12.03 03:23
insertDocument.xml 에서
아래 처럼 cooga1~cooga7 까지 추가하고 디비테이블에도 추가했는대여...
윽 첨부한 대로 항목이 일치하지 않다고 에러가 뜨내여^^;;
vlaus 항목 강제로 어디 페이지에다가 넣어야 하나여?^^;;
모르겠내여^^;;
<query id="insertDocument" action="insert" priority="LOW">
<tables>
<table name="documents" />
</tables>
<columns>
<column name="document_srl" var="document_srl" filter="number" notnull="notnull" />
<column name="module_srl" var="module_srl" filter="number" default="0" />
<column name="category_srl" var="category_srl" filter="number" default="0" />
<column name="lang_code" var="lang_code" default="" />
<column name="is_notice" var="is_notice" notnull="notnull" default="N" />
<column name="title" var="title" notnull="notnull" minlength="1" maxlength="250" />
<column name="title_bold" var="title_bold" default="N" />
<column name="title_color" var="title_color" default="N" />
<column name="content" var="content" notnull="notnull" />
<column name="readed_count" var="readed_count" default="0" />
<column name="blamed_count" var="blamed_count" default="0" />
<column name="voted_count" var="voted_count" default="0" />
<column name="comment_count" var="comment_count" default="0" />
<column name="trackback_count" var="trackback_count" default="0" />
<column name="uploaded_count" var="uploaded_count" default="0" />
<column name="password" var="password" minlength="2" maxlength="60" />
<column name="nick_name" var="nick_name" notnull="notnull" minlength="1" maxlength="40" />
<column name="member_srl" var="member_srl" default="0" filter="number" />
<column name="user_id" var="user_id" default="" />
<column name="user_name" var="user_name" default="" />
<column name="email_address" var="email_address" filter="email" maxlength="250" />
<column name="homepage" var="homepage" filter="homepage" default="" maxlength="250" />
<column name="tags" var="tags" />
<column name="extra_vars" var="extra_vars" />
<column name="regdate" var="regdate" default="curdate()" />
<column name="last_update" var="last_update" default="curdate()" />
<column name="last_updater" var="last_updater" />
<column name="ipaddress" var="ipaddress" default="ipaddress()" />
<column name="list_order" var="list_order" default="0" />
<column name="update_order" var="update_order" default="0" />
<column name="allow_trackback" var="allow_trackback" default="Y" />
<column name="notify_message" var="notify_message" default="N" />
<column name="status" var="status" default="PUBLIC" />
<column name="comment_status" var="commentStatus" default="ALLOW" />
<column name="cooga1" var="cooga1" default="0" maxlength="50" />
<column name="cooga2" var="cooga2" default="0" maxlength="50" />
<column name="cooga3" var="cooga3" default="0" maxlength="50" />
<column name="cooga4" var="cooga4" default="0" maxlength="50" />
<column name="cooga5" var="cooga5" default="0" maxlength="50" />
<column name="cooga6" var="cooga6" default="0" maxlength="50" />
<column name="cooga7" var="cooga7" default="0" maxlength="50" />
</columns>
</query>