CREATE TABLE `PlanHistories` ( `Id` INTEGER NOT NULL AUTO_INCREMENT , `AccountId` LONGTEXT CHARACTER SET ASCII NULL , `PlanType` LONGTEXT CHARACTER SET ASCII NULL , `PlanDurationType` LONGTEXT CHARACTER SET ASCII NULL , `StartDate` DATETIME (?) NOT NULL , `EndDate` DATETIME (?) NOT NULL , `IsFreeTrial` TINYINT (?) NOT NULL , `IsPlanActive` TINYINT (?) NOT NULL , `Active` TINYINT (?) NOT NULL , `Deleted` TINYINT (?) NOT NULL , `CreatedBy` LONGTEXT CHARACTER SET ASCII NULL , `CreatedDate` DATETIME (?) NULL , `ModifiedBy` LONGTEXT CHARACTER SET ASCII NULL , `ModifiedDate` DATETIME (?) NULL , `DeletedBy` LONGTEXT CHARACTER SET ASCII NULL , `DeletedDate` DATETIME (?) NULL , CONSTRAINT `PK_PlanHistories` PRIMARY KEY ( `Id` ) ) CHARACTER SET = ASCII 