aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources/IM_Store.migrations
blob: e271fcc20fb386983a3569e4e13c088912defedc (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=MyISAM DEFAULT CHARSET=utf8;

COMMIT;