Add dialects

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
m.nabokikh
2021-09-13 17:48:02 +04:00
parent eae3219e4d
commit fb38e1235d
64 changed files with 1198 additions and 596 deletions

View File

@@ -40,7 +40,8 @@ func (DeviceRequest) Fields() []ent.Field {
NotEmpty(),
field.JSON("scopes", []string{}).
Optional(),
field.Time("expiry"),
field.Time("expiry").
SchemaType(timeSchema),
}
}