3. `is_pin` should be `bool`. but it is `i8`.
### Expected Behavior
<!-- What is expected to happen? -->
`is_pin` should be `bool`.
### Actual Behavior
`is_pin` is `i8`.
<!-- What actually happened? -->
### Reproduces How Often
<!-- Is it always reproducible? -->
### Workarounds
<!-- What experiments have you done to understand / workaround the bug? -->
## Reproducible Example
<!-- Please add a minimal reproducible example under https://github.com/SeaQL/sea-orm/tree/master/issues, and open a PR subsequently. -->
## Versions
<!-- You can get this information from the output of `cargo tree | grep sea-` from the console. Also, please include the database and OS that you are running. -->
Linux thinkgo 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Description
Steps to Reproduce
tinyint(1)
type in mysql. I usesea-orm-cli
v0.11.3use sea_orm::entity::prelude::*; use serde::{Deserialize, Serialize};
[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Serialize, Deserialize)]
[sea_orm(table_name = "dict")]
pub struct Model {
[sea_orm(primary_key)]
}
[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}
Linux thinkgo 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
│ ├── sea-orm v0.11.3 │ │ ├── sea-orm-macros v0.11.3 (proc-macro) │ │ ├── sea-query v0.28.4 │ │ │ ├── sea-query-derive v0.3.0 (proc-macro) │ │ ├── sea-query-binder v0.3.0 │ │ │ ├── sea-query v0.28.4 () │ │ ├── sea-strum v0.23.0 │ │ │ └── sea-strum_macros v0.23.0 (proc-macro) ├── sea-orm v0.11.3 () ├── sea-query v0.28.4 (*)