Add "account_type" to accounts table

This commit is contained in:
Andrew Malsbury 2023-10-07 16:15:02 +00:00
parent 844a85cee7
commit f8bc2ee4b4
1 changed files with 1 additions and 0 deletions

1
db.sql
View File

@ -28,6 +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 11,
`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,