Get ponies version from db