From 16bca789762cf39cb18fb6beb075510af6cfde36 Mon Sep 17 00:00:00 2001 From: Daniel Naab Date: Fri, 13 Dec 2024 13:01:19 -0600 Subject: [PATCH] Use TEXT column type for extract column in form_documents table rather than 255-character string. (#406) --- .../database/migrations/20241031103354_form_documents_table.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/database/migrations/20241031103354_form_documents_table.mjs b/packages/database/migrations/20241031103354_form_documents_table.mjs index 85ddc3f2..300a0c31 100644 --- a/packages/database/migrations/20241031103354_form_documents_table.mjs +++ b/packages/database/migrations/20241031103354_form_documents_table.mjs @@ -8,7 +8,7 @@ export async function up(knex) { table.string('type').notNullable(); table.string('file_name').notNullable(); table.binary('data').notNullable(); - table.string('extract').notNullable(); + table.text('extract').notNullable(); }); }