🎉 Add proper lifecycle handling for http sessions.

This commit is contained in:
Andrey Antukh 2021-02-22 12:51:19 +01:00 committed by Andrés Moya
parent 995017df5a
commit fb51580740
5 changed files with 227 additions and 86 deletions

View file

@ -0,0 +1,6 @@
ALTER TABLE http_session
ADD COLUMN updated_at timestamptz NULL;
CREATE INDEX http_session__updated_at__idx
ON http_session (updated_at)
WHERE updated_at IS NOT NULL;