ALTER TABLE `im_chat` ADD `pinnedMessages` text NOT NULL DEFAULT '' AFTER `dismissDate`; ALTER TABLE `im_message` CHANGE `type` `type` enum('normal', 'broadcast', 'notify', 'bulletin') NOT NULL DEFAULT 'normal';