sea-orm
                                
                                
                                
                                    sea-orm copied to clipboard
                            
                            
                            
                        🐚 An async & dynamic ORM for Rust
## Description After successfully importing the entity for a table containing a VarBinary(16) field, I am unable to build due to an error originating from the DeriveEntityModel derive in the...
## Description When saving a value of type `DateTimeUtc` in the database, an incorrect format is used. This prevents, e.g., the comparison between `CURRENT_TIMESTAMP` and the value. Additionally, it causes...
## Changes - Streamlines rocket-okapi-example: - Removes unused/unneeded dependencies - Properly utilizes modern workspace features - Formats and sorts `Cargo.toml`s
## Description Dependabot complains on a vulnerability in `rsa`, a recursive dependency of SeaORM. This is a link to the issue: https://rustsec.org/advisories/RUSTSEC-2023-0071.html Vulnerability location: ``` ├── sea-orm v0.12.15 │ ├──...
## Description When trying to roll back migration with drop statement which includes more than one table with SQLite, it fails with `Execution Error: error returned from database: (code: 1)...
## Description ## Steps to Reproduce 1. Create table with: ```sql CREATE TABLE IF NOT EXISTS heart_rate ( unix BIGINT NOT NULL primary key, heart_rate smallint NOT NULL, rr TEXT...
## Description This may seem like a micro-optimisation, but establishing transactions with calls similar to this, causes two statements to be submitted to the DB where one would suffice: ```rust...
## Description At least for Postgres (I have no experience with other databases) enums are ordered by definition order, but sea-orm-cli generate generates enums in alphabetical order. This is particularly...
## New Features Allow customizing the migration directory in `sea-orm-migration` CLI. This allow embedding migrations to an existing crate (and/or inside a subdirectory) instead of enforcing a separate crate. This...
```rust panicked at /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sea-query-0.30.7/src/value.rs:256:27: called `Result::unwrap()` on an `Err` value: ValueTypeErr ``` ```rust // let entries: Vec = .. ; let decimals: Vec = entries .iter() .map(|x| Value::Decimal(x.map(|x| Box::new(x)))) .collect();...