<table name="documents">
    <column name="document_srl" type="number" size="11" notnull="notnull" primary_key="primary_key" />
    <column name="module_srl" type="number" size="11" default="0" notnull="notnull" index="idx_module_srl" />
    <column name="category_srl" type="number" size="11" default="0" notnull="notnull" index="idx_category_srl" />
    <column name="lang_code" type="varchar" size="10" default="" notnull="notnull" />
    <column name="is_notice" type="char" size="1" default="N" notnull="notnull" index="idx_is_notice" />
    <column name="is_secret" type="char" size="1" default="N" notnull="notnull" index="idx_is_secret" />
    <column name="title" type="varchar" size="250" />
    <column name="title_bold" type="char" size="1" default="N" notnull="notnull" />
    <column name="title_color" type="varchar" size="7" />
    <column name="content" type="bigtext" notnull="notnull" />
    <column name="readed_count" type="number" size="11" default="0" notnull="notnull" index="idx_readed_count" />
    <column name="voted_count" type="number" size="11" default="0" notnull="notnull" index="idx_voted_count" />
    <column name="blamed_count" type="number" size="11" default="0" notnull="notnull" index="idx_blamed_count" />
    <column name="comment_count" type="number" size="11" default="0" notnull="notnull" index="idx_comment_count" />
    <column name="trackback_count" type="number" size="11" default="0" notnull="notnull" index="idx_trackback_count" />
    <column name="uploaded_count" type="number" size="11" default="0" notnull="notnull" index="idx_uploaded_count" />
    <column name="password" type="varchar" size="60" />
    <column name="user_id" type="varchar" size="80" />
    <column name="user_name" type="varchar" size="80" notnull="notnull" />
    <column name="nick_name" type="varchar" size="80" notnull="notnull" />
    <column name="member_srl" type="number" size="11" notnull="notnull" index="idx_member_srl" />
    <column name="email_address" type="varchar" size="250" notnull="notnull" />
    <column name="homepage" type="varchar" size="250" notnull="notnull" />
    <column name="tags" type="text" />
    <column name="extra_vars" type="text" />
    <column name="regdate" type="date" index="idx_regdate" />
    <column name="last_update" type="date" index="idx_last_update" />
    <column name="last_updater" type="varchar" size="80" />
    <column name="ipaddress" type="varchar" size="128" notnull="notnull" index="idx_ipaddress" />
    <column name="list_order" type="number" size="11" notnull="notnull" index="idx_list_order" />
    <column name="update_order" type="number" size="11" notnull="notnull" index="idx_update_order" />
    <column name="allow_comment" type="char" size="1" default="Y" notnull="notnull" />
    <column name="lock_comment" type="char" size="1" default="N" notnull="notnull" />
    <column name="allow_trackback" type="char" size="1" default="Y" notnull="notnull" />
    <column name="notify_message" type="char" size="1" default="N" notnull="notnull" />
</table>
