lynxlevin

Results 3 comments of lynxlevin

Sea-orm version ``` [dependencies.sea-orm-migration] version = "~1.0" features = [ # Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI. # View the...

About the first error. Code ```rust use sea_orm::{EnumIter, Iterable}; use sea_orm_migration::prelude::*; #[derive(DeriveMigrationName)] pub struct Migration; #[async_trait::async_trait] impl MigrationTrait for Migration { async fn up(&self, manager: &SchemaManager) -> Result { manager...

The second error. Code: ```rust use sea_orm_migration::prelude::extension::postgres::Type; // No other changes to the code above. ``` Error: ``` Running `cargo run --manifest-path ./migration/Cargo.toml -- fresh -u postgresql://test_user:xxxxxx@localhost:5432/test` Compiling migration v0.1.0...