[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/archives/ -> patch-user_nameindex.sql (source)

   1  --
   2  -- Change the index on user_name to a unique index to prevent
   3  -- duplicate registrations from creeping in.
   4  --
   5  -- Run maintenance/userDupes.php or through the updater first
   6  -- to clean up any prior duplicate accounts.
   7  --
   8  -- Added 2005-06-05
   9  --
  10  
  11       ALTER TABLE /*$wgDBprefix*/user
  12        DROP INDEX user_name,
  13  ADD UNIQUE INDEX user_name(user_name);


Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1