Skip to content

Commit bb506bb

Browse files
committed
Updating change log and docs for Schema::drop.
1 parent a92ab1c commit bb506bb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

laravel/documentation/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
- Fixed bug present when using Eloquent models with Twig.
5454
- Allow multiple views to be registered for a single composer.
5555
- Added `Request::set_env` method.
56+
- `Schema::drop` now accepts `$connection` as second parameter.
5657

5758
<a name="upgrade-3.2"></a>
5859
## Upgrading From 3.1

laravel/documentation/database/schema.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Let's go over this example. The **create** method tells the Schema builder that
3737

3838
Schema::drop('users');
3939

40+
#### Dropping a table from a given database connection:
41+
42+
Schema::drop('users', 'connection_name');
43+
4044
Sometimes you may need to specify the database connection on which the schema operation should be performed.
4145

4246
#### Specifying the connection to run the operation on:

0 commit comments

Comments
 (0)