ALTER TABLE `mm_Post` CHANGE `authorType` `createdBy` ENUM('admin','user') CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL; ALTER TABLE `mm_Post` CHANGE `authorId` `createdById` INT(11) NULL DEFAULT NULL; ALTER TABLE `mm_PostComment` CHANGE `authorType` `createdBy` ENUM('admin','user') CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL; ALTER TABLE `mm_PostComment` CHANGE `authorId` `createdById` INT(11) NULL DEFAULT NULL;