mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-27 13:46:32 +00:00
Add ignore_missing parameter
This commit is contained in:
committed by
Ryan Leckey
parent
8950332ca3
commit
85ff651ba1
@@ -111,6 +111,10 @@ pub enum MigrateCommand {
|
||||
/// List all the migrations to be run without applying
|
||||
#[clap(long)]
|
||||
dry_run: bool,
|
||||
|
||||
/// Ignore applied migrations that missing in the resolved migrations
|
||||
#[clap(long)]
|
||||
ignore_missing: bool,
|
||||
},
|
||||
|
||||
/// Revert the latest migration with a down file.
|
||||
@@ -118,6 +122,10 @@ pub enum MigrateCommand {
|
||||
/// List the migration to be reverted without applying
|
||||
#[clap(long)]
|
||||
dry_run: bool,
|
||||
|
||||
/// Ignore applied migrations that missing in the resolved migrations
|
||||
#[clap(long)]
|
||||
ignore_missing: bool,
|
||||
},
|
||||
|
||||
/// List all available migrations.
|
||||
|
||||
Reference in New Issue
Block a user