ash_postgres v0.38.11 mix ash_postgres.drop View Source

Drop the storage for the given repository.

Examples

mix ash_postgres.drop
mix ash_postgres.drop -r MyApp.Api1,MyApp.Api2

Command line options

  • --apis - the apis who's repos should be dropped
  • -q, --quiet - run the command quietly
  • -f, --force - do not ask for confirmation when dropping the database. Configuration is asked only when :start_permanent is set to true (typically in production)
  • --force-drop - force the database to be dropped even if it has connections to it (requires PostgreSQL 13+)
  • --no-compile - do not compile before dropping
  • --no-deps-check - do not compile before dropping