mediawiki-extensions-OATHAuth/sql/mssql/tables.sql
Tyler Anthony Romeo d2097fbcaf Add non-MySQL database support
Created patch files for other database types.
Note that some types, such as Oracle, are
not guaranteed to work, since not even MW
core works with them yet anyway.

Bug: T67658
Change-Id: Ie9ce8a4d1140d16017c1aa83865f79d8b0986528
2016-10-31 19:06:52 +00:00

11 lines
220 B
SQL

CREATE TABLE /*_*/oathauth_users (
-- User ID
id INT NOT NULL PRIMARY KEY IDENTITY(0,1),
-- Secret key
secret NVARCHAR(255) NULL DEFAULT NULL,
-- Scratch tokens
scratch_tokens varbinary(511) NULL DEFAULT NULL
);