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.

52 line
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. PRIMARY KEY (`cache_id`)
  19. ) ENGINE=InnoDB;
  20. --
  21. -- Table structure for table `cache_data`
  22. --
  23. DROP TABLE IF EXISTS `cache_data`;
  24. CREATE TABLE `cache_data` (
  25. `cdata_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
  26. `cdata_cache_id` BINARY(32) NOT NULL,
  27. `cdata_url` VARCHAR(512) NOT NULL,
  28. `cdata_confidence` FLOAT NOT NULL DEFAULT 0,
  29. `cdata_skipped` BOOLEAN NOT NULL DEFAULT 0,
  30. PRIMARY KEY (`cdata_id`),
  31. FOREIGN KEY (`cdata_cache_id`)
  32. REFERENCES `cache` (`cache_id`)
  33. ON DELETE CASCADE ON UPDATE CASCADE
  34. ) ENGINE=InnoDB;
  35. --
  36. -- Table structure for table `processed`
  37. --
  38. DROP TABLE IF EXISTS `processed`;
  39. CREATE TABLE `processed` (
  40. `page_id` INT(10) UNSIGNED NOT NULL,
  41. PRIMARY KEY (`page_id`)
  42. ) ENGINE=InnoDB;
  43. -- Dump completed on 2014-08-04 20:00:00