Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ahsanullah's avatar

php artisan db:wipe means?

php artisan db:wipe means?

0 likes
1 reply
Tray2's avatar

Drop all tables, views, and types

php artisan help db:wipe
Description:
  Drop all tables, views, and types

Usage:
  db:wipe [options]

Options:
      --database[=DATABASE]  The database connection to use
      --drop-views           Drop all tables and views
      --drop-types           Drop all tables and types (Postgres only)
      --force                Force the operation to run when in production
  -h, --help                 Display help for the given command. When no command is given display help for the list command
  -q, --quiet                Do not output any message
  -V, --version              Display this application version
      --ansi|--no-ansi       Force (or disable --no-ansi) ANSI output
  -n, --no-interaction       Do not ask any interactive question
      --env[=ENV]            The environment the command should run under
  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
1 like

Please or to participate in this conversation.