Additional IRC commands and bot tasks for EarwigBot https://en.wikipedia.org/wiki/User:EarwigBot
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

55 řádky
1.5 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. CREATE INDEX `cache_time_idx` ON `cache` (`cache_time`);
  22. --
  23. -- Table structure for table `cache_data`
  24. --
  25. DROP TABLE IF EXISTS `cache_data`;
  26. CREATE TABLE `cache_data` (
  27. `cdata_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
  28. `cdata_cache_id` BINARY(32) NOT NULL,
  29. `cdata_url` VARCHAR(1024) NOT NULL,
  30. `cdata_confidence` FLOAT NOT NULL DEFAULT 0,
  31. `cdata_skipped` BOOLEAN NOT NULL DEFAULT 0,
  32. `cdata_excluded` BOOLEAN NOT NULL DEFAULT 0,
  33. PRIMARY KEY (`cdata_id`),
  34. FOREIGN KEY (`cdata_cache_id`)
  35. REFERENCES `cache` (`cache_id`)
  36. ON DELETE CASCADE ON UPDATE CASCADE
  37. ) ENGINE=InnoDB;
  38. --
  39. -- Table structure for table `processed`
  40. --
  41. DROP TABLE IF EXISTS `processed`;
  42. CREATE TABLE `processed` (
  43. `page_id` INT(10) UNSIGNED NOT NULL,
  44. PRIMARY KEY (`page_id`)
  45. ) ENGINE=InnoDB;
  46. -- Dump completed on 2015-09-29 02:30:00