-
## Description
With 0.9, I had an enum in my migration defined with simple strings:
```
.col(
ColumnDef::new(SecondaryUser::Role)
.enumeration("role", ["owner", "admin", "collab…
-
## Description
Unable to generate an entity when an enum value starts with a number (basically when it is an invalid enum value).
I am trying to generate entities from an existing database (more p…
-
When a field is type `OffsetDatetime`, `to_string` method generates a truncated time instead of full precision.
quick example:
```rust
use sea_orm::{DbBackend, Set};
use sea_orm::entity::prelud…
-
Hi guys, I searched all over the places but I cannot find any docs/post/issue on how to change migrations table name.
Now I'm using
```rust
Migrator::up(&postgres_connection, None).await.unwrap…
-
Some users are looking for tools to help them assemble ERDDAP urls for use in their own workflows, while others would prefer to work at a higher, more opinionated level. I believe we can more cleanly …
-
Hey @goto-eof, thanks for adopting SeaORM!
It's our pleasure to see more inspirational projects were built on top of SeaORM :)
Let us know if you have any [feature recommendation](https://github.co…
-
## Motivation
Codegen has some problems:
1. If I'm running the generate entity without `-t`, codegen overwrites everything, including custom code I added to entities (for example, implementation f…
-
For some reason compiler (rustc 1.66.0) complains about not finding PaginatorTrait when used on EntityTrait (but works with actual entity).
```rust
use sea_orm::{Database, DbErr, EntityTrait, P…
-
## Motivation
When writing `sqlx` queries, to avoid using raw strings for column identifiers, the best way to write it is:
```rust
let query = Query::select()
.from(Users::Table)
.col…
-
ref link: https://www.dameng.com/view_61.html