Debian Codegraph @

extensions/OATHAuth/sql/mysql/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 /*_*/oathauth_types (
6 oat_id INT AUTO_INCREMENT NOT NULL,
7 oat_name VARBINARY(255) NOT NULL,
8 UNIQUE INDEX oat_name (oat_name),
9 PRIMARY KEY(oat_id)
10 ) /*$wgDBTableOptions*/;
11
12
13 CREATE TABLE /*_*/oathauth_devices (
14 oad_id INT AUTO_INCREMENT NOT NULL,
15 oad_user INT NOT NULL,
16 oad_type INT NOT NULL,
17 oad_name VARBINARY(255) DEFAULT NULL,
18 oad_created BINARY(14) DEFAULT NULL,
19 oad_data BLOB DEFAULT NULL,
20 INDEX oad_user (oad_user),
21 PRIMARY KEY(oad_id)
22 ) /*$wgDBTableOptions*/;