summaryrefslogtreecommitdiff
path: root/maintenance/ibm_db2/patch-rd_interwiki.sql
blob: c162548c0d4c5c7e2b0e14cd3164e96dd5e89bde (plain)
1
2
3
4
5
6
7
8
CREATE TABLE redirect (
  rd_from       BIGINT  NOT NULL  PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY (START WITH 1),
  --REFERENCES page(page_id) ON DELETE CASCADE,
  rd_namespace  SMALLINT NOT NULL  DEFAULT 0,
  rd_title      VARCHAR(255)     NOT NULL DEFAULT '',
  rd_interwiki  varchar(32),
  rd_fragment   VARCHAR(255)
);