X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Ftables.sql;h=03ce508275680740b43a01d7cfbea80759470714;hb=9f1b11a9dcfda33f5904dbab972a660b6e136561;hp=b5c14e30f4ba302e19cfd92cacfd4b94e27fae5a;hpb=9210d39e6f093cf5091071c654dbb588fb761d51;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/tables.sql b/maintenance/tables.sql index b5c14e30f4..03ce508275 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1472,6 +1472,7 @@ CREATE TABLE /*_*/updatelog ( -- A table to track tags for revisions, logs and recent changes. CREATE TABLE /*_*/change_tag ( + ct_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, -- RCID for the change ct_rc_id int NULL, -- LOGID for the change @@ -1494,6 +1495,7 @@ CREATE INDEX /*i*/change_tag_tag_id ON /*_*/change_tag (ct_tag,ct_rc_id,ct_rev_i -- Rollup table to pull a LIST of tags simply without ugly GROUP_CONCAT -- that only works on MySQL 4.1+ CREATE TABLE /*_*/tag_summary ( + ts_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, -- RCID for the change ts_rc_id int NULL, -- LOGID for the change