Fix the sqlite DB-creation scripts