You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command to create a new script under migrations folder:
sqlx migrate add create_subscriptions_table
When you want to see all logs coming out of a certain test case to debug it you can run
# We are using the `bunyan` CLI to prettify the outputted logs# The original `bunyan` requires NPM, but you can install a Rust-port with# `cargo install bunyan`
TEST_LOG=true cargo test health_check_works | bunyan
It must be invoked as a cargo subcommand All options after -- are passed to cargo itself
We need to point it at our library since it contains all our SQL queries.
cargo sqlx prepare -- --lib
Build a docker image tagged as "email-newsletter-rust" according to the recipe specified in Dockerfile