Switch to sqlite database