From 00ade6066e9dd88c65b176bf4788eea4c3e1a15d Mon Sep 17 00:00:00 2001
From: Mateus Cruz <mateuscolvr@gmail.com>
Date: Mon, 5 Feb 2024 21:50:50 -0300
Subject: fix: description length validation

---
 script.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'script.sql')

diff --git a/script.sql b/script.sql
index 9a2b3c2..a02895a 100644
--- a/script.sql
+++ b/script.sql
@@ -11,7 +11,7 @@ CREATE TABLE transactions (
   client_id INTEGER REFERENCES clients,
   value INTEGER NOT NULL,
   type transaction_type NOT NULL,
-  description VARCHAR(255) NOT NULL,
+  description VARCHAR(10) NOT NULL,
   created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
 );
 
-- 
cgit v1.2.3

