Schema::drop PHP Méthode

drop() public static méthode

Drop a table from the schema.
public static drop ( string $table ) : Illuminate\Database\Schema\Blueprint
$table string
Résultat Illuminate\Database\Schema\Blueprint
        public static function drop($table)
        {
            //Method inherited from \Illuminate\Database\Schema\Builder
            return \Illuminate\Database\Schema\MySqlBuilder::drop($table);
        }

Usage Example

 /**
  * Reverse the migrations.
  *
  * @return void
  */
 public function down()
 {
     Schema::drop('category_permission');
     Schema::drop('category_permission_role');
     Schema::drop('category_permission_permission');
     Schema::drop('category_permission_category');
 }
All Usage Examples Of Schema::drop