mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-09 03:36:01 +00:00
feat: adds the setup command to the sqlx-cli
The reset command is the equivalent of `sqlx db create`, and `sqlx migrate run`.
This commit is contained in:
committed by
Austin Bonander
parent
916f1fccf2
commit
2e1658e08b
@@ -64,6 +64,8 @@ pub enum DatabaseCommand {
|
||||
#[clap(short)]
|
||||
yes: bool,
|
||||
},
|
||||
/// Creates the database specified in your DATABASE_URL and runs any pending migrations.
|
||||
Setup,
|
||||
}
|
||||
|
||||
/// Group of commands for creating and running migrations.
|
||||
|
||||
Reference in New Issue
Block a user