feat: add last_seen field to sessions
This commit is contained in:
parent
b5ec2e40de
commit
3f0e01aaf6
5 changed files with 18 additions and 5 deletions
3
migrations/2025-03-15-145721_session_last_seen/down.sql
Normal file
3
migrations/2025-03-15-145721_session_last_seen/down.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
alter table sessions
|
||||
drop column last_seen;
|
||||
3
migrations/2025-03-15-145721_session_last_seen/up.sql
Normal file
3
migrations/2025-03-15-145721_session_last_seen/up.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- Your SQL goes here
|
||||
alter table sessions
|
||||
add column last_seen bigint not null default 0;
|
||||
Loading…
Add table
Add a link
Reference in a new issue