t1: moved application to postgres database