/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES tis620 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
DROP TABLE IF EXISTS `doctor_cert_type`;
CREATE TABLE `doctor_cert_type` (
  `doctor_cert_type_id` int(11) NOT NULL,
  `doctor_cert_type_name` varchar(200) NOT NULL,
  `icode` varchar(9) DEFAULT NULL,
  `price` double(15,3) DEFAULT NULL,
  `is_covid19_cert` char(1) DEFAULT NULL,
  `inet_signed_document_type_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`doctor_cert_type_id`),
  UNIQUE KEY `ix_doctor_cert_type_name` (`doctor_cert_type_name`)
) ENGINE=InnoDB DEFAULT CHARSET=tis620;

LOCK TABLES `doctor_cert_type` WRITE;
/*!40000 ALTER TABLE `doctor_cert_type` DISABLE KEYS */;
INSERT INTO `doctor_cert_type` VALUES ('1', 'ใบรับรองแพทย์', null, null, null, null);
INSERT INTO `doctor_cert_type` VALUES ('2', 'ใบรับรองการรักษา', null, null, null, null);
INSERT INTO `doctor_cert_type` VALUES ('9', 'ใบรับรองฉีดวัคซีนโควิด 19 ครบ 2 เข็ม', null, null, 'Y', null);
/*!40000 ALTER TABLE `doctor_cert_type` ENABLE KEYS */;
UNLOCK TABLES;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
