<query id="insertComment" action="insert">
	<tables>
		<table name="comments" />
	</tables>
	<columns>
		<column name="comment_srl" var="comment_srl" notnull="notnull" />
		<column name="module_srl" var="module_srl" filter="number" notnull="notnull" />
		<column name="parent_srl" var="parent_srl" filter="number" default="0" />
		<column name="document_srl" var="document_srl" filter="number" notnull="notnull" />
		<column name="is_secret" var="is_secret" default="N" />
        <column name="notify_message" var="notify_message" default="N" />
		<column name="content" var="content" notnull="notnull" />
        <column name="voted_count" var="voted_count" default="0" />
        <column name="blamed_count" var="blamed_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="user_id" var="user_id" default="" />
		<column name="user_name" var="user_name" default="" />
		<column name="member_srl" var="member_srl" default="0" filter="number" />
		<column name="email_address" var="email_address" filter="email" maxlength="250" />
		<column name="homepage" var="homepage" filter="homepage" maxlength="250" />
		<column name="uploaded_count" var="uploaded_count" default="0" />
		<column name="regdate" var="regdate" default="curdate()" />
		<column name="last_update" var="last_update" default="curdate()" />
		<column name="ipaddress" var="ipaddress" default="ipaddress()" />
		<column name="list_order" var="list_order" default="0" />
	</columns>
</query>
