r19704 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19703‎ | r19704 | r19705 >
Date:09:01, 1 February 2007
Author:werdna
Status:old
Tags:
Comment:
Fix last commit - patches were using SERIAL instead of int unsigned not null auto_increment
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-log_id.sql (modified) (history)
  • /trunk/phase3/maintenance/archives/patch-page_restrictions_sortkey.sql (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-log_id.sql
@@ -4,5 +4,5 @@
55 -- Andrew Garrett, February 2007.
66
77 ALTER TABLE logging
8 - ADD COLUMN log_id SERIAL,
 8+ ADD COLUMN log_id int unsigned not null auto_increment,
99 ADD PRIMARY KEY log_id (log_id);
Index: trunk/phase3/maintenance/archives/patch-page_restrictions_sortkey.sql
@@ -4,5 +4,5 @@
55 -- Andrew Garrett, February 2007
66
77 ALTER TABLE page_restrictions
8 - ADD COLUMN pr_id SERIAL,
 8+ ADD COLUMN pr_id int unsigned not null auto_increment,
99 ADD UNIQUE KEY pr_id (pr_id);