Database schema is upgraded to version 5. Legacy event and pubkey tables are dropped, and indexes are added for NIP-05 verification.