View file vendor/illuminate/database/Schema/SqlServerBuilder.php
<?php namespace Illuminate\Database\Schema; class SqlServerBuilder extends Builder { /** * Drop all tables from the database. * * @return void */ public function dropAllTables() { $this->disableForeignKeyConstraints(); $this->connection->statement($this->grammar->compileDropAllTables()); $this->enableForeignKeyConstraints(); } }