mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Fixed some database migration stuff.
This commit is contained in:
@@ -9,4 +9,14 @@ use Illuminate\Database\Eloquent\Model;
|
||||
*/
|
||||
class Component extends Model
|
||||
{
|
||||
protected $fillable = ['user_id', 'name', 'class'];
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getDates()
|
||||
{
|
||||
return ['created_at', 'updated_at', 'deleted_at'];
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user