# Remove unused and undocumented binary schema type

**URL:** https://discuss.dgraph.io/t/remove-unused-and-undocumented-binary-schema-type/8440
**Category:** Dgraph
**Tags:** dgraph, status:accepted, kind:maintenance
**Created:** [April 26, 2019, 9:36pm UTC](https://discuss.dgraph.io/t/remove-unused-and-undocumented-binary-schema-type/8440 "2019-04-26T21:36:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)
#### Post date: [April 26, 2019, 9:36pm UTC](https://discuss.dgraph.io/t/remove-unused-and-undocumented-binary-schema-type/8440/1 "2019-04-26T21:36:20Z")

</div>

**Moved from GitHub [dgraph/3328](https://github.com/dgraph-io/dgraph/issues/3328)**

_Posted by_ [danielmai](https://github.com/danielmai):

#### What version of Dgraph are you using?

latest, master

#### Have you tried reproducing the issue with latest release?

Yes

#### Steps to reproduce the issue (command/config used to run Dgraph).

Alter the schema to set a predicate to a `binary` type.

#### Expected behaviour and actual result.

Dgraph no longer needs a `binary` type exposed as an available predicate type. They were originally sent as bytes from the client and are returned as base64-encoded strings in JSON responses. Everything that’s possible with binary types including custom tokenizers is already available for strings.
