Index: trunk/extensions/ArticleFeedback/sql/ArticleFeedback.sql |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | -- Rating Id |
5 | 5 | aar_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, |
6 | 6 | -- Text (i18n key) for rating description |
7 | | - aar_rating varchar(255) binary NOT NULL |
| 7 | + aar_rating varbinary(255) NOT NULL |
8 | 8 | ) /*$wgDBTableOptions*/; |
9 | 9 | |
10 | 10 | -- Default article feedback ratings for the pilot |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | -- User Id (0 if anon) |
20 | 20 | aa_user_id integer NOT NULL, |
21 | 21 | -- Username or IP address |
22 | | - aa_user_text varchar(255) binary NOT NULL, |
| 22 | + aa_user_text varbinary(255) NOT NULL, |
23 | 23 | -- Unique token for anonymous users (to facilitate ratings from multiple users on the same IP) |
24 | 24 | aa_user_anon_token binary(32) DEFAULT '', |
25 | 25 | -- Foreign key to revision.rev_id |