changed to sqlite3 and modified migrations