Options (1)
-D, --database-urlbooleanDrop the specified database
Example:
sqlx database drop {{[-D|--database-url]}} {{database_url}}Examples (5)
Create the database specified in the `$DATABASE_URL` environment variable
sqlx database createDrop the specified database
sqlx database drop [-D|--database-url] database_urlCreate a new pair of up and down migration files with the given description in the "migrations" directory
sqlx migrate add -r migration_descriptionRun all pending migrations for the specified database
sqlx migrate run [-D|--database-url] database_urlRevert the latest migration for the specified database
sqlx migrate revert [-D|--database-url] database_urlmade by @shridhargupta | data from tldr-pages