7 lines
154 B
MySQL
7 lines
154 B
MySQL
|
alter table users
|
||
|
add column last_seen timestamp not null default 0;
|
||
|
|
||
|
-- noinspection SqlWithoutWhere
|
||
|
update users
|
||
|
set last_seen = current_timestamp;
|