SongRepository uses Entity Framework Core instead of hand-written SQL. The table and column names stay the same, so existing libraries open unchanged. The duration rule moves into the repository, and a duplicate Openverse id now surfaces as DbUpdateException. Libraries from before the Openverse import, which lack the OpenverseId column, are no longer upgraded. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>