mediawiki-extensions-OATHAuth/sql/postgres/tables.sql

20 lines
378 B
MySQL
Raw Normal View History

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;