Initialize the sqlite database.