mapguesser/database/migrations/structure/20200705_0118_resend_activation.sql

6 lines
220 B
MySQL
Raw Permalink Normal View History

UPDATE `user_confirmations` SET token=SUBSTRING(token, 1, 32);
ALTER TABLE `user_confirmations`
ADD `last_sent` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
MODIFY `token` varchar(32) CHARACTER SET ascii NOT NULL;