mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-12-19 02:00:46 +00:00
15 lines
540 B
MySQL
15 lines
540 B
MySQL
|
-- This file is automatically generated using maintenance/generateSchemaSql.php.
|
||
|
-- Source: sql/tables.json
|
||
|
-- Do not modify this file directly.
|
||
|
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
|
||
|
CREATE TABLE /*_*/loginnotify_seen_net (
|
||
|
lsn_id INT UNSIGNED AUTO_INCREMENT NOT NULL,
|
||
|
lsn_time_bucket SMALLINT UNSIGNED NOT NULL,
|
||
|
lsn_user INT UNSIGNED NOT NULL,
|
||
|
lsn_subnet BIGINT NOT NULL,
|
||
|
UNIQUE INDEX loginnotify_seen_net_user (
|
||
|
lsn_user, lsn_subnet, lsn_time_bucket
|
||
|
),
|
||
|
PRIMARY KEY(lsn_id)
|
||
|
) /*$wgDBTableOptions*/;
|