From 8878b1d92bdd8ee9b51ecde7e9cc88f62f264841 Mon Sep 17 00:00:00 2001 From: Mateus Cruz Date: Mon, 5 Feb 2024 11:06:46 -0300 Subject: move routes handler module to its own file --- script.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script.sql') diff --git a/script.sql b/script.sql index 25e5ffe..7f3f3c0 100644 --- a/script.sql +++ b/script.sql @@ -11,8 +11,8 @@ CREATE TABLE transactions ( client_id INTEGER REFERENCES clients, value INTEGER NOT NULL, type transaction_type NOT NULL, - description VARCHAR(10) NOT NULL, - created_at TIMESTAMP NOT NULL DEFAULT NOW() + description VARCHAR(255) NOT NULL, + created_at TIMESTAMPTZ NOT NULL DEFAULT NOW() ); CREATE TABLE balances ( -- cgit v1.2.3