Fix upgrade database thing.

This commit is contained in:
James Cole 2017-11-18 16:36:22 +01:00
parent e8e0a44cca
commit ee45cc2f73
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,9 @@ class AccountType extends Model
const RECONCILIATION = 'Reconciliation account'; const RECONCILIATION = 'Reconciliation account';
const LOAN = 'Loan'; const LOAN = 'Loan';
/** @var array */
protected $fillable = ['type'];
/** /**
* The attributes that should be casted to native types. * The attributes that should be casted to native types.
* *

View File

@ -39,6 +39,9 @@ class TransactionType extends Model
const OPENING_BALANCE = 'Opening balance'; const OPENING_BALANCE = 'Opening balance';
const RECONCILIATION = 'Reconciliation'; const RECONCILIATION = 'Reconciliation';
/** @var array */
protected $fillable = ['type'];
/** /**
* The attributes that should be casted to native types. * The attributes that should be casted to native types.
* *