CREATE TABLE `wa_cdkey` (
  `id` int NOT NULL AUTO_INCREMENT,
  `type` int DEFAULT NULL,
  `category_id` int DEFAULT NULL,
  `account` varchar(64) NOT NULL,
  `passworrd` varchar(64) DEFAULT NULL,
  `days` int DEFAULT '0',
  `expires` int NOT NULL,
  `is_used` tinyint(1) NOT NULL DEFAULT '0',
  `record_id` int DEFAULT NULL,
  `use_time` int DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `account` (`account`)
) ENGINE=InnoDB AUTO_INCREMENT=11314 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
