Additional IRC commands and bot tasks for EarwigBot https://en.wikipedia.org/wiki/User:EarwigBot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB

  1. -- MySQL dump 10.13 Distrib 5.5.12, for solaris10 (i386)
  2. --
  3. -- Host: sql Database: u_earwig_afc_copyvios
  4. -- ------------------------------------------------------
  5. -- Server version 5.1.59
  6. CREATE DATABASE `u_earwig_afc_copyvios`
  7. DEFAULT CHARACTER SET utf8
  8. DEFAULT COLLATE utf8_unicode_ci;
  9. --
  10. -- Table structure for table `cache`
  11. --
  12. DROP TABLE IF EXISTS `cache`;
  13. CREATE TABLE `cache` (
  14. `cache_id` BINARY(32) NOT NULL,
  15. `cache_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
  16. `cache_queries` INT(4) NOT NULL DEFAULT 0,
  17. `cache_process_time` FLOAT NOT NULL DEFAULT 0,
  18. `cache_possible_miss` BOOLEAN NOT NULL DEFAULT FALSE,
  19. PRIMARY KEY (`cache_id`)
  20. ) ENGINE=InnoDB;
  21. --
  22. -- Table structure for table `cache_data`
  23. --
  24. DROP TABLE IF EXISTS `cache_data`;
  25. CREATE TABLE `cache_data` (
  26. `cdata_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
  27. `cdata_cache_id` BINARY(32) NOT NULL,
  28. `cdata_url` VARCHAR(1024) NOT NULL,
  29. `cdata_confidence` FLOAT NOT NULL DEFAULT 0,
  30. `cdata_skipped` BOOLEAN NOT NULL DEFAULT 0,
  31. PRIMARY KEY (`cdata_id`),
  32. FOREIGN KEY (`cdata_cache_id`)
  33. REFERENCES `cache` (`cache_id`)
  34. ON DELETE CASCADE ON UPDATE CASCADE
  35. ) ENGINE=InnoDB;
  36. --
  37. -- Table structure for table `processed`
  38. --
  39. DROP TABLE IF EXISTS `processed`;
  40. CREATE TABLE `processed` (
  41. `page_id` INT(10) UNSIGNED NOT NULL,
  42. PRIMARY KEY (`page_id`)
  43. ) ENGINE=InnoDB;
  44. -- Dump completed on 2014-08-04 20:00:00