Debian Codegraph @

extensions/OATHAuth/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 /*_*/oathauth_types (
6 oat_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
7 oat_name BLOB NOT NULL
8 );
9
10 CREATE UNIQUE INDEX oat_name ON /*_*/oathauth_types (oat_name);
11
12
13 CREATE TABLE /*_*/oathauth_devices (
14 oad_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
15 oad_user INTEGER NOT NULL, oad_type INTEGER NOT NULL,
16 oad_name BLOB DEFAULT NULL, oad_created BLOB DEFAULT NULL,
17 oad_data BLOB DEFAULT NULL
18 );
19
20 CREATE INDEX oad_user ON /*_*/oathauth_devices (oad_user);