mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/OATHAuth
synced 2024-12-02 20:06:22 +00:00
18 lines
371 B
MySQL
18 lines
371 B
MySQL
|
CREATE TABLE /*_*/oathauth_users_tmp (
|
||
|
-- User ID
|
||
|
id int not null primary key,
|
||
|
|
||
|
-- Module user has selected
|
||
|
module text not null,
|
||
|
|
||
|
-- Data
|
||
|
data blob null
|
||
|
);
|
||
|
|
||
|
INSERT INTO /*_*/oathauth_users_tmp (id, module, data)
|
||
|
SELECT id, module, data FROM /*_*/oathauth_users;
|
||
|
|
||
|
DROP TABLE /*_*/oathauth_users;
|
||
|
|
||
|
ALTER TABLE /*_*/oathauth_users_tmp RENAME TO /*_*/oathauth_users;
|