protected function onObjectDeleted(Model $object) { $schema = $object->getSchema(); self::executeStatement("DELETE FROM `{$schema->schemaName}` WHERE `{$schema->uniqueIdentifierColumnName}` = :primary", ["primary" => $object->UniqueIdentifier]); }