typos
Database: fixed support for tables without primary-key