r80594 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80593‎ | r80594 | r80595 >
Date:22:48, 19 January 2011
Author:catrope
Status:deferred
Tags:
Comment:
ArticleFeedback: varchar(255) binary --> varbinary(255)
Modified paths:
  • /trunk/extensions/ArticleFeedback/sql/ArticleFeedback.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/sql/ArticleFeedback.sql
@@ -3,7 +3,7 @@
44 -- Rating Id
55 aar_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT,
66 -- Text (i18n key) for rating description
7 - aar_rating varchar(255) binary NOT NULL
 7+ aar_rating varbinary(255) NOT NULL
88 ) /*$wgDBTableOptions*/;
99
1010 -- Default article feedback ratings for the pilot
@@ -18,7 +18,7 @@
1919 -- User Id (0 if anon)
2020 aa_user_id integer NOT NULL,
2121 -- Username or IP address
22 - aa_user_text varchar(255) binary NOT NULL,
 22+ aa_user_text varbinary(255) NOT NULL,
2323 -- Unique token for anonymous users (to facilitate ratings from multiple users on the same IP)
2424 aa_user_anon_token binary(32) DEFAULT '',
2525 -- Foreign key to revision.rev_id

Status & tagging log