add missing comment id fields (that were probably supposed to be added by a migration we skipped)
These fields exist in the live database so migration should still work there.
Cette révision appartient à :
Parent
5c0a6dfd6d
révision
469c64490c
@ -53,6 +53,7 @@ CREATE TABLE `mw_archive` (
|
||||
`ar_namespace` int(11) NOT NULL DEFAULT 0,
|
||||
`ar_title` varbinary(255) NOT NULL DEFAULT '',
|
||||
`ar_comment` varbinary(767) NOT NULL DEFAULT '',
|
||||
`ar_comment_id` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`ar_user` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ar_user_text` varbinary(255) NOT NULL DEFAULT '',
|
||||
`ar_actor` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
@ -459,7 +460,7 @@ DROP TABLE IF EXISTS `mw_filearchive`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `mw_filearchive` (
|
||||
`fa_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`fa_id` int(11) NOT NULL,
|
||||
`fa_name` varbinary(255) NOT NULL DEFAULT '',
|
||||
`fa_archive_name` varbinary(255) DEFAULT '',
|
||||
`fa_storage_group` varbinary(16) DEFAULT NULL,
|
||||
@ -467,7 +468,8 @@ CREATE TABLE `mw_filearchive` (
|
||||
`fa_deleted_user` int(11) DEFAULT NULL,
|
||||
`fa_deleted_timestamp` binary(14) DEFAULT '\0\0\0\0\0\0\0\0\0\0\0\0\0\0',
|
||||
`fa_deleted_reason` varbinary(767) DEFAULT '',
|
||||
`fa_size` int(10) unsigned DEFAULT 0,
|
||||
`fa_deleted_reason_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`fa_size` int(10) UNSIGNED DEFAULT 0,
|
||||
`fa_width` int(11) DEFAULT 0,
|
||||
`fa_height` int(11) DEFAULT 0,
|
||||
`fa_metadata` mediumblob DEFAULT NULL,
|
||||
@ -476,11 +478,12 @@ CREATE TABLE `mw_filearchive` (
|
||||
`fa_major_mime` enum('unknown','application','audio','image','text','video','message','model','multipart','chemical') DEFAULT NULL,
|
||||
`fa_minor_mime` varbinary(100) DEFAULT 'unknown',
|
||||
`fa_description` varbinary(767) DEFAULT '',
|
||||
`fa_user` int(10) unsigned DEFAULT 0,
|
||||
`fa_description_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`fa_user` int(10) UNSIGNED DEFAULT 0,
|
||||
`fa_user_text` varbinary(255) DEFAULT '',
|
||||
`fa_actor` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`fa_actor` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`fa_timestamp` binary(14) DEFAULT '\0\0\0\0\0\0\0\0\0\0\0\0\0\0',
|
||||
`fa_deleted` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`fa_deleted` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`fa_sha1` varbinary(32) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`fa_id`),
|
||||
KEY `fa_name` (`fa_name`,`fa_timestamp`),
|
||||
@ -925,6 +928,7 @@ CREATE TABLE `mw_ipblocks` (
|
||||
`ipb_by_text` varbinary(255) NOT NULL DEFAULT '',
|
||||
`ipb_by_actor` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`ipb_reason` varbinary(767) NOT NULL DEFAULT '',
|
||||
`ipb_reason_id` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`ipb_timestamp` binary(14) NOT NULL DEFAULT '\0\0\0\0\0\0\0\0\0\0\0\0\0\0',
|
||||
`ipb_auto` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`ipb_anon_only` tinyint(1) NOT NULL DEFAULT 0,
|
||||
@ -1131,19 +1135,20 @@ DROP TABLE IF EXISTS `mw_logging`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `mw_logging` (
|
||||
`log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`log_id` int(10) UNSIGNED NOT NULL,
|
||||
`log_type` varbinary(32) NOT NULL,
|
||||
`log_action` varbinary(32) NOT NULL,
|
||||
`log_timestamp` binary(14) NOT NULL DEFAULT '19700101000000',
|
||||
`log_user` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`log_user` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`log_namespace` int(11) NOT NULL DEFAULT 0,
|
||||
`log_title` varbinary(255) NOT NULL DEFAULT '',
|
||||
`log_comment` varbinary(767) NOT NULL DEFAULT '',
|
||||
`log_comment_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`log_params` blob NOT NULL,
|
||||
`log_deleted` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`log_deleted` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`log_user_text` varbinary(255) NOT NULL DEFAULT '',
|
||||
`log_actor` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`log_page` int(10) unsigned DEFAULT NULL,
|
||||
`log_actor` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`log_page` int(10) UNSIGNED DEFAULT NULL,
|
||||
PRIMARY KEY (`log_id`),
|
||||
KEY `type_time` (`log_type`,`log_timestamp`),
|
||||
KEY `user_time` (`log_user`,`log_timestamp`),
|
||||
@ -1165,7 +1170,7 @@ CREATE TABLE `mw_logging` (
|
||||
|
||||
LOCK TABLES `mw_logging` WRITE;
|
||||
/*!40000 ALTER TABLE `mw_logging` DISABLE KEYS */;
|
||||
INSERT INTO `mw_logging` VALUES (14449,'delete','delete','20180202064616',621,0,'Main_Page','','a:0:{}',0,'Abwayax',0,2900),(14450,'review','approve-ia','20180202064653',621,0,'Main_Page','[Accuracy: Spot checked, Depth: Basic, Readability: Acceptable]','a:3:{i:0;i:9522;i:1;i:0;i:2;s:14:\"20180202064653\";}',0,'Abwayax',0,2901),(14451,'patrol','autopatrol','20180202064653',621,0,'Main_Page','','a:3:{s:8:\"4::curid\";i:9522;s:9:\"5::previd\";i:0;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2901),(14452,'delete','delete','20180202064716',621,8,'Sidebar','','a:0:{}',0,'Abwayax',0,8),(14453,'patrol','autopatrol','20180202064824',621,8,'Sidebar','','a:3:{s:8:\"4::curid\";i:9523;s:9:\"5::previd\";i:0;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2902),(14454,'patrol','autopatrol','20180202065043',621,8,'Sidebar','','a:3:{s:8:\"4::curid\";i:9524;s:9:\"5::previd\";i:9523;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2902),(14455,'review','approve-ia','20180202065056',621,0,'Page_1','[Accuracy: Spot checked, Depth: Basic, Readability: Acceptable]','a:3:{i:0;i:9525;i:1;i:0;i:2;s:14:\"20180202065056\";}',0,'Abwayax',0,2903),(14456,'patrol','autopatrol','20180202065056',621,0,'Page_1','','a:3:{s:8:\"4::curid\";i:9525;s:9:\"5::previd\";i:0;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2903),(14457,'review','approve2','20180202065100',621,0,'Page_1','[Accuracy: Accurate, Depth: Basic, Readability: Acceptable]','a:3:{i:0;i:9525;i:1;i:9525;i:2;s:14:\"20180202065056\";}',0,'Abwayax',0,2903);
|
||||
INSERT INTO `mw_logging` VALUES (14449,'delete','delete','20180202064616',621,0,'Main_Page','',0,'a:0:{}',0,'Abwayax',0,2900),(14450,'review','approve-ia','20180202064653',621,0,'Main_Page','[Accuracy: Spot checked, Depth: Basic, Readability: Acceptable]',0,'a:3:{i:0;i:9522;i:1;i:0;i:2;s:14:\"20180202064653\";}',0,'Abwayax',0,2901),(14451,'patrol','autopatrol','20180202064653',621,0,'Main_Page','',0,'a:3:{s:8:\"4::curid\";i:9522;s:9:\"5::previd\";i:0;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2901),(14452,'delete','delete','20180202064716',621,8,'Sidebar','',0,'a:0:{}',0,'Abwayax',0,8),(14453,'patrol','autopatrol','20180202064824',621,8,'Sidebar','',0,'a:3:{s:8:\"4::curid\";i:9523;s:9:\"5::previd\";i:0;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2902),(14454,'patrol','autopatrol','20180202065043',621,8,'Sidebar','',0,'a:3:{s:8:\"4::curid\";i:9524;s:9:\"5::previd\";i:9523;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2902),(14455,'review','approve-ia','20180202065056',621,0,'Page_1','[Accuracy: Spot checked, Depth: Basic, Readability: Acceptable]',0,'a:3:{i:0;i:9525;i:1;i:0;i:2;s:14:\"20180202065056\";}',0,'Abwayax',0,2903),(14456,'patrol','autopatrol','20180202065056',621,0,'Page_1','',0,'a:3:{s:8:\"4::curid\";i:9525;s:9:\"5::previd\";i:0;s:7:\"6::auto\";i:1;}',0,'Abwayax',0,2903),(14457,'review','approve2','20180202065100',621,0,'Page_1','[Accuracy: Accurate, Depth: Basic, Readability: Acceptable]',0,'a:3:{i:0;i:9525;i:1;i:9525;i:2;s:14:\"20180202065056\";}',0,'Abwayax',0,2903);
|
||||
/*!40000 ALTER TABLE `mw_logging` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@ -1259,6 +1264,7 @@ CREATE TABLE `mw_oldimage` (
|
||||
`oi_height` int(11) NOT NULL DEFAULT 0,
|
||||
`oi_bits` int(11) NOT NULL DEFAULT 0,
|
||||
`oi_description` varbinary(767) NOT NULL DEFAULT '',
|
||||
`oi_description_id` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`oi_user` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`oi_user_text` varbinary(255) NOT NULL DEFAULT '',
|
||||
`oi_actor` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
@ -1423,8 +1429,9 @@ DROP TABLE IF EXISTS `mw_protected_titles`;
|
||||
CREATE TABLE `mw_protected_titles` (
|
||||
`pt_namespace` int(11) NOT NULL,
|
||||
`pt_title` varbinary(255) NOT NULL,
|
||||
`pt_user` int(10) unsigned NOT NULL,
|
||||
`pt_user` int(10) UNSIGNED NOT NULL,
|
||||
`pt_reason` varbinary(767) DEFAULT '',
|
||||
`pt_reason_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`pt_timestamp` binary(14) NOT NULL,
|
||||
`pt_expiry` varbinary(14) NOT NULL DEFAULT '',
|
||||
`pt_create_perm` varbinary(60) NOT NULL,
|
||||
@ -1606,27 +1613,28 @@ DROP TABLE IF EXISTS `mw_recentchanges`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `mw_recentchanges` (
|
||||
`rc_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`rc_id` int(11) NOT NULL,
|
||||
`rc_timestamp` varbinary(14) NOT NULL DEFAULT '',
|
||||
`rc_user` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_user` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_user_text` varbinary(255) NOT NULL DEFAULT '',
|
||||
`rc_actor` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_actor` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_namespace` int(11) NOT NULL DEFAULT 0,
|
||||
`rc_title` varbinary(255) NOT NULL DEFAULT '',
|
||||
`rc_comment` varbinary(767) NOT NULL DEFAULT '',
|
||||
`rc_minor` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_bot` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_new` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_cur_id` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_this_oldid` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_last_oldid` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_patrolled` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_comment_id` bigint(20) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_minor` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_bot` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_new` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_cur_id` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_this_oldid` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_last_oldid` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_type` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_patrolled` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_ip` varbinary(40) NOT NULL DEFAULT '',
|
||||
`rc_old_len` int(11) DEFAULT NULL,
|
||||
`rc_new_len` int(11) DEFAULT NULL,
|
||||
`rc_deleted` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_logid` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`rc_deleted` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_logid` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||
`rc_log_type` varbinary(255) DEFAULT NULL,
|
||||
`rc_log_action` varbinary(255) DEFAULT NULL,
|
||||
`rc_params` blob DEFAULT NULL,
|
||||
@ -1652,7 +1660,7 @@ CREATE TABLE `mw_recentchanges` (
|
||||
|
||||
LOCK TABLES `mw_recentchanges` WRITE;
|
||||
/*!40000 ALTER TABLE `mw_recentchanges` DISABLE KEYS */;
|
||||
INSERT INTO `mw_recentchanges` VALUES (11301,'20180202064616',621,'Abwayax',0,0,'Main_Page','',0,0,0,2900,0,0,3,1,'172.18.0.1',NULL,NULL,0,14449,'delete','delete','a:0:{}','mw.log'),(11302,'20180202064653',621,'Abwayax',0,0,'Main_Page','Created page with \"This is a test instance of \'\'\'Glitch City Laboratories.\'\'\' == News == <boardnews board=\"2\" />\"',0,0,1,2901,9522,0,1,1,'172.18.0.1',0,94,0,0,NULL,'','','mw.new'),(11303,'20180202064716',621,'Abwayax',0,8,'Sidebar','',0,0,0,8,0,0,3,1,'172.18.0.1',NULL,NULL,0,14452,'delete','delete','a:0:{}','mw.log'),(11304,'20180202064824',621,'Abwayax',0,8,'Sidebar','Created page with \"* Main Menu ** mainpage|mainpage-description ** //forums.glitchcity.info/|Forums ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help * Submenu **...\"',0,0,1,2902,9523,0,1,1,'172.18.0.1',0,446,0,0,NULL,'','','mw.new'),(11305,'20180202065043',621,'Abwayax',0,8,'Sidebar','',0,0,0,2902,9524,9523,0,1,'172.18.0.1',446,319,0,0,NULL,'','','mw.edit'),(11306,'20180202065056',621,'Abwayax',0,0,'Page_1','Created page with \"\'\'\'Page one\'\'\'\"',0,0,1,2903,9525,0,1,1,'172.18.0.1',0,14,0,0,NULL,'','','mw.new');
|
||||
INSERT INTO `mw_recentchanges` VALUES (11301,'20180202064616',621,'Abwayax',0,0,'Main_Page','',0,0,0,0,2900,0,0,3,1,'172.18.0.1',NULL,NULL,0,14449,'delete','delete','a:0:{}','mw.log'),(11302,'20180202064653',621,'Abwayax',0,0,'Main_Page','Created page with \"This is a test instance of \'\'\'Glitch City Laboratories.\'\'\' == News == <boardnews board=\"2\" />\"',0,0,0,1,2901,9522,0,1,1,'172.18.0.1',0,94,0,0,NULL,'','','mw.new'),(11303,'20180202064716',621,'Abwayax',0,8,'Sidebar','',0,0,0,0,8,0,0,3,1,'172.18.0.1',NULL,NULL,0,14452,'delete','delete','a:0:{}','mw.log'),(11304,'20180202064824',621,'Abwayax',0,8,'Sidebar','Created page with \"* Main Menu ** mainpage|mainpage-description ** //forums.glitchcity.info/|Forums ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help * Submenu **...\"',0,0,0,1,2902,9523,0,1,1,'172.18.0.1',0,446,0,0,NULL,'','','mw.new'),(11305,'20180202065043',621,'Abwayax',0,8,'Sidebar','',0,0,0,0,2902,9524,9523,0,1,'172.18.0.1',446,319,0,0,NULL,'','','mw.edit'),(11306,'20180202065056',621,'Abwayax',0,0,'Page_1','Created page with \"\'\'\'Page one\'\'\'\"',0,0,0,1,2903,9525,0,1,1,'172.18.0.1',0,14,0,0,NULL,'','','mw.new');
|
||||
/*!40000 ALTER TABLE `mw_recentchanges` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur