Fix up database table automatic creation.