summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2022-04-21 18:54:58 +0100
committerGitHub <noreply@github.com>2022-04-21 18:54:58 +0100
commit5aca6114d406f4ee09ad0790ce4ccdbe200f520a (patch)
tree27cdef854520f7192329aa75159bc21269c3043d
parent9085485a4f8a6be76d1ac8a8b7a7b65bdf83aa24 (diff)
Allow for larger commands (#321)
Followup: Limit command length client side too
-rw-r--r--atuin-server/migrations/20220421174016_larger-commands.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/atuin-server/migrations/20220421174016_larger-commands.sql b/atuin-server/migrations/20220421174016_larger-commands.sql
new file mode 100644
index 00000000..0ac43433
--- /dev/null
+++ b/atuin-server/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);