-- This file is automatically generated using maintenance/generateSchemaSql.php.
-- Source: ./tables.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
CREATE TABLE shorturls (
  su_id SERIAL NOT NULL,
  su_namespace INT NOT NULL,
  su_title VARCHAR(255) NOT NULL,
  PRIMARY KEY(su_id)
);

CREATE UNIQUE INDEX shorturls_ns_title ON shorturls (su_namespace, su_title);
