Skip to content

Commit

Permalink
remove type definition docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasburk committed Sep 19, 2019
1 parent 917ce56 commit e0d1c7c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/data-modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,6 @@ enum Color {
}
```

## Type definitions

Type definitions use the `type` keyword. They can be used to consolidate various type specifications into a single type:

```
type Numeric = Float @pg.numeric(precision: 5, scale: 2)
@ms.decimal(precision: 5, scale: 2)
model User {
id Int @id
weight Numeric
}
```

## Attributes

Attributes modify the behavior of a [field](#fields) or block (e.g. [models](#models)). There are two ways to add attributes to your data model:
Expand Down

0 comments on commit e0d1c7c

Please sign in to comment.