Update db.sql

Fix bug introduced in account type table
This commit is contained in:
Andrew Malsbury
2023-10-12 09:27:38 -05:00
committed by GitHub
parent 101488f9f1
commit 6506f64a6e

2
db.sql
View File

@@ -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,