This commit is contained in:
stasbilay02 committed 2024-07-03 14:41:15 +03:00
commit ec69208f05
1892 files changed
+181728

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?php
namespace Illuminate\Database\Schema;
class SqlServerBuilder extends Builder
{
/**
* Drop all tables from the database.
*
* @return void
*/
public function dropAllTables()
{
$this->connection->statement($this->grammar->compileDropAllForeignKeys());
$this->connection->statement($this->grammar->compileDropAllTables());
}
/**
* Drop all views from the database.
*
* @return void
*/
public function dropAllViews()
{
$this->connection->statement($this->grammar->compileDropAllViews());
}
}