Updated models and tests to match.

This commit is contained in:
James Cole
2015-02-07 12:15:53 +01:00
parent 72e72c60c2
commit 07ad43f7a2
26 changed files with 86 additions and 14 deletions

View File

@@ -24,4 +24,8 @@ class PiggyBank extends Model
{
return $this->morphMany('FireflyIII\Models\Reminder', 'remindersable');
}
public function getDates()
{
return ['created_at', 'updated_at','deleted_at','startdate','targetdate'];
}
}