diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 08:26:57 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 08:26:57 -0400 |
commit | 97598e7edfcdc97e665453d6f5cda316bd51291b (patch) | |
tree | 729ed92e6c40f691fe364bb556908b0df73914b0 /server/migrations/20221008120534_init.up.sql | |
parent | ba57f14611b3a35bc08f01050779f1b4c9fc6090 (diff) |
Add initial postgresql database setup
Diffstat (limited to 'server/migrations/20221008120534_init.up.sql')
-rw-r--r-- | server/migrations/20221008120534_init.up.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/migrations/20221008120534_init.up.sql b/server/migrations/20221008120534_init.up.sql new file mode 100644 index 0000000..bcd9c2c --- /dev/null +++ b/server/migrations/20221008120534_init.up.sql @@ -0,0 +1,8 @@ +-- Add up migration script here +create table users ( + 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 +); |