mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
Add migrate! macro for embedded migrations
This commit is contained in:
@@ -50,7 +50,7 @@ pub async fn info(uri: &str) -> anyhow::Result<()> {
|
||||
} else {
|
||||
style("pending").yellow()
|
||||
},
|
||||
migration.description(),
|
||||
migration.description,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ pub async fn run(uri: &str) -> anyhow::Result<()> {
|
||||
"{}/{} {} {}",
|
||||
style(migration.version()).cyan(),
|
||||
style("migrate").green(),
|
||||
migration.description(),
|
||||
migration.description,
|
||||
style(format!("({:?})", elapsed)).dim()
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user