Index: branches/robchurch/pr_timestamp/maintenance/archives/patch-pr_timestamp.sql |
— | — | @@ -1,4 +1,4 @@ |
2 | 2 | -- Add page_restrictions.pr_timestamp column |
3 | 3 | -- (Rob Church, June 2007) |
4 | 4 | ALTER TABLE /*wgDBprefix*/page_restrictions |
5 | | -ADD `pr_timestamp` CHAR(14) BINARY NULL AFTER `pr_user`; |
\ No newline at end of file |
| 5 | +ADD `pr_timestamp` VARCHAR(14) BINARY NULL AFTER `pr_user`; |
\ No newline at end of file |
Index: branches/robchurch/pr_timestamp/maintenance/tables.sql |
— | — | @@ -1134,7 +1134,7 @@ |
1135 | 1135 | -- Field for future support of per-user restriction. |
1136 | 1136 | pr_user int(8) NULL, |
1137 | 1137 | -- Timestamp of the protection event |
1138 | | - pr_timestamp CHAR(14) BINARY NULL, |
| 1138 | + pr_timestamp VARCHAR(14) BINARY NULL, |
1139 | 1139 | -- Field for time-limited protection. |
1140 | 1140 | pr_expiry char(14) binary NULL, |
1141 | 1141 | -- Field for an ID for this restrictions row (sort-key for Special:ProtectedPages) |