FilamentF
Filament10mo ago
Grogu

Unique validation on 2 or more columns

In my model migration, I have a unique constraint between 2 columns:

$table->unique(['column_1', 'column_2'])


How do I enforce this in my filament resource when creating or editing?

Thanks!
Was this page helpful?