mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +00:00 
			
		
		
		
	Various bug fixes and extensions to test routine.
This commit is contained in:
		@@ -33,11 +33,13 @@ class Transaction extends Model
 | 
			
		||||
     * @var array
 | 
			
		||||
     */
 | 
			
		||||
    protected $casts
 | 
			
		||||
        = [
 | 
			
		||||
            'created_at' => 'date',
 | 
			
		||||
            'updated_at' => 'date',
 | 
			
		||||
            'deleted_at' => 'date',
 | 
			
		||||
            'identifier' => 'int',
 | 
			
		||||
                        = [
 | 
			
		||||
            'created_at'          => 'date',
 | 
			
		||||
            'updated_at'          => 'date',
 | 
			
		||||
            'deleted_at'          => 'date',
 | 
			
		||||
            'identifier'          => 'int',
 | 
			
		||||
            'encrypted'           => 'boolean', // model does not have these fields though
 | 
			
		||||
            'bill_name_encrypted' => 'boolean',
 | 
			
		||||
        ];
 | 
			
		||||
    protected $dates    = ['created_at', 'updated_at', 'deleted_at'];
 | 
			
		||||
    protected $fillable = ['account_id', 'transaction_journal_id', 'description', 'amount', 'identifier'];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user