I see you've reused the zscan DB schema. It's a good choice, we used it to inspire our schema too.
We went a bit beyond because we also store ciphersuites (from cipherscan) and chains of trusts, so the DB schema had to be more relational than what zscan uses.