Split down patch-comment-table.sql
[lhc/web/wiklou.git] / maintenance / archives / patch-content_models.sql
1 --
2 -- Normalization table for content model names
3 --
4 CREATE TABLE /*_*/content_models (
5 model_id smallint PRIMARY KEY AUTO_INCREMENT,
6 model_name varbinary(64) NOT NULL
7 ) /*$wgDBTableOptions*/;
8
9 -- Index for looking of the internal ID of for a name
10 CREATE UNIQUE INDEX /*i*/model_name ON /*_*/content_models (model_name);