From 6506f64a6e069e59cf0ffe8ac525de9a859aa67d Mon Sep 17 00:00:00 2001 From: Andrew Malsbury Date: Thu, 12 Oct 2023 09:27:38 -0500 Subject: [PATCH] Update db.sql Fix bug introduced in account type table --- db.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.sql b/db.sql index e6e1c063..9ecf40a4 100644 --- a/db.sql +++ b/db.sql @@ -28,7 +28,7 @@ CREATE TABLE `accounts` ( `opening_balance` decimal(15,2) NOT NULL DEFAULT 0.00, `account_currency_code` varchar(200) NOT NULL, `account_notes` text DEFAULT NULL, - `account_type` int(6) NOT NULL DEFAULT NULL, + `account_type` int(6) NOT NULL DEFAULT 0, `account_created_at` datetime NOT NULL DEFAULT current_timestamp(), `account_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(), `account_archived_at` datetime DEFAULT NULL,