-- 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*/;
