From 3c78bc2db34b1413173b501ae28378079bd9f2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Thu, 18 Jun 2026 14:48:35 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.3:=20cftransaction=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?BYTEA=20Large=20Objects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.cfm | 2 +- upload.cfm | 64 ++++++++++++++++++++++++++++-------------------------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/index.cfm b/index.cfm index 4b7c260..3697804 100644 --- a/index.cfm +++ b/index.cfm @@ -1 +1 @@ -OK v1.0.2 +OK v1.0.3 diff --git a/upload.cfm b/upload.cfm index 228f47a..1a65b8d 100644 --- a/upload.cfm +++ b/upload.cfm @@ -20,41 +20,43 @@ - - INSERT INTO documents (filename, mime_type, original_bytes, status) - VALUES ( - , - , - , - 'uploaded' - ) - + + + INSERT INTO documents (filename, mime_type, original_bytes, status) + VALUES ( + , + , + , + 'uploaded' + ) + - - SELECT id FROM documents - WHERE filename = - AND status = 'uploaded' - ORDER BY created_at DESC LIMIT 1 - + + SELECT id FROM documents + WHERE filename = + AND status = 'uploaded' + ORDER BY created_at DESC LIMIT 1 + - - INSERT INTO contracts (number, client) VALUES ( - , - '' - ) - + + INSERT INTO contracts (number, client) VALUES ( + , + '' + ) + - - SELECT id FROM contracts ORDER BY created_at DESC LIMIT 1 - + + SELECT id FROM contracts ORDER BY created_at DESC LIMIT 1 + - - INSERT INTO supplements (contract_id, document_id, type) VALUES ( - , - , - 'initial' - ) - + + INSERT INTO supplements (contract_id, document_id, type) VALUES ( + , + , + 'initial' + ) + +