forked from science-ation/science-ation
Add a field so we can record email->username linkage
This commit is contained in:
parent
82bdfdbd10
commit
80537e75f2
@ -1 +1 @@
|
||||
201
|
||||
202
|
||||
|
4
db/db.update.202.sql
Normal file
4
db/db.update.202.sql
Normal file
@ -0,0 +1,4 @@
|
||||
ALTER TABLE `accounts` ADD `link_username_to_email` ENUM( 'yes', 'no' ) NOT NULL AFTER `username` ;
|
||||
UPDATE `accounts` SET `link_username_to_email`='yes';
|
||||
UPDATE `accounts` SET `link_username_to_email`='no' WHERE `username`!=`email`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user