SqlServerBuilder.php 395B

123456789101112131415161718192021
  1. <?php
  2. namespace Illuminate\Database\Schema;
  3. class SqlServerBuilder extends Builder
  4. {
  5. /**
  6. * Drop all tables from the database.
  7. *
  8. * @return void
  9. */
  10. public function dropAllTables()
  11. {
  12. $this->disableForeignKeyConstraints();
  13. $this->connection->statement($this->grammar->compileDropAllTables());
  14. $this->enableForeignKeyConstraints();
  15. }
  16. }