typo
Database: fixed inserting into table without primary key [Closes #1069]
tests: SQL dumps cleanup
Merge pull request #1072 from milo/database-fixes

Database fixes