From 156893d774b4da5b541fdbb08428f9ec392949a0 Mon Sep 17 00:00:00 2001
From: Ellie Huxtable <e@elm.sh>
Date: Sun, 25 Apr 2021 18:21:52 +0100
Subject: Update docs, unify on SQLx, bugfixes (#40)

* Begin moving to sqlx for local too

* Stupid scanners should just have a nice cup of tea

Random internet shit searching for /.env or whatever

* Remove diesel and rusqlite fully
---
 atuin-server/migrations/20210425153800_create_sessions.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 atuin-server/migrations/20210425153800_create_sessions.sql

(limited to 'atuin-server/migrations/20210425153800_create_sessions.sql')

diff --git a/atuin-server/migrations/20210425153800_create_sessions.sql b/atuin-server/migrations/20210425153800_create_sessions.sql
new file mode 100644
index 00000000..c2fb6559
--- /dev/null
+++ b/atuin-server/migrations/20210425153800_create_sessions.sql
@@ -0,0 +1,6 @@
+-- Add migration script here
+create table sessions (
+	id bigserial primary key,
+	user_id bigserial,
+	token varchar(128) unique not null
+);
-- 
cgit v1.3.1

