File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/laravel/framework/src/Illuminate/Database/Schema
Upload
[..]
Blueprint.php (55.54 KB)
Edit
Rename
Del
BlueprintState.php (7 KB)
Edit
Rename
Del
Builder.php (21.39 KB)
Edit
Rename
Del
ForeignIdColumnDefinition.php (1.62 KB)
Edit
Rename
Del
Grammars/
Rename
Del
MariaDbBuilder.php (99 B)
Edit
Rename
Del
MySqlBuilder.php (1.21 KB)
Edit
Rename
Del
SqlServerBuilder.php (875 B)
Edit
Rename
Del
Edit: SqlServerBuilder.php
<?php namespace Illuminate\Database\Schema; use Illuminate\Support\Arr; 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()); } /** * Get the default schema name for the connection. * * @return string|null */ public function getCurrentSchemaName() { return Arr::first($this->getSchemas(), fn ($schema) => $schema['default'])['name']; } }
Simpan