From ac6d49ed891f1fd996200fbbd582651bd7d6196d Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Wed, 22 Dec 2021 19:25:32 +0800 Subject: [PATCH] docs: unsigned integers (SeaQL/sea-orm#397) --- .../docs/03-generate-entity/02-entity-structure.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/SeaORM/docs/03-generate-entity/02-entity-structure.md b/SeaORM/docs/03-generate-entity/02-entity-structure.md index b33714b79af..7f85f7f022f 100644 --- a/SeaORM/docs/03-generate-entity/02-entity-structure.md +++ b/SeaORM/docs/03-generate-entity/02-entity-structure.md @@ -46,10 +46,14 @@ The column type will be derived automatically with the following mapping: | --------- | ------------- | | char | Char | | String | String | -| u8, i8 | TinyInteger | -| u16, i16 | SmallInteger | -| u32, i32 | Integer | -| u64, i64 | BigInteger | +| i8 | TinyInteger | +| u8 | TinyUnsigned | +| i16 | SmallInteger | +| u16 | SmallUnsigned | +| i32 | Integer | +| u32 | Unsigned | +| i64 | BigInteger | +| u64 | BigUnsigned | | f32 | Float | | f64 | Double | | bool | Boolean |