Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix upgrade database thing.
James Coleee45cc2f73e4
diff --git a/app/Models/AccountType.php b/app/Models/AccountType.phpindex 40b9a872eb..1ba108a8ce 100644--- a/app/Models/AccountType.php+++ b/app/Models/AccountType.php@@ -41,6 +41,9 @@ class AccountType extends Modelconst RECONCILIATION = 'Reconciliation account';const LOAN = 'Loan';+ /** @var array */+ protected $fillable = ['type'];+/*** The attributes that should be casted to native types.*diff --git a/app/Models/TransactionType.php b/app/Models/TransactionType.phpindex 33f5dc58eb..9668384b2f 100644--- a/app/Models/TransactionType.php+++ b/app/Models/TransactionType.php@@ -39,6 +39,9 @@ class TransactionType extends Modelconst OPENING_BALANCE = 'Opening balance';const RECONCILIATION = 'Reconciliation';+ /** @var array */+ protected $fillable = ['type'];+/*** The attributes that should be casted to native types.*