織夢數(shù)據(jù)庫結(jié)構(gòu)表名:dede_archives是文檔主表,下面將dede_archives表中的各字段說明如下。

dede_archives(文檔主表)

 

字段名 說明描述 具體參數(shù)
id 內(nèi)容ID mediumint(8) unsigned NOT NULL 默認 '0'
typeid 欄目ID smallint(5) unsigned NOT NULL 默認 '0'
typeid2 副欄目ID varchar(90) NOT NULL 默認 '0'
sortrank 文檔排序 int(10) unsigned NOT NULL 默認 '0'
flag 屬性 set('c','h','p','f','s','j','a','b') default NULL
ismake 是否生成HTML smallint(6) NOT NULL 默認 '0'
channel  頻道模型 smallint(6) NOT NULL 默認 '1'
arcrank 瀏覽權(quán)限 smallint(6) NOT NULL 默認 '0'
click 點擊次數(shù) mediumint(8) unsigned NOT NULL 默認 '0'
money 需要消耗金幣 smallint(6) NOT NULL 默認 '0'
title 文檔標(biāo)題 char(60) NOT NULL 默認 ''
shorttitle 短標(biāo)題 char(36) NOT NULL 默認 ''
color 標(biāo)題顏色 char(7) NOT NULL 默認 ''
writer 作者 char(20) NOT NULL 默認 ''
source 來源 char(30) NOT NULL 默認 ''
litpic 縮略圖 char(100) NOT NULL 默認 ''
pubdate 發(fā)布日期 int(10) unsigned NOT NULL 默認 '0'
senddate 投稿日期 int(10) unsigned NOT NULL 默認 '0'
mid 會員ID mediumint(8) unsigned NOT NULL 默認 '0'
keywords 文檔關(guān)鍵詞 char(30) NOT NULL 默認 ''
lastpost 最后回復(fù) int(10) unsigned NOT NULL 默認 '0'
scores 消耗積分 mediumint(8) NOT NULL 默認 '0'
goodpost 好評 mediumint(8) unsigned NOT NULL 默認 '0'
badpost 差評 mediumint(8) unsigned NOT NULL 默認 '0'
notpost 不允許回復(fù) tinyint(1) unsigned NOT NULL 默認 '0'
description 描述 varchar(255) NOT NULL 默認 ''
filename   自定義文件名  varchar(40) NOT NULL 默認 ''
dutyadmin 負責(zé)審核管理員的ID mediumint(8) unsigned NOT NULL 默認 '0'
tackid   int(10) NOT NULL 默認 '0'
mtype 自定義類別 mediumint(8) unsigned NOT NULL 默認 '0'
weight 權(quán)重 int(10) NOT NULL 默認 '0'
索引:
PRIMARY KEY (`id`),
KEY `sortrank` (`sortrank`),
KEY `mainindex` (`arcrank`,`typeid`,`channel`,`flag`,`mid`),
KEY `lastpost` (`lastpost`,`scores`,`goodpost`,`badpost`,`notpost`)