IM_Store.migrations 477 B

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