blob: 4f148267ba9fe89740a33ff2afa0882634be2d81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
:VERSION 5 # --------------------------
BEGIN;
CREATE TABLE IF NOT EXISTS `im_offline` (
`ID` mediumint(9) NOT NULL AUTO_INCREMENT,
`PrincipalID` char(36) NOT NULL DEFAULT '',
`FromID` char(36) NOT NULL DEFAULT '',
`Message` text NOT NULL,
`TMStamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`ID`),
KEY `PrincipalID` (`PrincipalID`),
KEY `FromID` (`FromID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;
|