Skip to content

Commit

Permalink
Support various UUID formats that are available in uuid::fmt module (
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Feb 2, 2023
1 parent 4d95e3c commit 5f05e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeaORM/docs/04-generate-entity/02-entity-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ For the mappings of Rust non-primitive data types. You can check [`entity/prelud
| `DateTime`: chrono::NaiveDateTime <br/>`TimeDateTime`: time::PrimitiveDateTime | DateTime | text | datetime | timestamp |
| `DateTimeLocal`: chrono::DateTime&lt;Local&gt; <br/>`DateTimeUtc`: chrono::DateTime&lt;Utc&gt; | Timestamp | text | timestamp | N/A |
| `DateTimeWithTimeZone`: chrono::DateTime&lt;FixedOffset&gt; <br/>`TimeDateTimeWithTimeZone`: time::OffsetDateTime | TimestampWithTimeZone | text | timestamp | timestamp with time zone |
| `Uuid`: uuid::Uuid | Uuid | text | binary(16) | uuid |
| `Uuid`: uuid::Uuid, uuid::fmt::Braced, uuid::fmt::Hyphenated, uuid::fmt::Simple, uuid::fmt::Urn | Uuid | text | binary(16) | uuid |
| `Json`: serde_json::Value | Json | text | json | json |
| `Decimal`: rust_decimal::Decimal | Decimal | real | decimal | decimal |

Expand Down

0 comments on commit 5f05e84

Please sign in to comment.