Comments (2)
Same with Postgres using the migration
.col(
ColumnDef::new(UploadedFile::Sha256).bit(Some(256))
)
Generates a bit(256)
in Postgres, then running sea-orm-cli generate
(1.0.0), I run into the same error, originated in this list where Bit is not mentionned.
I would be cool to have support for a fixed sized rust data type too!
from sea-orm.
Hey everyone, thanks for the report!! Could you please try the PR:
cargo install sea-orm-cli --force --git https://github.com/SeaQL/sea-orm --branch codegen-col-type-resolution
from sea-orm.
Related Issues (20)
- Regression of 1.0.0-rc.6 when inserting with binary column HOT 3
- `ValueTypeErr` crash when using `ArrayType::Decimal` that contains `None` entries
- Generated Rust enum ordering does not match underlying database enum ordering HOT 1
- Postgres: SET TRANSACTION ISOLATION LEVEL & ACCESS MODE could be combined into a single statement
- SQLite: Format of DateTimeUtc is wrong HOT 14
- mismatched types, sqlx_postgres::types::oid::Oid>` (as SQL type `OID`) is not compatible with SQL type `INT4` in PostgreSQL
- Vulnerability in the `rsa` (a recursive dependency of SeaORM) HOT 1
- Issue when using `on_conflict` with sqlite HOT 1
- Syntax error when trying to drop multiple tables in migrations with SQLite HOT 1
- does postgres int8 work? HOT 2
- [Testing] Error: `A null value was encountered while decoding "num_items"` when testing pagination and counting HOT 1
- support sqlx v0.8 HOT 1
- VarBinary(16) column breaks DeriveEntityModel derive
- sea-orm-cli 1.0 generate entity from mysql generates String for MediumBlob fields
- Timezone offset information lost when reading a ChronoDateTimeWithTimeZone HOT 1
- Cannot run sea-orm-cli with feature codegen without sqlite as a dependency HOT 1
- `schema::custom()` requires `col` and `name` to be of same type
- Vec<RoleEnum> in SeaORM Entity Model Causes Compilation Error HOT 1
- No reference to features list or alternate DB connectors in docs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sea-orm.