Fixing database creation file