Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli "reflect" command #31

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 61 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ ormlite = { version = "0.18", path = "../ormlite" }
ormlite-core = { version = "0.18", path = "../core" }
ormlite-attr = { version = "0.18", path = "../attr" }
tokio = { version = "1", features = ["full"] }
sqlmo = { version = "0.17.0", features = ["tracing"] }
sqlmo_sqlx = "0.17.0"
sqlmo = { version = "0.17", features = ["tracing"] }
sqlx = { version = "0.7" }
sqlmo_sqlx = "0.17"
syn = "2"
proc-macro2 = "1"
url = "2"
Expand All @@ -37,6 +38,10 @@ regex = "1"
colored = "2"
tracing-subscriber = "0.3"
tracing = "0.1"
itertools = "0.11"
heck = "0.4"
quote = "1"
rust-format = { version = "0.3", features = [ "token_stream", "pretty_please" ] }

[dev-dependencies]
assert_matches = "1"
4 changes: 3 additions & 1 deletion cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ mod migrate;
mod up;
mod down;
mod init;
mod reflect;

pub use migrate::*;
pub use up::*;
pub use down::*;
pub use init::*;
pub use init::*;
pub use reflect::*;
Loading
Loading