mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-11 08:06:10 +00:00
ea984e5c2b
Please note, this patch requires a schema change before merging Change-Id: I71286534d21d95083436d64d79811943c1a1d032 ERM: #14484 Bug: T218210
16 lines
342 B
SQL
16 lines
342 B
SQL
define mw_prefix='{$wgDBprefix}';
|
|
|
|
CREATE SEQUENCE oathauth_users_id_seq;
|
|
CREATE TABLE &mw_prefix.oathauth_users (
|
|
-- User ID
|
|
id NUMBER NOT NULL,
|
|
|
|
-- Module selected by user
|
|
module VARCHAR2(255) NULL,
|
|
|
|
-- Module data
|
|
data BLOB NULL
|
|
|
|
);
|
|
ALTER TABLE &mw_prefix.oathauth_users ADD CONSTRAINT &mw_prefix.oathauth_users_pk PRIMARY KEY (id);
|