2020-08-22 21:45:17 +00:00
|
|
|
-- This file is automatically generated using maintenance/generateSchemaSql.php.
|
2022-12-31 23:49:18 +00:00
|
|
|
-- Source: sql/tables.json
|
2020-08-22 21:45:17 +00:00
|
|
|
-- Do not modify this file directly.
|
|
|
|
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
|
2022-12-31 23:49:18 +00:00
|
|
|
CREATE TABLE /*_*/oathauth_types (
|
|
|
|
oat_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
|
|
oat_name BLOB NOT NULL
|
2020-08-22 21:45:17 +00:00
|
|
|
);
|
2022-12-31 23:49:18 +00:00
|
|
|
|
|
|
|
CREATE UNIQUE INDEX oat_name ON /*_*/oathauth_types (oat_name);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE /*_*/oathauth_devices (
|
|
|
|
oad_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
|
|
oad_user INTEGER NOT NULL, oad_type INTEGER NOT NULL,
|
|
|
|
oad_name BLOB DEFAULT NULL, oad_created BLOB DEFAULT NULL,
|
|
|
|
oad_data BLOB DEFAULT NULL
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE INDEX oad_user ON /*_*/oathauth_devices (oad_user);
|