mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Add todo
This commit is contained in:
parent
5ebf013d4e
commit
37d65dac3d
|
@ -24,6 +24,8 @@ class ReportTemplate extends Model
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $rules = [
|
protected $rules = [
|
||||||
|
// @todo: this should probably be unique for each user so people don't get errors trying to use a name someone else already used...
|
||||||
|
// @todo: but enabling shared reports in the future would mean we would have name collisions then...
|
||||||
'name' => 'required|unique:report_templates,name',
|
'name' => 'required|unique:report_templates,name',
|
||||||
'options' => 'array',
|
'options' => 'array',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue