...moving from sqllite to postgres