   `rate_typeid` int(11) NOT NULL,
   `rate_defcategorybase` tinyint(4) NOT NULL,
   `tariffid` int(11) NOT 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,

  `parentcategoryid` int(11) NOT NULL,
  `childcategoryid` int(11) DEFAULT NULL,
  `tariffid` int(11) NOT 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,

  `tax_validitydisdate` date NOT NULL,
  `tax_validityval` double NOT NULL,
  `taxid` 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,
