Filament ignoring foreign key constraints
Pretty simple, i have a foreign key constraint on a table, but filament is able to delete records i'm not allowed to delete in the database? Is there some sort of option I need to enable?
filament is able to delete records i'm not allowed to delete
$table->foreign('store_id')->references('id')->on('stores')->onDelete('restrict');
$table->foreign('organization_id')->references('id')->on('organizations')->onDelete('restrict');