F
Filament23h 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'])
$table->unique(['column_1', 'column_2'])
How do I enforce this in my filament resource when creating or editing? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?