wordpress 數據庫詳解

wordpress 數據庫詳解


wpcommentmeta:存儲評論的元數據
wpcomments:存儲評論
wplinks:存儲友情連接(Blogroll)
wpoptions:存儲WordPress系統選項和插件、主題配置
wppostmeta:存儲文章(包括頁面、上傳文件、修訂)的元數據
wpposts:存儲文章(包括頁面、上傳文件、修訂)
wpterms:存儲每一個目錄、標籤
wptermrelationships:存儲每一個文章、連接和對應分類的關係
wptermtaxonomy:存儲每一個目錄、標籤所對應的分類
wpusermeta:存儲用戶的元數據
wp_users:存儲用戶數據庫

+++wp_commentmeta

metaid:自增惟一ID
commentid:對應評論ID
metakey:鍵名
metavalue:鍵值app

+++wp_comments

commentID:自增惟一ID
commentpostID:對應文章ID
commentauthor:評論者
commentauthoremail:評論者郵箱
commentauthorurl:評論者網址
commentauthorIP:評論者IP
commentdate:評論時間
commentdategmt:評論時間(GMT+0時間)
commentcontent:評論正文
commentkarma:未知
commentapproved:評論是否被批准
commentagent:評論者的USER AGENT
commenttype:評論類型(pingback/普通)
commentparent:父評論ID
userid:評論者用戶ID(不必定存在)wordpress

+++wp_links

linkid:自增惟一ID
linkurl:連接URL
linkname:連接標題
linkimage:連接圖片
linktarget:連接打開方式
linkdescription:連接描述
linkvisible:是否可見(Y/N)
linkowner:添加者用戶ID
linkrating:評分等級
linkupdated:未知
linkrel:XFN關係
linknotes:XFN註釋
link_rss:連接RSS地址post

+++wp_options

optionid:自增惟一ID
blogid:博客ID,用於多用戶博客,默認0
optionname:鍵名
optionvalue:鍵值
autoload:在WordPress載入時自動載入(yes/no)ui

+++wp_postmeta

metaid:自增惟一ID
postid:對應文章ID
metakey:鍵名
metavalue:鍵值url

+++wp_posts

ID:自增惟一ID
postauthor:對應做者ID
postdate:發佈時間
postdategmt:發佈時間(GMT+0時間)
postcontent:正文
posttitle:標題
postexcerpt:摘錄
poststatus:文章狀態(publish/auto-draft/inherit等)
commentstatus:評論狀態(open/closed)
pingstatus:PING狀態(open/closed)
postpassword:文章密碼
postname:文章縮略名
toping:未知
pinged:已經PING過的連接
postmodified:修改時間
postmodifiedgmt:修改時間(GMT+0時間)
postcontentfiltered:未知
postparent:父文章,主要用於PAGE
guid:未知
menuorder:排序ID
posttype:文章類型(post/page等)
postmimetype:MIME類型
commentcount:評論總數spa

+++wp_terms

termid:分類ID
name:分類名
slug:縮略名
termgroup:未知插件

+++wptermrelationships

objectid:對應文章ID/連接ID
termtaxonomyid:對應分類方法ID
termorder:排序blog

+++wptermtaxonomy

termtaxonomyid:分類方法ID
termid:taxonomy:分類方法(category/posttag)
description:未知
parent:所屬父分類方法ID
count:文章數統計排序

+++wp_usermeta

umetaid:自增惟一ID
userid:對應用戶ID
metakey:鍵名
metavalue:鍵值

+++wp_users

ID:自增惟一ID
userlogin:登陸名
userpass:密碼
usernicename:暱稱
useremail:Email
userurl:網址
userregistered:註冊時間
useractivationkey:激活碼
userstatus:用戶狀態
displayname:顯示名稱

相關文章
相關標籤/搜索