mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
MyISAM isn't properly replicated using row based replication. With the advances in clustering, these systems are becoming more prevalent and MyISAM isn't up to the task anymore.
17 lines
477 B
Plaintext
17 lines
477 B
Plaintext
: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;
|