fixes the creation of the database core
0.3.1