DROP TABLE IF EXISTS `mall_user_action` ;
CREATE TABLE `mall_user_action` (
	`id` bigint(64) NOT NULL,
	`tenant_id` varchar(50) NOT NULL,
	`user_id` bigint(64) NOT NULL COMMENT 'mall_user_id',
	`type` smallint(2) NOT NULL COMMENT '类型 0-controller, 1-service',
	`ip` varchar(25) NOT NULL,
	`action_desc` varchar(200) NOT NULL COMMENT '功能描述',
	`action_time` datetime NOT NULL COMMENT '访问时间',
	PRIMARY KEY (`id`),
	INDEX `id_index` USING BTREE (`id`) comment ''
) ENGINE=`InnoDB` ROW_FORMAT=DYNAMIC COMMENT='用户操作记录' CHECKSUM=0 DELAY_KEY_WRITE=0;