Skip to content

Commit

Permalink
Make users revisionable
Browse files Browse the repository at this point in the history
  • Loading branch information
NFarrington committed Apr 18, 2018
1 parent 5713a4b commit d542cb2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ class User extends Model implements
{
use Authenticatable, Authorizable, Notifiable;

/**
* The attributes that are trackable.
*
* @var array
*/
protected $tracked = [
'first_name',
'last_name',
'email',
'email_verified',
'vatsim_sso_data',
'vatsim_status_data',
];

/**
* Indicates if the IDs are auto-incrementing.
*
Expand Down

0 comments on commit d542cb2

Please sign in to comment.