♻️ (seaorm): Adapta al arranque async
- Elimina `run_now` y convierte `initialize()` en `async fn`. - `DBCONN` pasa de `LazyLock` a `OnceLock`; `MigratorBase` adopta `#[pagetop::async_trait]` con métodos async nativos.
This commit is contained in:
parent
1139df6210
commit
9b2d430d8b
8 changed files with 94 additions and 100 deletions
|
|
@ -20,7 +20,6 @@ postgres = ["sea-orm/sqlx-postgres"]
|
|||
sqlite = ["sea-orm/sqlx-sqlite"]
|
||||
|
||||
[dependencies]
|
||||
async-trait.workspace = true
|
||||
pagetop.workspace = true
|
||||
sea-orm.workspace = true
|
||||
sea-schema.workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue