CREATE TABLE `cp_relation` ( `id` bigint unsigned AUTO_INCREMENT NOT NULL, `user_id1` bigint NOT NULL COMMENT 'user_id1', `user_id2` bigint NOT NULL COMMENT 'user_id2', `created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `uid1_idx` (`user_id1`) USING BTREE, UNIQUE KEY `uid2_idx` (`user_id2`) USING BTREE, KEY `ctime_idx` (`created_time`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='cp关系表'; INSERT INTO hilo.diamond_operate_set (diamond_num, frequency_num, frequency_day, diamond_max_num, add_reduce, `type`, name, status, diamond_type) VALUES (-1, -1, -1, -1, 2, 94, 'cp邀请扣费', 1, 1), (-1, -1, -1, -1, 1, 95, 'cp邀请退费', 1, 1);