From 23b9d34e162a9cf27b519c1fe075785be25c46e5 Mon Sep 17 00:00:00 2001
From: Ellie Huxtable <ellie@elliehuxtable.com>
Date: Fri, 10 Jun 2022 10:00:59 +0100
Subject: Add configurable history length (#447)

* Add configurable history length

This allows servers to decide the max length of each history item they
want to store! Some users might have much larger history lines than
others.

This setting can be set to 0 to allow for unlimited history length. This
is not recommended for a public server install, but for a private one it
can work nicely.

* Format lol
---
 atuin-server/migrations/20220610074049_history-length.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 atuin-server/migrations/20220610074049_history-length.sql

(limited to 'atuin-server/migrations/20220610074049_history-length.sql')

diff --git a/atuin-server/migrations/20220610074049_history-length.sql b/atuin-server/migrations/20220610074049_history-length.sql
new file mode 100644
index 00000000..b1c23016
--- /dev/null
+++ b/atuin-server/migrations/20220610074049_history-length.sql
@@ -0,0 +1,2 @@
+-- Add migration script here
+alter table history alter column data type text;
-- 
cgit v1.3.1

