From 8655c93853506acf05f6ae4e58bfc2c6198be254 Mon Sep 17 00:00:00 2001
From: Conrad Ludgate <conradludgate@gmail.com>
Date: Mon, 12 Jun 2023 09:04:35 +0100
Subject: refactor server to allow pluggable db and tracing (#1036)

* refactor server to allow pluggable db and tracing

* clean up

* fix descriptions

* remove dependencies
---
 atuin-server-postgres/migrations/20220421174016_larger-commands.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 atuin-server-postgres/migrations/20220421174016_larger-commands.sql

(limited to 'atuin-server-postgres/migrations/20220421174016_larger-commands.sql')

diff --git a/atuin-server-postgres/migrations/20220421174016_larger-commands.sql b/atuin-server-postgres/migrations/20220421174016_larger-commands.sql
new file mode 100644
index 00000000..0ac43433
--- /dev/null
+++ b/atuin-server-postgres/migrations/20220421174016_larger-commands.sql
@@ -0,0 +1,3 @@
+-- Make it 4x larger. Most commands are less than this, but as it's base64
+-- SOME are more than 8192. Should be enough for now.
+ALTER TABLE history ALTER COLUMN data TYPE varchar(32768);
-- 
cgit v1.3.1

