last state
configure to sqlite3 inside of postgres