mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-11-28 10:10:19 +00:00
ea984e5c2b
Please note, this patch requires a schema change before merging Change-Id: I71286534d21d95083436d64d79811943c1a1d032 ERM: #14484 Bug: T218210
20 lines
378 B
PL/PgSQL
20 lines
378 B
PL/PgSQL
BEGIN;
|
|
SET client_min_messages = 'ERROR';
|
|
|
|
DROP SEQUENCE IF EXISTS oathauth_users_id_seq CASCADE;
|
|
|
|
CREATE SEQUENCE oathauth_users_id_seq MINVALUE 0 START WITH 0;
|
|
CREATE TABLE oathauth_users (
|
|
-- User ID
|
|
id INTEGER NOT NULL PRIMARY KEY DEFAULT nextval('oathauth_users_id_seq'),
|
|
|
|
-- Module selected by the user
|
|
module TEXT NULL,
|
|
|
|
-- Module data
|
|
data BYTEA NULL
|
|
|
|
);
|
|
|
|
COMMIT;
|