ent/doc: add indexes doc and example

Summary: Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1380

Reviewed By: alexsn

Differential Revision: D17075317

fbshipit-source-id: 021cb0bde3849af5a5d842b715a7b7dbd861c54f
This commit is contained in:
Ariel Mashraki
2019-08-27 12:13:46 -07:00
committed by Facebook Github Bot
parent 373769dfaf
commit e00a7d96a4
30 changed files with 3958 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
# City-Street Unique Index Example
In this example, we have a `City` with many `Street`s, and we want to set the
street name to be unique under each city.
### Generate Assets
```console
go generate ./...
```