-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Tom suggested a simple CLI. I agree this would be useful for trivial projects where migrations are serializable as SQL.
- schemer-cli crate
- optional adapter trait for creating an adapter instance from command line args
- optional adapter trait for creating migrations from files in directories
- this could be based on a simple metadata TOML, or even just filenames like
[id].[one or more dependency ids].up.sqlfor Postgres adapter
- this could be based on a simple metadata TOML, or even just filenames like
- inclusion of each adapter would be a feature on the schemer-cli crate
Would make standalone use as trivial as
cargo install schemer-cli --features postgres
schemer -a postgres:'localhost/mydb' up [directory of migrations]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels