🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing: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']; } }
Save Changes
Cancel
Create New File
Create New Folder