mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
New constant that defines which fields a journal query is expected to load.
This commit is contained in:
parent
a61eafeac2
commit
b00c7b0ce3
@ -49,6 +49,11 @@ class TransactionJournal extends Model
|
||||
{
|
||||
use SoftDeletes, ValidatingTrait;
|
||||
|
||||
/**
|
||||
* Fields which queries must load..
|
||||
*/
|
||||
const QUERYFIELDS = ['transaction_journals.*'];
|
||||
|
||||
/** @var array */
|
||||
protected $dates = ['created_at', 'updated_at', 'date', 'deleted_at', 'interest_date', 'book_date'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user