Переглянути джерело

Adding schema for tasks.

tags/v0.1^2
Ben Kurtovic 12 роки тому
джерело
коміт
3ddbcd61c1
3 змінених файлів з 115 додано та 0 видалено
  1. +32
    -0
      earwigbot/tasks/schema/afc_copyvios.sql
  2. +19
    -0
      earwigbot/tasks/schema/afc_history.sql
  3. +64
    -0
      earwigbot/tasks/schema/afc_statistics.sql

+ 32
- 0
earwigbot/tasks/schema/afc_copyvios.sql Переглянути файл

@@ -0,0 +1,32 @@
-- MySQL dump 10.13 Distrib 5.5.12, for solaris10 (i386)
--
-- Host: sql Database: u_earwig_afc_copyvios
-- ------------------------------------------------------
-- Server version 5.1.59

--
-- Table structure for table `cache`
--

DROP TABLE IF EXISTS `cache`;
CREATE TABLE `cache` (
`cache_id` int(10) unsigned NOT NULL,
`cache_hash` char(64) DEFAULT NULL,
`cache_url` varchar(512) DEFAULT NULL,
`cache_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`cache_queries` int(4) DEFAULT NULL,
`cache_process_time` float DEFAULT NULL,
PRIMARY KEY (`cache_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Table structure for table `processed`
--

DROP TABLE IF EXISTS `processed`;
CREATE TABLE `processed` (
`page_id` int(10) unsigned NOT NULL,
PRIMARY KEY (`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dump completed on 2012-07-20 18:04:20

+ 19
- 0
earwigbot/tasks/schema/afc_history.sql Переглянути файл

@@ -0,0 +1,19 @@
-- MySQL dump 10.13 Distrib 5.5.12, for solaris10 (i386)
--
-- Host: sql Database: u_earwig_afc_history
-- ------------------------------------------------------
-- Server version 5.1.59

--
-- Table structure for table `page`
--

DROP TABLE IF EXISTS `page`;
CREATE TABLE `page` (
`page_id` int(10) unsigned NOT NULL,
`page_date` varchar(50) DEFAULT NULL,
`page_status` tinyint(3) unsigned DEFAULT NULL,
PRIMARY KEY (`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dump completed on 2012-07-20 18:03:11

+ 64
- 0
earwigbot/tasks/schema/afc_statistics.sql Переглянути файл

@@ -0,0 +1,64 @@
-- MySQL dump 10.13 Distrib 5.5.12, for solaris10 (i386)
--
-- Host: sql Database: u_earwig_afc_statistics
-- ------------------------------------------------------
-- Server version 5.1.59

--
-- Table structure for table `chart`
--

DROP TABLE IF EXISTS `chart`;
CREATE TABLE `chart` (
`chart_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`chart_title` varchar(255) DEFAULT NULL,
`chart_special_title` varchar(255) DEFAULT NULL,
PRIMARY KEY (`chart_id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `chart`
--

LOCK TABLES `chart` WRITE;
INSERT INTO `chart` VALUES
(1,'Pending submissions','Submitted'),
(3,'Being reviewed','Reviewer'),
(4,'Recently accepted','Accepted'),
(5,'Recently declined','Declined'),
(6,'Misplaced submissions','Created');
UNLOCK TABLES;

--
-- Table structure for table `row`
--

DROP TABLE IF EXISTS `row`;
CREATE TABLE `row` (
`row_id` int(10) unsigned NOT NULL,
`row_chart` tinyint(3) unsigned DEFAULT NULL,
PRIMARY KEY (`row_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Table structure for table `page`
--

DROP TABLE IF EXISTS `page`;
CREATE TABLE `page` (
`page_id` int(10) unsigned NOT NULL,
`page_status` varchar(16) DEFAULT NULL,
`page_title` varchar(512) DEFAULT NULL,
`page_short` varchar(512) DEFAULT NULL,
`page_size` varchar(16) DEFAULT NULL,
`page_notes` tinytext,
`page_modify_user` varchar(255) DEFAULT NULL,
`page_modify_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`page_modify_oldid` int(10) unsigned DEFAULT NULL,
`page_special_user` varchar(255) DEFAULT NULL,
`page_special_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`page_special_oldid` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`page_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- Dump completed on 2012-07-20 17:57:36

Завантаження…
Відмінити
Зберегти