From 97598e7edfcdc97e665453d6f5cda316bd51291b Mon Sep 17 00:00:00 2001
From: Kjetil Orbekk <kj@orbekk.com>
Date: Sat, 8 Oct 2022 08:26:57 -0400
Subject: Add initial postgresql database setup

---
 server/migrations/20221008120534_init.up.sql | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 server/migrations/20221008120534_init.up.sql

(limited to 'server/migrations/20221008120534_init.up.sql')

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
+);
-- 
cgit v1.2.3

