test app to move from sqlite3 to postgresql