mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
15 lines
362 B
SQL
15 lines
362 B
SQL
-- user_token patch
|
|
-- 2004-09-23
|
|
|
|
ALTER TABLE /*$wgDBprefix*/user ADD user_token binary(32) NOT NULL default '';
|
|
|
|
UPDATE /*$wgDBprefix*/user SET user_token = concat(
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4),
|
|
substring(rand(),3,4)
|
|
);
|