mirror of https://github.com/itflow-org/itflow
Merge pull request #751 from o-psi/fix-account-type-default
[Critical] Fix bug introduced in account type update
This commit is contained in:
commit
448aaa8c1c
2
db.sql
2
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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue