formatted database code, renamed sqlite target file