aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources/IM_Store.migrations
blob: 8394bd942e221366a3cf025310782f76dd688585 (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=utf8mb4;

COMMIT;