Closed backdevelopend closed 6 months ago
In my translations table I need unique name with locale. How can I validate this?
public function rules(): array { return RuleFactory::make([ '%name%' => ['required', Rule::unique('table_translations', 'name')->where('locale', ????)] ]) }
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days
In my translations table I need unique name with locale. How can I validate this?