Jabberd2 MySQL数据库结构

好不容易将Jabberd2移植到windows平台,针对Jabberd2控制台(Console)分为两部分进行,一部分是应用程序(EXE),用于启动和关闭服务,另一部分提供WEB管理。EXE部分采用DELPHI来进行,而WEB管理部分当然是PHP了,因为我的JABBER是使用mysql的数据库。

 

Jabber数据库结构及分析:

active

 字段 

   类型

 属性

 Null

默认 

额外 

 collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

 time 

 int(11)

  

 

 NULL

 

                       

 

 

 

 

 

 

 

 

authreg

 字段 

   类型

 属性

 Null

默认 

额外 

username 

 text

 

  

  NULL

 

realm 

 tinytext

 

  

 NULL 

 

password

tinytext

  

 

 NULL

 

token

 varchar(10)

 

 

 NULL

 

sequence

 int(11)

 

 

NULL

 

 hash 

 varchar(40)

 

 

 NULL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

disco-items

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

 jid 

text

  

 

 NULL

 

 name

 text

 

 

  NULL

 

 node 

 text

 

 

 NULL

 

 

 

 

 

 

 

 

 

 

 

 

 

logout

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

text

 

 

 

 

object-sequence 

bigint(20)

 

 

 

 auto_increment

time  

int(11)

  

 

 NULL

 

 

 

 

 

 

 

 

 

motd-message

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

text

 

 

 

 

object-sequence 

bigint(20)

 

 

 

 auto_increment

xml

text

  

 

 NULL

 

 

 

 

 

 

 

 

 

motd-times

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

 time 

int(11)

  

 

 NULL

 

 

 

 

 

 

 

 

 

privacy-default

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

object-sequence 

 bigint(20)

 

 

 

 auto_increment

default 

text

  

 

 NULL

 

 

 

 

 

 

 

 

 

privacy-items

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

object-sequence 

 bigint(20)

 

 

 

 auto_increment

list 

text

  

 

 NULL

 

type

text

 

NULL

 

value 

text

 

NULL

 

deny

tinyint(4)

 

NULL

 

order 

int(11)

 

NULL

 

block 

int(11)

 

NULL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

private

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

 ns 

text

  

 

 NULL

 

xml 

mediumtext

 

NULL

 

 

 

 

 

 

 

 

 

 

 

queue

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

xml 

mediumtext

 

NULL

 

 

 

 

 

 

 

 

 

roster-groups

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

jid 

Text

 

NULL

 

group 

text

 

NULL

 

 

 

 

 

 

 

 

 

 

 

roster-items

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

jid 

Text

 

NULL

 

name 

text

 

NULL

 

to 

tinyint(4)

 

NULL

 

from 

tinyint(4)

 

NULL

 

ask 

int(11)

 

NULL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  

vacation-settings

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

 object-sequence 

 bigint(20)

 

 

 

 auto_increment

start 

int(11)

 

NULL

 

end 

int(11)

 

NULL

 

message 

text

 

NULL

 

 

 

 

 

 

 

 

 

 

 

 

 

vcard

 字段 

   类型

 属性

 Null

默认 

额外 

collection-owner

 text

 

 

 

 

object-sequence 

bigint(20)

 

 

 

 auto_increment

fn 

text

 

NULL

 

nickname

text

 

NULL

 

url 

text

 

NULL

 

tel 

text

 

NULL

 

email 

text

 

NULL

 

title 

text

 

NULL

 

role 

text

 

NULL

 

bday 

text

 

NULL

 

desc 

text

 

NULL

 

n-given 

text

 

NULL

 

n-family 

text

 

NULL

 

adr-street 

text

 

NULL

 

adr-extadd 

text

 

NULL

 

adr-locality 

text

 

NULL

 

adr-region 

text

 

NULL

 

adr-pcode 

text

 

NULL

 

adr-country 

text

 

NULL

 

org-orgname 

text

 

NULL

 

org-orgunit 

text

 

NULL

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值