database swtiched to from postgres to sqlite3