3 lines
143 B
MySQL
3 lines
143 B
MySQL
|
ALTER TABLE `users` ADD `valid_from` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `session_id`;
|
||
|
UPDATE `users` SET `valid_from` = NOW();
|