diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 08:57:30 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 08:58:47 -0400 |
commit | b727db0d64f4250742b0ebaac0149c1224a0d040 (patch) | |
tree | 7d789facb2b3f578e8182034b4cb7f0df5323476 /server/migrations/20221008120534_init.up.sql | |
parent | 97598e7edfcdc97e665453d6f5cda316bd51291b (diff) |
Add db connection to server
Diffstat (limited to 'server/migrations/20221008120534_init.up.sql')
-rw-r--r-- | server/migrations/20221008120534_init.up.sql | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/migrations/20221008120534_init.up.sql b/server/migrations/20221008120534_init.up.sql index bcd9c2c..301d2eb 100644 --- a/server/migrations/20221008120534_init.up.sql +++ b/server/migrations/20221008120534_init.up.sql @@ -1,7 +1,6 @@ -- Add up migration script here -create table users ( +create table sessions ( id uuid primary key, - username varchar(32) not null, access_token varchar(2048) not null, access_token_expiration timestamp with time zone not null, refresh_token varchar(512) not null |