I accidentally upgraded Confluence from 5.9.10 to 6.3.3 while the database was unavailable, and now the atlassian-confluence.log file shows SQL exceptions, like these ones:
ERROR: relation "auditrecord" does not exist
...
ERROR: column space1_.lowerspacekey does not exist
Is there a way to fix the database scheme?