migrated DB from sqlite3 to Postgres