Debian Codegraph @

extensions/LoginNotify/sql/sqlite/tables-generated.sql

raw
1 -- This file is automatically generated using maintenance/generateSchemaSql.php.
2 -- Source: sql/tables.json
3 -- Do not modify this file directly.
4 -- See https://www.mediawiki.org/wiki/Manual:Schema_changes
5 CREATE TABLE /*_*/loginnotify_seen_net (
6 lsn_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
7 lsn_time_bucket SMALLINT UNSIGNED NOT NULL,
8 lsn_user INTEGER UNSIGNED NOT NULL,
9 lsn_subnet BIGINT NOT NULL
10 );
11
12 CREATE UNIQUE INDEX loginnotify_seen_net_user ON /*_*/loginnotify_seen_net (
13 lsn_user, lsn_subnet, lsn_time_bucket
14 );