Update MySQL. Honour table and index prefixes. Make index name more specific

Add unique index on key for SQLite

Delete old cache.sql file from root
Merge pull request #28 from reedy/sqlcleanup

Update MySQL. Honour table and index prefixes. Make index name more spec...