diff --git a/migrations/2025-03-15-145721_session_last_seen/down.sql b/migrations/2025-03-15-145721_session_last_seen/down.sql new file mode 100644 index 0000000..e794cf7 --- /dev/null +++ b/migrations/2025-03-15-145721_session_last_seen/down.sql @@ -0,0 +1,3 @@ +-- This file should undo anything in `up.sql` +alter table sessions + drop column last_seen; diff --git a/migrations/2025-03-15-145721_session_last_seen/up.sql b/migrations/2025-03-15-145721_session_last_seen/up.sql new file mode 100644 index 0000000..776d287 --- /dev/null +++ b/migrations/2025-03-15-145721_session_last_seen/up.sql @@ -0,0 +1,3 @@ +-- Your SQL goes here +alter table sessions + add column last_seen bigint not null default 0;