Skip to content

Commit

Permalink
Add enum type to datatypes client generation test
Browse files Browse the repository at this point in the history
  • Loading branch information
msfstef committed Apr 2, 2024
1 parent 95f291e commit c3ca593
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ model DataTypes {
float8 Float? @db.DoublePrecision
json Json?
bytea Bytes?
enum KindOfCategory?
relatedId Int?
related Dummy? @relation(fields: [relatedId], references: [id])
}
Expand All @@ -99,6 +100,12 @@ model Dummy {
timestamp DateTime? @db.Timestamp(3)
datatype DataTypes[]
}
enum KindOfCategory {
FIRST
SECOND
RANDOM
}
`

/**
Expand Down

0 comments on commit c3ca593

Please sign in to comment.