   `categoryname` varchar(45) NOT NULL,
   `categorycode` varchar(45) NOT NULL,
   `categorydesc` varchar(45) DEFAULT NULL,
-  `createdby` varchar(255) NOT NULL,
+  `createdby` varchar(255) DEFAULT NULL,
   `createddate` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
   `updatedby` varchar(255) DEFAULT NULL,
   `updateddate` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

  `apiid` int(11) NOT NULL AUTO_INCREMENT,
  `apiname` varchar(45) NOT NULL,
  `apidesc` varchar(45) DEFAULT NULL,
  `createdby` varchar(255) NOT NULL,
  `createddate` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
  `updatedby` varchar(255) DEFAULT NULL,
  `updateddate` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

  `parentcategoryid` int(11) NOT NULL,
  `childcategoryid` int(11) DEFAULT NULL,
  `tariffid` int(11) NOT NULL,
  `createdby` varchar(255) DEFAULT NULL,
  `createddate` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
  `updatedby` varchar(255) DEFAULT NULL,
  `updateddate` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
