TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
DROP TABLE IF EXISTS uc_pms;# MySQL 返回的查询结果为空(即零行)。+ l3 v4 e/ u1 y0 r# {9 d) `( |
# MySQL 返回的查询结果为空(即零行)。
: I4 E/ [4 T4 n. F: E4 MCREATE TABLE uc_pms(" a" W- a7 K$ @3 H6 J
pmid INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,2 r4 {/ F5 _( W+ |3 R: b7 r( w
msgfrom VARCHAR( 15 ) NOT NULL DEFAULT '',
h, w! ]* d. W" A( p; nmsgfromid MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0',
: u7 x% E4 a( q/ u; a+ E2 J& Vmsgtoid MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0',, Q1 a6 y* T% j7 c4 L/ d
folder ENUM( 'inbox', 'outbox' ) NOT NULL DEFAULT 'inbox',
?6 `! D' U S4 {- \new TINYINT( 1 ) NOT NULL DEFAULT '0',: ~* N% o1 X# n! l
subject VARCHAR( 75 ) NOT NULL DEFAULT '',
" E! {7 v/ f; c, g+ s9 idateline INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',, E& h; D5 y% N, }
message TEXT NOT NULL ,
4 S' D: K. e% r! |% Adelstatus TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0',
, R: k- A) N6 D4 c; s jrelated INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',/ N: k- f) Q% l- R+ u5 G9 S# P
PRIMARY KEY ( pmid ) ,
9 P$ I- P. H$ @% [" @3 y' Z1 ~: u* \KEY msgtoid( msgtoid, folder, dateline ) ,
! V) ?8 ]* f j6 r- g' yKEY msgfromid( msgfromid, folder, dateline ) ,
' u' p |0 l& w: U% Z vKEY RELATED( related ) ,
& Z8 ~& J6 Y8 G# |& t0 PKEY getnum( msgtoid, folder, delstatus )7 v* t x/ D$ t, k
) TYPE = MYISAM ;# MySQL 返回的查询结果为空(即零行)。
. q+ ~1 z1 q- h# n* U3 y
N: t9 K2 Q3 `$ { |
|