Add todo
This commit is contained in:
parent
5ebf013d4e
commit
37d65dac3d
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ class ReportTemplate extends Model
|
|||
];
|
||||
|
||||
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',
|
||||
'options' => 'array',
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue