From f4cca1e8f455c98fe574706c55bf35dbad2a2358 Mon Sep 17 00:00:00 2001 From: Govorunb Date: Sat, 15 Jun 2024 21:30:52 +1000 Subject: [PATCH] raise receipt length limit --- ebs/src/util/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebs/src/util/db.ts b/ebs/src/util/db.ts index d2a2fc0..a4d44d8 100644 --- a/ebs/src/util/db.ts +++ b/ebs/src/util/db.ts @@ -30,7 +30,7 @@ export async function initDb() { export async function setupDb() { await db.query(` CREATE TABLE IF NOT EXISTS transactions ( - receipt VARCHAR(255) PRIMARY KEY, + receipt VARCHAR(1024) PRIMARY KEY, token VARCHAR(255) NOT NULL, userId VARCHAR(255) NOT NULL );