Skip to content

Sea ORM

Sea ORM CLI install

(must use async-std, even though we use tokio)

cargo install --no-default-features --features runtime-async-std-rustls,codegen,cli,async-std sea-orm-cli

Regenerate entities after schema changes

Terminal window
sea-orm-cli generate entity -o zack/src/entity