Debian Codegraph @

extensions/DiscussionTools/sql/mysql/discussiontools_subscription.sql

raw
1 -- This file is automatically generated using maintenance/generateSchemaSql.php.
2 -- Source: sql/discussiontools_subscription.json
3 -- Do not modify this file directly.
4 -- See https://www.mediawiki.org/wiki/Manual:Schema_changes
5 CREATE TABLE /*_*/discussiontools_subscription (
6 sub_id INT UNSIGNED AUTO_INCREMENT NOT NULL,
7 sub_item VARBINARY(255) NOT NULL,
8 sub_namespace INT DEFAULT 0 NOT NULL,
9 sub_title VARBINARY(255) NOT NULL,
10 sub_section VARBINARY(255) NOT NULL,
11 sub_state INT DEFAULT 1 NOT NULL,
12 sub_user INT UNSIGNED NOT NULL,
13 sub_created BINARY(14) NOT NULL,
14 sub_notified BINARY(14) DEFAULT NULL,
15 UNIQUE INDEX discussiontools_subscription_itemuser (sub_item, sub_user),
16 INDEX discussiontools_subscription_user (sub_user),
17 PRIMARY KEY(sub_id)
18 ) /*$wgDBTableOptions*/;