Update date related code to fix several issues with SQLite

This commit is contained in:
James Cole
2018-02-04 09:22:52 +01:00
parent 36f67793cb
commit 089300d57e
6 changed files with 24 additions and 22 deletions

View File

@@ -43,8 +43,6 @@ class BudgetLimit extends Model
'end_date' => 'date',
'repeats' => 'boolean',
];
/** @var array */
protected $dates = ['start_date', 'end_date'];
/**
* @param string $value

View File

@@ -62,8 +62,7 @@ class TransactionJournal extends Model
'encrypted' => 'boolean',
'completed' => 'boolean',
];
/** @var array */
protected $dates = ['date', 'interest_date', 'book_date', 'process_date'];
/** @var array */
protected $fillable
= ['user_id', 'transaction_type_id', 'bill_id', 'interest_date', 'book_date', 'process_date',