class Illuminate / Database / Console / WipeCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

WipeCommand

Extends

Uses

Properties

protected

$name string

The console command name.

Default: 'db:wipe'
protected

$description string

The console command description.

Default: 'Drop all tables, views, and types'

Methods

public

handle ( ) : int

Execute the console command.

protected

dropAllTables ( $database ) : void

Drop all of the database tables.

Parameters

  • $database string
protected

dropAllViews ( $database ) : void

Drop all of the database views.

Parameters

  • $database string
protected

dropAllTypes ( $database ) : void

Drop all of the database types.

Parameters

  • $database string
protected

getOptions ( ) : array

Get the console command options.