# How many schema can we have in one dgraph

**URL:** <https://discuss.dgraph.io/t/how-many-schema-can-we-have-in-one-dgraph/2821>\
**Category:** Dgraph\
**Created:** [June 28, 2018, 8:32am UTC](https://discuss.dgraph.io/t/how-many-schema-can-we-have-in-one-dgraph/2821 "2018-06-28T08:32:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgupta](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rgupta](https://discuss.dgraph.io/u/rgupta)\
**Post date:** [June 28, 2018, 8:32am UTC](https://discuss.dgraph.io/t/how-many-schema-can-we-have-in-one-dgraph/2821/1 "2018-06-28T08:32:29Z")

</div>

Hi @karan28aug,  
can we have more than one schema in dgraph.

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [June 28, 2018, 2:21pm UTC](https://discuss.dgraph.io/t/how-many-schema-can-we-have-in-one-dgraph/2821/2 "2018-06-28T14:21:29Z")

</div>

No, but you can name predicates according to your need for separation:

> This would make virtually different schemas.

```auto
name.user: string @index(exact, fulltext) .
name.post: string @index(hash) .
name.board: string @index(term, fulltext) .

```

> instead of “name” for all nodes.
