Making board statistics compatible with pgsql