diff options
Diffstat (limited to 'server/migrations')
| -rw-r--r-- | server/migrations/20221008120534_init.up.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/migrations/20221008120534_init.up.sql b/server/migrations/20221008120534_init.up.sql index 301d2eb..b3527eb 100644 --- a/server/migrations/20221008120534_init.up.sql +++ b/server/migrations/20221008120534_init.up.sql @@ -3,5 +3,6 @@ create table sessions ( id uuid primary key, access_token varchar(2048) not null, access_token_expiration timestamp with time zone not null, - refresh_token varchar(512) not null + refresh_token varchar(1024) not null, + last_refresh timestamp with time zone not null default now() ); |
