TA的每日心情 | 衰 2021-2-2 11:21 |
---|
签到天数: 36 天 [LV.5]常住居民I
|
DROP TABLE IF EXISTS uc_pms;# MySQL 返回的查询结果为空(即零行)。
; S- S: T( m8 s d* R# |( D2 P# MySQL 返回的查询结果为空(即零行)。. X @$ o v( J; R2 h8 G! R4 p
CREATE TABLE uc_pms(5 o, _1 |, y& ]# \. k' q6 @
pmid INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
9 j5 C4 Q+ S. Y! ^! nmsgfrom VARCHAR( 15 ) NOT NULL DEFAULT '',* f$ M5 R2 z/ C( X6 _
msgfromid MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0',3 F! S& S. D9 O. j
msgtoid MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '0',
h/ m* F) c. j$ R! ?folder ENUM( 'inbox', 'outbox' ) NOT NULL DEFAULT 'inbox',
6 S4 g6 r* l0 ]9 Onew TINYINT( 1 ) NOT NULL DEFAULT '0'," x& _& E5 }0 f4 g$ E1 N* F1 h
subject VARCHAR( 75 ) NOT NULL DEFAULT '',! {: s' w2 P' n1 T; P8 y c
dateline INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
: N. b9 }1 r3 E S- c# C* t6 nmessage TEXT NOT NULL ,
7 D1 P: v% U4 n; Xdelstatus TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0',0 B' U5 p% T/ O! Q
related INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',0 @" C2 Z# e0 Y
PRIMARY KEY ( pmid ) ,
0 U% s4 M G2 J% _, V0 s0 c9 qKEY msgtoid( msgtoid, folder, dateline ) ,
7 G9 v$ v2 ~6 b4 i+ Y, uKEY msgfromid( msgfromid, folder, dateline ) ,% w: G# N$ I5 ^
KEY RELATED( related ) ,3 V) H4 ^% B: ^7 O
KEY getnum( msgtoid, folder, delstatus )& @* G( T2 A5 Q3 k/ P6 w
) TYPE = MYISAM ;# MySQL 返回的查询结果为空(即零行)。: Z3 L' D3 U. G* G/ e+ X7 [
+ J. Y# m4 w, [2 k; P! l0 r2 v |
|