CREATE TABLE `pageanalytics` (
  `id` INTEGER NOT NULL AUTO_INCREMENT UNIQUE,
  `cdate` DATETIME DEFAULT CURRENT_TIMESTAMP,
  `page` text DEFAULT NULL ,
  `url` text DEFAULT NULL ,
  `rule` text DEFAULT NULL ,
  `total_count` bigint DEFAULT 0,
  `week_count` int DEFAULT 0,
  `last_week_count` int DEFAULT 0,
  `month_count` int DEFAULT 0,
  `last_month_count` int DEFAULT 0,

  PRIMARY KEY (id) 
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
