From a8b6e9ab9b7503e229c078f040f227c35609d38d Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Thu, 21 Nov 2024 01:05:03 +0700 Subject: [PATCH] update db --- migrations/20241120173848_add_budgets_table.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/20241120173848_add_budgets_table.sql b/migrations/20241120173848_add_budgets_table.sql index cd4d167..c0d85d8 100644 --- a/migrations/20241120173848_add_budgets_table.sql +++ b/migrations/20241120173848_add_budgets_table.sql @@ -4,6 +4,7 @@ CREATE TABLE IF NOT EXISTS budgets ( id SERIAL PRIMARY KEY, name TEXT NOT NULL, start_day INT NOT NULL, + monthly_limit INT DEFAULT 0, created_at TIMESTAMP ); -- +goose StatementEnd