getKey(); DB::table('form_field_bindings') ->where('owner_type', $ownerType) ->where('owner_id', $ownerId) ->delete(); if (Schema::hasTable('form_field_validation_rules')) { DB::table('form_field_validation_rules') ->where('owner_type', $ownerType) ->where('owner_id', $ownerId) ->delete(); } } }