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